11 references to CreatePlaceholderIfNecessary
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (10)
4882
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expressionNoConversion, expressionType.ToTypeWithAnnotations(compilation)));
5002
placeholdersBuilder.Add(
CreatePlaceholderIfNecessary
(returnExpr, resultType));
6239
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(originalConsequence, consequenceLValue);
6240
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(originalAlternative, alternativeLValue);
6295
BoundExpression consequencePlaceholder =
CreatePlaceholderIfNecessary
(consequence, consequenceRValue.ToTypeWithAnnotations(compilation));
6296
BoundExpression alternativePlaceholder =
CreatePlaceholderIfNecessary
(alternative, alternativeRValue.ToTypeWithAnnotations(compilation));
10468
arguments.Add(
CreatePlaceholderIfNecessary
(receiverOpt, receiverType.ToTypeWithAnnotations(compilation)));
10849
placeholderArgs.Add(
CreatePlaceholderIfNecessary
(right, rightResult.ToTypeWithAnnotations(compilation)));
10888
var nestedRight =
CreatePlaceholderIfNecessary
(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
11069
expr =
CreatePlaceholderIfNecessary
(expr, rightResult.ToTypeWithAnnotations(compilation));
FlowAnalysis\NullableWalker_Patterns.cs (1)
944
placeholderBuilder.Add(
CreatePlaceholderIfNecessary
(expression, armType.ToTypeWithAnnotations(compilation)));