10 references to CreatePlaceholderIfNecessary
Microsoft.CodeAnalysis.CSharp (10)
FlowAnalysis\NullableWalker.cs (9)
4824
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expressionNoConversion, expressionType.ToTypeWithAnnotations(compilation)));
6119
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(originalConsequence, consequenceLValue);
6120
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(originalAlternative, alternativeLValue);
6175
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(consequence, consequenceRValue.ToTypeWithAnnotations(compilation));
6176
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(alternative, alternativeRValue.ToTypeWithAnnotations(compilation));
10223
arguments.Add(
CreatePlaceholderIfNecessary
(receiverOpt, receiverType.ToTypeWithAnnotations(compilation)));
10606
placeholderArgs.Add(
CreatePlaceholderIfNecessary
(right, rightResult.ToTypeWithAnnotations(compilation)));
10645
var nestedRight =
CreatePlaceholderIfNecessary
(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
10826
expr =
CreatePlaceholderIfNecessary
(expr, rightResult.ToTypeWithAnnotations(compilation));
FlowAnalysis\NullableWalker_Patterns.cs (1)
942
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expression, armType.ToTypeWithAnnotations(compilation)));