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