4 references to DefinitionKey
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
FindReferences\FindReferencesTests.vb (4)
85
workspace.Documents.Where(Function(d) d.AnnotatedSpans.ContainsKey(
DefinitionKey
) AndAlso d.AnnotatedSpans(
DefinitionKey
).Any()).
88
d.Name, d.AnnotatedSpans(
DefinitionKey
).ToList())).ToList()
281
Dim expected = If(doc.AnnotatedSpans.TryGetValue(
DefinitionKey
, spans), spans, ImmutableArray(Of TextSpan).Empty).Order()