7 references to SingletonCollection
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
113SpecializedCollections.SingletonCollection(CommonFormattingHelpers.GetFormattingSpan(root, span.Value)),
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (2)
393nodes: SpecializedCollections.SingletonCollection(baseObjectCreationExpressionNode), 395tokens: SpecializedCollections.SingletonCollection(nextToken),
Microsoft.CodeAnalysis.EditorFeatures (1)
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (1)
387OnTagsChangedForBuffer(SpecializedCollections.SingletonCollection(
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticServiceTests.vb (2)
333p1 = p1.WithAnalyzerReferences(SpecializedCollections.SingletonCollection(New AnalyzerImageReference(ImmutableArray.Create(analyzer1)))) 337p2 = p2.WithAnalyzerReferences(SpecializedCollections.SingletonCollection(New AnalyzerImageReference(ImmutableArray.Create(analyzer2))))
Microsoft.CodeAnalysis.Workspaces (1)
AbstractTypeInferenceService.AbstractTypeInferrer.cs (1)
116return SpecializedCollections.SingletonCollection(new TypeInferenceInfo(elementType));