12 references to IsTargetTypedExpression
Microsoft.CodeAnalysis.CSharp (12)
Binder\Semantics\BestTypeInferrer.cs (3)
72
Debug.Assert(!NullableWalker.
IsTargetTypedExpression
(expr));
137
Debug.Assert(!NullableWalker.
IsTargetTypedExpression
(expr1));
152
Debug.Assert(!NullableWalker.
IsTargetTypedExpression
(expr2));
FlowAnalysis\NullableWalker.cs (8)
2058
IsTargetTypedExpression
(conv.Operand) &&
4606
if (!
IsTargetTypedExpression
(expressionNoConversion))
5191
if (derivedType is null ||
IsTargetTypedExpression
(operand))
5944
else if (
IsTargetTypedExpression
(consequence))
5948
else if (
IsTargetTypedExpression
(alternative))
7072
if (
IsTargetTypedExpression
(argumentNoConversion) && _targetTypedAnalysisCompletionOpt?.TryGetValue(argumentNoConversion, out var completion) is true)
7988
if (argument is BoundLocal { DeclarationKind: BoundLocalDeclarationKind.WithInferredType } ||
IsTargetTypedExpression
(argument))
8797
if (
IsTargetTypedExpression
(conversionOperand))
FlowAnalysis\NullableWalker_Patterns.cs (1)
939
if (!
IsTargetTypedExpression
(expression))