11 references to CreatePlaceholderIfNecessary
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (10)
5152
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expressionNoConversion, expressionType.ToTypeWithAnnotations(compilation)));
5272
placeholdersBuilder.Add(
CreatePlaceholderIfNecessary
(returnExpr, resultType));
6511
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(originalConsequence, consequenceLValue);
6512
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(originalAlternative, alternativeLValue);
6567
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(consequence, consequenceRValue.ToTypeWithAnnotations(compilation));
6568
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(alternative, alternativeRValue.ToTypeWithAnnotations(compilation));
11084
arguments.Add(
CreatePlaceholderIfNecessary
(receiverOpt, receiverType.ToTypeWithAnnotations(compilation)));
11465
placeholderArgs.Add(
CreatePlaceholderIfNecessary
(right, rightResult.ToTypeWithAnnotations(compilation)));
11504
var nestedRight =
CreatePlaceholderIfNecessary
(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
11686
expr =
CreatePlaceholderIfNecessary
(expr, rightResult.ToTypeWithAnnotations(compilation));
FlowAnalysis\NullableWalker_Patterns.cs (1)
1044
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expression, armType.ToTypeWithAnnotations(compilation)));