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