17 references to GetSymbolInfo
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSemanticFacts.cs (1)
341return semanticModel.GetSymbolInfo(baseType, cancellationToken).GetBestOrAllSymbols();
Microsoft.CodeAnalysis.CSharp.Features (1)
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProvider.cs (1)
101var currentConstructor = semanticModel.GetSymbolInfo(baseTypeSyntax, cancellationToken).Symbol;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\PrimaryConstructorTests.cs (7)
983Assert.Equal("Base..ctor(System.Int32 X, System.Int32 Y)", CSharpExtensions.GetSymbolInfo(model, baseWithargs).Symbol.ToTestDisplayString()); 993Assert.Equal("Base..ctor(System.Int32 X, System.Int32 Y)", CSharpExtensions.GetSymbolInfo(model, baseWithargs).Symbol.ToTestDisplayString()); 2023symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs); 2042symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs); 2074Assert.Equal("Base..ctor(System.Int32 X)", CSharpExtensions.GetSymbolInfo(speculativeModel, speculativePrimaryInitializer).Symbol.ToTestDisplayString()); 2085Assert.Equal("Base..ctor(System.Int32 X)", CSharpExtensions.GetSymbolInfo(speculativeModel, speculativePrimaryInitializer).Symbol.ToTestDisplayString()); 2200symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs);
Semantics\RecordTests.cs (7)
21174Assert.Equal("Base..ctor(System.Int32 X, System.Int32 Y)", CSharpExtensions.GetSymbolInfo(model, baseWithargs).Symbol.ToTestDisplayString()); 21184Assert.Equal("Base..ctor(System.Int32 X, System.Int32 Y)", CSharpExtensions.GetSymbolInfo(model, baseWithargs).Symbol.ToTestDisplayString()); 22254symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs); 22273symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs); 22305Assert.Equal("Base..ctor(System.Int32 X)", CSharpExtensions.GetSymbolInfo(speculativeModel, speculativePrimaryInitializer).Symbol.ToTestDisplayString()); 22316Assert.Equal("Base..ctor(System.Int32 X)", CSharpExtensions.GetSymbolInfo(speculativeModel, speculativePrimaryInitializer).Symbol.ToTestDisplayString()); 22431symbolInfo = CSharpExtensions.GetSymbolInfo(model, baseWithargs);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpSemanticFacts.cs (1)
341return semanticModel.GetSymbolInfo(baseType, cancellationToken).GetBestOrAllSymbols();