12 references to IsTargetTypedExpression
Microsoft.CodeAnalysis.CSharp (12)
Binder\Semantics\BestTypeInferrer.cs (3)
72Debug.Assert(!NullableWalker.IsTargetTypedExpression(expr)); 137Debug.Assert(!NullableWalker.IsTargetTypedExpression(expr1)); 152Debug.Assert(!NullableWalker.IsTargetTypedExpression(expr2));
FlowAnalysis\NullableWalker.cs (8)
2181IsTargetTypedExpression(conv.Operand) && 5038if (!IsTargetTypedExpression(expressionNoConversion)) 5643if (derivedType is null || IsTargetTypedExpression(operand)) 6435else if (IsTargetTypedExpression(consequence)) 6439else if (IsTargetTypedExpression(alternative)) 7768if (IsTargetTypedExpression(argumentNoConversion) && _targetTypedAnalysisCompletionOpt?.TryGetValue(argumentNoConversion, out var completion) is true) 8758if (argument is BoundLocal { DeclarationKind: BoundLocalDeclarationKind.WithInferredType } || IsTargetTypedExpression(argument)) 9602if (IsTargetTypedExpression(conversionOperand))
FlowAnalysis\NullableWalker_Patterns.cs (1)
941if (!IsTargetTypedExpression(expression))