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