4 references to SetInferredTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Deconstruct.cs (1)
380
return pending.
SetInferredTypeWithAnnotations
(TypeWithAnnotations.Create(type));
Binder\Binder_Expressions.cs (1)
3537
coercedArgument = ((BoundDiscardExpression)argument).
SetInferredTypeWithAnnotations
(parameterTypeWithAnnotations);
Binder\Binder_Invocation.cs (1)
2079
newArguments[i] = ((BoundDiscardExpression)argument).
SetInferredTypeWithAnnotations
(TypeWithAnnotations.Create(candidateType));
Binder\Binder_Statements.cs (1)
1470
return op1.
SetInferredTypeWithAnnotations
(TypeWithAnnotations.Create(inferredType));