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