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