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)
2058IsTargetTypedExpression(conv.Operand) && 4606if (!IsTargetTypedExpression(expressionNoConversion)) 5191if (derivedType is null || IsTargetTypedExpression(operand)) 5944else if (IsTargetTypedExpression(consequence)) 5948else if (IsTargetTypedExpression(alternative)) 7072if (IsTargetTypedExpression(argumentNoConversion) && _targetTypedAnalysisCompletionOpt?.TryGetValue(argumentNoConversion, out var completion) is true) 7988if (argument is BoundLocal { DeclarationKind: BoundLocalDeclarationKind.WithInferredType } || IsTargetTypedExpression(argument)) 8797if (IsTargetTypedExpression(conversionOperand))
FlowAnalysis\NullableWalker_Patterns.cs (1)
939if (!IsTargetTypedExpression(expression))