1 write to SemanticModel
Microsoft.CodeAnalysis.Workspaces (1)
src\a16f30e1d256badc\AbstractTypeInferenceService.AbstractTypeInferrer.cs (1)
28
this.
SemanticModel
= semanticModel;
28 references to SemanticModel
Microsoft.CodeAnalysis.CSharp.Workspaces (27)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (27)
101
var typeInfo =
SemanticModel
.GetTypeInfo(node, CancellationToken);
102
var symbolInfo =
SemanticModel
.GetSymbolInfo(node, CancellationToken);
196
var syntaxTree =
SemanticModel
.SyntaxTree;
395
var info =
SemanticModel
.GetSymbolInfo(initializer, CancellationToken);
442
var info =
SemanticModel
.GetTypeInfo(creation, CancellationToken);
463
var info =
SemanticModel
.GetTypeInfo(primaryConstructorBaseType.Type, CancellationToken);
479
var info =
SemanticModel
.GetSymbolInfo(invocation, CancellationToken);
491
SemanticModel
.GetMemberGroup(invocation.Expression, CancellationToken)
503
var typeInfo =
SemanticModel
.GetTypeInfo(memberAccess.Expression, CancellationToken);
562
var info =
SemanticModel
.GetSymbolInfo(attribute, CancellationToken);
570
var info =
SemanticModel
.GetTypeInfo(elementAccess.Expression, CancellationToken);
1225
SemanticModel
.GetDeclaredSymbol(equalsValue.Parent, CancellationToken) is IParameterSymbol parameter)
1237
var typeInfo =
SemanticModel
.GetTypeInfo(propertyDeclaration.Type);
1245
var collectionType =
SemanticModel
.GetTypeInfo(collectionExpression, CancellationToken).ConvertedType;
1249
SemanticModel
.Compilation, collectionType, out var elementType))
1389
var addMethodSymbols =
SemanticModel
.GetCollectionInitializerSymbolInfo(initializerExpression).GetAllSymbols();
1407
var addMethodSymbols =
SemanticModel
.GetCollectionInitializerSymbolInfo(expressionOpt).GetAllSymbols();
1498
var addMethodSymbols =
SemanticModel
.GetCollectionInitializerSymbolInfo(expressionOpt).GetAllSymbols();
1526
var type = this.
SemanticModel
.GetTypeInfo(recursivePattern).ConvertedType;
1554
foreach (var symbol in this.
SemanticModel
.GetSymbolInfo(subpattern.ExpressionColon.Expression).GetAllSymbols())
1614
_ when
SemanticModel
.GetOperation(pattern, CancellationToken) is IPatternOperation patternOperation =>
1631
var typeInfo =
SemanticModel
.GetTypeInfo(recursivePattern);
1904
SemanticModel
.GetSymbolInfo(identifierName.Identifier).Symbol?.Kind == SymbolKind.Parameter)
2131
var currentSemanticModel =
SemanticModel
;
2256
var symbol =
SemanticModel
.GetDeclaredSymbol(variableDeclarator);
2302
var descendantSymbol =
SemanticModel
.GetSymbolInfo(descendant, CancellationToken).GetAnySymbol();
2331
var symbol =
SemanticModel
.GetRequiredDeclaredSymbol(designation, CancellationToken);
Microsoft.CodeAnalysis.Workspaces (1)
src\a16f30e1d256badc\AbstractTypeInferenceService.AbstractTypeInferrer.cs (1)
38
protected Compilation Compilation =>
SemanticModel
.Compilation;