31 references to GetSymbolInfo
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
364var attributeTypeSymbol = semanticModel.GetSymbolInfo(attribute, cancellationToken).GetAnySymbol();
RouteEmbeddedLanguage\Infrastructure\RouteStringSyntaxDetector.cs (1)
480var symbols = GetBestOrAllSymbols(semanticModel.GetSymbolInfo(invocableExpression, cancellationToken));
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (1)
HubServerProxyGenerator.Parser.cs (1)
39var attributeSymbol = context.SemanticModel.GetSymbolInfo(attributeSyntax).Symbol;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\AttributeArgumentSyntaxExtensions.cs (1)
39var symbols = semanticModel.GetSymbolInfo(invocableExpression, cancellationToken).GetBestOrAllSymbols();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
140return semanticModel.GetSymbolInfo(attribute);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\LambdaTests.cs (1)
3951var symbol = model.GetSymbolInfo(attributeSyntax).Symbol;
Semantics\LocalFunctionTests.cs (2)
1028var symbol = model.GetSymbolInfo(attributeSyntax).Symbol.GetSymbol<MethodSymbol>(); 1061var attrConstructor = (IMethodSymbol)model.GetSymbolInfo(attrSyntax).Symbol;
Semantics\LookupTests.cs (1)
2123var symbol = model.GetSymbolInfo(node);
Semantics\NonTrailingNamedArgumentsTests.cs (1)
987model.GetSymbolInfo(invocation).Symbol.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\SemanticModelAPITests.cs (1)
3550var symbolInfo = model2.GetSymbolInfo(attr2);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (9)
3969var symbolInfo = model.GetSymbolInfo(attr); 4256var symbolInfo = speculativeModel.GetSymbolInfo(attr1); 4267symbolInfo = speculativeModel.GetSymbolInfo(attr2); 4284symbolInfo = speculativeModel.GetSymbolInfo(attr3); 4306symbolInfo = speculativeModel.GetSymbolInfo(attr4); 4317symbolInfo = speculativeModel.GetSymbolInfo(attr5); 4330symbolInfo = speculativeModel.GetSymbolInfo(attr6); 4353symbolInfo = speculativeModel.GetSymbolInfo(attr7); 4375symbolInfo = speculativeModel.GetSymbolInfo(attr8);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
247symbolInfo = semanticModel.GetSymbolInfo(attribute);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\AttributeArgumentSyntaxExtensions.cs (1)
39var symbols = semanticModel.GetSymbolInfo(invocableExpression, cancellationToken).GetBestOrAllSymbols();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
140return semanticModel.GetSymbolInfo(attribute);
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
112IMethodSymbol attrCtorSymbol = sm.GetSymbolInfo(ma, _cancellationToken).Symbol as IMethodSymbol;
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
109var ctor = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
109var ctor = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;
Microsoft.Gen.Logging (2)
Parsing\Parser.cs (1)
609var attrCtor = sm.GetSymbolInfo(methodAttr, _cancellationToken).Symbol;
src\Generators\Shared\GeneratorUtilities.cs (1)
109var ctor = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;
Microsoft.Gen.Metrics (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
109var ctor = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
109var ctor = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn3.11.cs (1)
123IMethodSymbol? attributeSymbol = context.SemanticModel.GetSymbolInfo(attributeSyntax, cancellationToken).Symbol as IMethodSymbol;