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