8 references to GetDeclaredSymbol
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenTupleEqualityTests.cs (3)
707
Assert.Equal("(System.String, System.Int64)", model.
GetDeclaredSymbol
(tuple1).ToTestDisplayString());
791
Assert.Equal("(System.Int32, System.Int32)", model.
GetDeclaredSymbol
(tuple).ToTestDisplayString());
1546
Assert.Equal("(System.String, System.String)", model.
GetDeclaredSymbol
(nestedTuple).ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (5)
4801
var type = (INamedTypeSymbol)model.
GetDeclaredSymbol
(decl);
4824
var type = (INamedTypeSymbol)model.
GetDeclaredSymbol
(decl);
4847
var type = (INamedTypeSymbol)model.
GetDeclaredSymbol
(decl);
4870
var type = (INamedTypeSymbol)model.
GetDeclaredSymbol
(decl);
4893
var type = (INamedTypeSymbol)model.
GetDeclaredSymbol
(decl);