1 write to SourceSpans
Microsoft.CodeAnalysis.Features (1)
FindUsages\DefinitionItem.cs (1)
130
SourceSpans
= sourceSpans.NullToEmpty();
5 references to SourceSpans
Microsoft.CodeAnalysis.Features (5)
FindUsages\DefinitionItem.cs (2)
93
/// Precomputed classified spans for the corresponding <see cref="
SourceSpans
"/>.
278
=> new(Tags, DisplayParts, NameDisplayParts,
SourceSpans
.SelectAsArray(ss => (DocumentIdSpan)ss), MetadataLocations, Properties, DisplayableProperties, DisplayIfNoReferences);
FindUsages\DefinitionItem.DefaultDefinitionItem.cs (1)
58
return await
SourceSpans
[0].GetNavigableLocationAsync(cancellationToken).ConfigureAwait(false);
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
566
var projectState = definition.
SourceSpans
.Length > 0
567
? definition.
SourceSpans
[0].Document.Project.State