4 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\TopLevelStatementsTests.cs (4)
237
Assert.Same(declSymbol.ContainingSymbol, model1.
GetDeclaredSymbol
(unit1));
321
var refMethod = model1.
GetDeclaredSymbol
(unit1);
357
var declMethod = model2.
GetDeclaredSymbol
(unit2);
1869
Assert.Null(model2.
GetDeclaredSymbol
((CompilationUnitSyntax)tree2.GetRoot()));