Skip to content

Commit a2c4f7c

Browse files
committed
Simplify
1 parent 7bc7478 commit a2c4f7c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ private ImmutableArray<ISymbol> LookupSymbolsInternal(
16871687
}
16881688

16891689
if (name == null)
1690-
results.RemoveAll(static (symbol, _, _) => !symbol.CanBeReferencedByName, arg: 0);
1690+
results.RemoveAll(static (symbol, _) => !symbol.CanBeReferencedByName, arg: 0);
16911691

16921692
return results.ToImmutableAndFree();
16931693
}

src/Compilers/Core/Portable/Collections/ArrayBuilderExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if COMPILERCORE
65
using Microsoft.CodeAnalysis.PooledObjects;
76
using Roslyn.Utilities;
87

@@ -33,4 +32,3 @@ public static void AddRange<T>(this ArrayBuilder<T> builder, OneOrMany<T> items)
3332
}
3433
}
3534
}
36-
#endif

0 commit comments

Comments
 (0)