30 references to InferTypes
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\TypeInferenceService\AbstractTypeInferenceService.cs (2)
95
.
InferTypes
(expression)
113
var result = CreateTypeInferrer(semanticModel, cancellationToken).
InferTypes
(expression);
Roslyn.Diagnostics.CSharp.Analyzers (28)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (28)
152
CheckedExpressionSyntax checkedExpression =>
InferTypes
(checkedExpression),
224
CheckedExpressionSyntax checkedExpression =>
InferTypes
(checkedExpression),
364
var parentTypes =
InferTypes
(tupleExpression);
437
return
InferTypes
(expression);
603
var invocationTypes = this.
InferTypes
(parentInvocationExpressionToTypeInfer).Select(t => t.InferredType).ToList();
837
var outerTypes =
InferTypes
(arrayCreationExpression);
861
var currentTypes =
InferTypes
(arrayType);
1022
var parentTypes =
InferTypes
(binop);
1036
var parentTypes =
InferTypes
(binop);
1168
=>
InferTypes
(expression);
1196
?
InferTypes
(conditional)
1201
=>
InferTypes
(defaultExpression);
1442
var arrayTypes = this.
InferTypes
(implicitArray);
1533
return
InferTypes
(constantPattern);
1539
return
InferTypes
(propertySubpattern);
1695
var types =
InferTypes
(anonymousFunction);
1719
var types =
InferTypes
(anonymousObject);
1778
return
InferTypes
(memberAccessExpression);
1790
return
InferTypes
(memberAccessExpression);
1809
return
InferTypes
(invocation);
1906
return
InferTypes
(identifierName).FirstOrDefault().InferredType;
1997
var types =
InferTypes
(prefixUnaryExpression);
2020
foreach (var inferredType in
InferTypes
(prefixUnaryExpression))
2043
var types =
InferTypes
(awaitExpression);
2078
=>
InferTypes
(refExpression);
2172
return
InferTypes
(switchExpression);
2306
var inferredDescendantTypes =
InferTypes
(descendant, filterUnusable: true);
2465
=>
InferTypes
(relationalPattern);