43 references to InferTypes
Microsoft.CodeAnalysis.CSharp.Workspaces (28)
CSharpTypeInferenceService.TypeInferrer.cs (28)
154
CheckedExpressionSyntax checkedExpression =>
InferTypes
(checkedExpression),
222
CheckedExpressionSyntax checkedExpression =>
InferTypes
(checkedExpression),
360
var parentTypes =
InferTypes
(tupleExpression);
435
return
InferTypes
(expression);
595
var invocationTypes = this.
InferTypes
(parentInvocationExpressionToTypeInfer).Select(t => t.InferredType).ToList();
829
var outerTypes =
InferTypes
(arrayCreationExpression);
855
var currentTypes =
InferTypes
(arrayType);
1022
var parentTypes =
InferTypes
(binop);
1036
var parentTypes =
InferTypes
(binop);
1176
=>
InferTypes
(expression);
1204
?
InferTypes
(conditional)
1209
=>
InferTypes
(defaultExpression);
1390
var arrayTypes = this.
InferTypes
(implicitArray);
1481
return
InferTypes
(constantPattern);
1487
return
InferTypes
(propertySubpattern);
1649
var types =
InferTypes
(anonymousFunction);
1676
var types =
InferTypes
((AnonymousObjectCreationExpressionSyntax)memberDeclarator.Parent);
1737
return
InferTypes
(memberAccessExpression);
1749
return
InferTypes
(memberAccessExpression);
1768
return
InferTypes
(invocation);
1865
return
InferTypes
(identifierName).FirstOrDefault().InferredType;
1958
var types =
InferTypes
(prefixUnaryExpression);
1981
foreach (var inferredType in
InferTypes
(prefixUnaryExpression))
2004
var types =
InferTypes
(awaitExpression);
2043
=>
InferTypes
(refExpression);
2139
return
InferTypes
(switchExpression);
2281
var inferredDescendantTypes =
InferTypes
(descendant, filterUnusable: true);
2449
=>
InferTypes
(relationalPattern);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (13)
VisualBasicTypeInferenceService.TypeInferrer.vb (13)
161
Function(objectCreation As ObjectCreationExpressionSyntax)
InferTypes
(objectCreation),
217
Dim parentTypes =
InferTypes
(tupleExpression)
406
Dim outerTypes =
InferTypes
(arrayCreationExpression)
418
Dim currentTypes =
InferTypes
(arrayType)
473
Dim types =
InferTypes
(awaitExpression, filterUnusable:=False)
490
Return
InferTypes
(conditional)
709
lambdaTypes =
InferTypes
(lambda)
843
Dim types =
InferTypes
(unaryExpressionSyntax)
850
Return
InferTypes
(unaryExpressionSyntax)
891
Return
InferTypes
(memberAccessExpression)
904
Return
InferTypes
(memberAccessExpression)
914
Return
InferTypes
(DirectCast(memberAccessExpression.Parent, ExpressionSyntax))
987
Return
InferTypes
(identifier).FirstOrDefault().InferredType
Microsoft.CodeAnalysis.Workspaces (2)
AbstractTypeInferenceService.cs (2)
98
.
InferTypes
(expression)
117
var result = CreateTypeInferrer(semanticModel, cancellationToken).
InferTypes
(expression);