11 references to CreatePlaceholderIfNecessary
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker_Patterns.cs (1)
1136
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expression, armType.ToTypeWithAnnotations(compilation)));
FlowAnalysis\NullableWalker.cs (10)
5136
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expressionNoConversion, expressionType.ToTypeWithAnnotations(compilation)));
5256
placeholdersBuilder.Add(
CreatePlaceholderIfNecessary
(returnExpr, resultType));
6495
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(originalConsequence, consequenceLValue);
6496
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(originalAlternative, alternativeLValue);
6551
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(consequence, consequenceRValue.ToTypeWithAnnotations(compilation));
6552
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(alternative, alternativeRValue.ToTypeWithAnnotations(compilation));
11103
arguments.Add(
CreatePlaceholderIfNecessary
(receiverOpt, receiverType.ToTypeWithAnnotations(compilation)));
11482
placeholderArgs.Add(
CreatePlaceholderIfNecessary
(right, rightResult.ToTypeWithAnnotations(compilation)));
11522
var nestedRight =
CreatePlaceholderIfNecessary
(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
11704
expr =
CreatePlaceholderIfNecessary
(expr, rightResult.ToTypeWithAnnotations(compilation));