8 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\GotoTest.cs (2)
1149
var symbol = model.
GetDeclaredSymbol
(label);
1162
var symbol = model.
GetDeclaredSymbol
(label);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\ScriptSemanticsTests.cs (1)
523
var symbol0 = model.
GetDeclaredSymbol
((LabeledStatementSyntax)statements[0]);
Semantics\TopLevelStatementsTests.cs (5)
2427
var declSymbol = model1.
GetDeclaredSymbol
(labelDecl);
4896
var label = model.
GetDeclaredSymbol
(declarator);
4950
var symbol1 = model1.
GetDeclaredSymbol
(tree1.GetRoot().DescendantNodes().OfType<LabeledStatementSyntax>().Single());
4956
var symbol2 = model2.
GetDeclaredSymbol
(tree2.GetRoot().DescendantNodes().OfType<LabeledStatementSyntax>().Single());
4981
var label = model.
GetDeclaredSymbol
(declarator);