39 references to Empty
Microsoft.CodeAnalysis.Workspaces (39)
Classification\ClassifierHelper.cs (1)
257using var tempBuffer = TemporaryArray<TClassifiedSpan>.Empty;
CodeActions\CodeAction.cs (1)
428using var result = TemporaryArray<CodeActionOperation>.Empty;
CodeFixes\FixAllOccurrences\TextChangeMerger.cs (2)
84using var overlappingSpans = TemporaryArray<TextChange>.Empty; 85using var intersectingSpans = TemporaryArray<TextChange>.Empty;
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (4)
272using var aliasSymbols = TemporaryArray<IAliasSymbol>.Empty; 751using var additionalProperties = TemporaryArray<(string key, string value)>.Empty; 779using var additionalProperties = TemporaryArray<(string key, string value)>.Empty; 871using var result = TemporaryArray<string>.Empty;
FindSymbols\SymbolTree\SymbolTreeInfo.cs (6)
170using var similarNames = TemporaryArray<string>.Empty; 171using var result = TemporaryArray<ISymbol>.Empty; 219using var results = TemporaryArray<ISymbol>.Empty; 414using var containerSymbols = TemporaryArray<ISymbol>.Empty; 503using var builder = TemporaryArray<INamedTypeSymbol>.Empty; 504using var tempBuilder = TemporaryArray<ISymbol>.Empty;
FindSymbols\SyntaxTree\SyntaxTreeIndex_Forwarders.cs (1)
60using var result = TemporaryArray<string>.Empty;
Options\GlobalOptionService.cs (1)
130using var values = TemporaryArray<object?>.Empty;
PatternMatching\ContainerPatternMatcher.cs (1)
63using var tempContainerMatches = TemporaryArray<PatternMatch>.Empty;
PatternMatching\PatternMatcher.cs (3)
166using var candidateHumps = TemporaryArray<TextSpan>.Empty; 397using var tempMatches = TemporaryArray<PatternMatch>.Empty; 534using var matchSpans = TemporaryArray<TextSpan>.Empty;
PatternMatching\PatternMatcher.TextChunk.cs (1)
46PatternHumps = TemporaryArray<TextSpan>.Empty;
PatternMatching\PatternMatcherExtensions.cs (1)
14using var matches = TemporaryArray<PatternMatch>.Empty;
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (3)
94return Empty; 226this = Empty; 319this = Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\IntervalTreeAlgorithms`2.cs (1)
23using var result = TemporaryArray<T>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolInfoExtensions.cs (1)
31using var result = TemporaryArray<ISymbol>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
405using var parts = TemporaryArray<TextSpan>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\InterceptsLocationUtilities.cs (1)
32using var result = TemporaryArray<InterceptsLocationData>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (3)
79using var equivalenceVisitors = TemporaryArray<EquivalenceVisitor>.Empty; 80using var getHashCodeVisitors = TemporaryArray<GetHashCodeVisitor>.Empty; 217using var builder = TemporaryArray<INamedTypeSymbol>.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
127using var statements = TemporaryArray<SyntaxNode>.Empty; 373using var parts = TemporaryArray<TextSpan>.Empty;
Utilities\SpellChecker.cs (1)
27using var result = TemporaryArray<string>.Empty;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
180using var generatedDocumentsBuilder = TemporaryArray<SourceGeneratedDocumentState>.Empty; 291using var generatedDocumentsBuilder = TemporaryArray<SourceGeneratedDocumentState>.Empty;
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
88using var generators = TemporaryArray<ISourceGenerator>.Empty;
Workspace\Solution\SolutionState.cs (1)
1180using var result = TemporaryArray<DocumentId>.Empty;