18 references to ResolveSymbol
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (18)
SymbolKey\SymbolKeyCompilationsTests.cs (17)
136
Assert.Equal(definition,
ResolveSymbol
(definition, comp, SymbolKeyComparison.None));
137
Assert.Equal(implementation,
ResolveSymbol
(implementation, comp, SymbolKeyComparison.None));
163
Assert.Equal(definition,
ResolveSymbol
(definition, comp, SymbolKeyComparison.None));
164
Assert.Equal(implementation,
ResolveSymbol
(implementation, comp, SymbolKeyComparison.None));
191
Assert.Equal(definition,
ResolveSymbol
(definition, comp, SymbolKeyComparison.None));
192
Assert.Equal(implementation,
ResolveSymbol
(implementation, comp, SymbolKeyComparison.None));
234
Assert.Equal(indexer1,
ResolveSymbol
(indexer1, compilation, SymbolKeyComparison.None));
235
Assert.Equal(indexer2,
ResolveSymbol
(indexer2, compilation, SymbolKeyComparison.None));
581
Assert.Null(
ResolveSymbol
(typeSym02, comp1, SymbolKeyComparison.None));
600
Assert.NotNull(
ResolveSymbol
(sym1, comp2, SymbolKeyComparison.IgnoreAssemblyIds));
609
Assert.NotNull(
ResolveSymbol
(sym2, comp1, SymbolKeyComparison.IgnoreAssemblyIds));
627
Assert.Null(
ResolveSymbol
(assembly2, compilation1, SymbolKeyComparison.None));
633
Assert.Null(
ResolveSymbol
(assembly2, compilation1, SymbolKeyComparison.IgnoreAssemblyIds));
641
Assert.Null(
ResolveSymbol
(module1, compilation2, SymbolKeyComparison.None));
644
Assert.Null(
ResolveSymbol
(module2, compilation1, SymbolKeyComparison.IgnoreAssemblyIds));
671
var resolved =
ResolveSymbol
(sym2, comp1, SymbolKeyComparison.None);
675
Assert.Null(
ResolveSymbol
(sym2, comp1, SymbolKeyComparison.IgnoreAssemblyIds));
SymbolKey\SymbolKeyTestBase.cs (1)
71
var resolvedSymbol =
ResolveSymbol
(symbol1, compilation2, comparison);