Apply enforced file scoped namespacing

This commit is contained in:
Archangel
2025-07-31 15:23:32 +02:00
parent aec8420d53
commit cec47fefd2
39 changed files with 2466 additions and 2513 deletions
@@ -1,13 +1,12 @@
namespace SPTarkov.Server.Core.Extensions
{
public static class UtilityExtensions
{
public static IEnumerable<T> IntersectWith<T>(this IEnumerable<T> first, IEnumerable<T> second)
{
//a.Intersect(x => b.Contains(x)).ToList();
// gives error Delegate type could not be inferred
namespace SPTarkov.Server.Core.Extensions;
return first.Where(second.Contains);
}
public static class UtilityExtensions
{
public static IEnumerable<T> IntersectWith<T>(this IEnumerable<T> first, IEnumerable<T> second)
{
//a.Intersect(x => b.Contains(x)).ToList();
// gives error Delegate type could not be inferred
return first.Where(second.Contains);
}
}