13 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenTupleTest.cs (2)
24269var xSymbol = model.GetDeclaredSymbol(tree.GetRoot().DescendantNodes().OfType<ForEachStatementSyntax>().Single()); 24332var xSymbol = model.GetDeclaredSymbol(tree.GetRoot().DescendantNodes().OfType<ForEachStatementSyntax>().Single());
CodeGen\ForeachTest.cs (1)
1688var local = (SourceLocalSymbol)model.GetDeclaredSymbol(decl).GetSymbol<LocalSymbol>();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\ForEachTests.cs (2)
2886var localSymbol = model.GetDeclaredSymbol(foreachSyntax); 3424Assert.Null(model.GetDeclaredSymbol(node));
Semantics\RefFieldTests.cs (4)
14599var locals = decls.Select(d => model.GetDeclaredSymbol(d).GetSymbol<LocalSymbol>()).ToArray(); 15052var locals = decls.Select(d => model.GetDeclaredSymbol(d).GetSymbol<LocalSymbol>()).ToArray(); 15078var locals = decls.Select(d => model.GetDeclaredSymbol(d).GetSymbol<LocalSymbol>()).ToArray(); 15133var locals = decls.Select(d => model.GetDeclaredSymbol(d).GetSymbol<LocalSymbol>()).ToArray();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\SemanticModelAPITests.cs (1)
242Assert.Same(model.GetDeclaredSymbol(rxDecl), rxSymbol);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
40ILocalSymbol rx = model.GetDeclaredSymbol(rxDecl);
Symbols\Source\NullablePublicAPITests.cs (2)
2462var symbol = model.GetDeclaredSymbol(foreachStatement); 2510var symbol = model.GetDeclaredSymbol(variable);