11 references to CreatePlaceholderIfNecessary
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (10)
5150
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expressionNoConversion, expressionType.ToTypeWithAnnotations(compilation)));
5270
placeholdersBuilder.Add(
CreatePlaceholderIfNecessary
(returnExpr, resultType));
6509
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(originalConsequence, consequenceLValue);
6510
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(originalAlternative, alternativeLValue);
6565
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(consequence, consequenceRValue.ToTypeWithAnnotations(compilation));
6566
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(alternative, alternativeRValue.ToTypeWithAnnotations(compilation));
11113
arguments.Add(
CreatePlaceholderIfNecessary
(receiverOpt, receiverType.ToTypeWithAnnotations(compilation)));
11492
placeholderArgs.Add(
CreatePlaceholderIfNecessary
(right, rightResult.ToTypeWithAnnotations(compilation)));
11532
var nestedRight =
CreatePlaceholderIfNecessary
(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
11714
expr =
CreatePlaceholderIfNecessary
(expr, rightResult.ToTypeWithAnnotations(compilation));
FlowAnalysis\NullableWalker_Patterns.cs (1)
1098
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expression, armType.ToTypeWithAnnotations(compilation)));