40 references to BoundValuePlaceholder
Microsoft.CodeAnalysis.CSharp (40)
Binder\Binder_Conversions.cs (9)
77
var placeholder2 = new
BoundValuePlaceholder
(source.Syntax, source.Type);
333
new
BoundValuePlaceholder
(source.Syntax, source.Type.GetNullableUnderlyingType()),
362
new
BoundValuePlaceholder
(source.Syntax, source.Type.GetNullableUnderlyingType()),
390
new
BoundValuePlaceholder
(source.Syntax, sourceTypes[i].Type),
870
collectionBuilderInvocationPlaceholder = new
BoundValuePlaceholder
(syntax, collectionBuilderMethod.ReturnType) { WasCompilerGenerated = true };
999
var elementPlaceholder = new
BoundValuePlaceholder
(expressionSyntax, enumeratorInfo.ElementType) { WasCompilerGenerated = true };
1263
var elementPlaceholder = new
BoundValuePlaceholder
(syntax, Compilation.DynamicType) { WasCompilerGenerated = true };
1544
ImmutableArray.Create<BoundExpression>(methodGroup.ReceiverOpt, new
BoundValuePlaceholder
(syntax, secondArgumentType) { WasCompilerGenerated = true }),
1697
BoundExpression collectionExpr = new
BoundValuePlaceholder
(syntax, collectionType);
Binder\Binder_Deconstruct.cs (2)
309
var operandPlaceholder = new
BoundValuePlaceholder
(syntax, ErrorTypeSymbol.UnknownResultType).MakeCompilerGenerated();
334
var operandPlaceholder = new
BoundValuePlaceholder
(syntax, tupleOrDeconstructedTypes[i]).MakeCompilerGenerated();
Binder\Binder_Expressions.cs (1)
6659
var addElementPlaceholder = new
BoundValuePlaceholder
(syntax, enumeratorInfo.ElementType);
Binder\Binder_Operators.cs (19)
75
var placeholder = new
BoundValuePlaceholder
(right.Syntax, left.HasDynamicType() ? left.Type : right.Type).MakeCompilerGenerated();
274
var finalPlaceholder = new
BoundValuePlaceholder
(node, bestSignature.ReturnType);
318
var leftPlaceholder = new
BoundValuePlaceholder
(left.Syntax, leftType).MakeCompilerGenerated();
508
leftPlaceholder = new
BoundValuePlaceholder
(left.Syntax, leftType).MakeCompilerGenerated();
1548
var operandPlaceholder = new
BoundValuePlaceholder
(resultLeft.Syntax, resultLeft.Type).MakeCompilerGenerated();
1622
CreateConversion(left.Syntax, new
BoundValuePlaceholder
(left.Syntax, left.Type).MakeCompilerGenerated(), implicitConversion, isCast: false, conversionGroupOpt: null, booleanType, diagnostics);
1652
var operandPlaceholder = new
BoundValuePlaceholder
(left.Syntax, namedType).MakeCompilerGenerated();
1797
var leftPlaceholder = new
BoundValuePlaceholder
(syntax, signature.LeftType).MakeCompilerGenerated();
1955
var leftPlaceholder = new
BoundValuePlaceholder
(syntax, signature.LeftType).MakeCompilerGenerated();
3388
var resultPlaceholder = new
BoundValuePlaceholder
(node, signature.ReturnType).MakeCompilerGenerated();
3411
var operandPlaceholder = new
BoundValuePlaceholder
(operand.Syntax, operandType).MakeCompilerGenerated();
3597
operandPlaceholder = new
BoundValuePlaceholder
(operand.Syntax, operandType).MakeCompilerGenerated();
5388
operandPlaceholder = new
BoundValuePlaceholder
(operand.Syntax, operand.Type).MakeCompilerGenerated();
5435
operandPlaceholder = new
BoundValuePlaceholder
(operand.Syntax, operand.Type).MakeCompilerGenerated();
5653
var leftPlaceholder = new
BoundValuePlaceholder
(leftOperand.Syntax, optLeftType).MakeCompilerGenerated();
5675
var leftPlaceholder = new
BoundValuePlaceholder
(leftOperand.Syntax, optLeftType0).MakeCompilerGenerated();
5694
var leftPlaceholder = new
BoundValuePlaceholder
(leftOperand.Syntax, optLeftType).MakeCompilerGenerated();
5744
var leftPlaceholder = new
BoundValuePlaceholder
(leftOperand.Syntax, optLeftType0).MakeCompilerGenerated();
5758
var leftPlaceholder = new
BoundValuePlaceholder
(leftOperand.Syntax, optLeftType).MakeCompilerGenerated();
Binder\Binder_Statements.cs (1)
1386
elementPlaceholder = new
BoundValuePlaceholder
(initializerSyntax, pointerType).MakeCompilerGenerated();
Binder\Binder_TupleOperators.cs (2)
138
conversionForBoolPlaceholder = new
BoundValuePlaceholder
(node, type).MakeCompilerGenerated();
168
conversionForBoolPlaceholder = new
BoundValuePlaceholder
(node, type).MakeCompilerGenerated();
Binder\ForEachLoopBinder.cs (3)
490
var elementPlaceholder = new
BoundValuePlaceholder
(_syntax, inferredType.Type).MakeCompilerGenerated();
569
builder.CurrentPlaceholder = new
BoundValuePlaceholder
(_syntax, builder.CurrentPropertyGetter.ReturnType).MakeCompilerGenerated();
871
BoundExpression span = new
BoundValuePlaceholder
(collectionExpr.Syntax, spanType).MakeCompilerGenerated();
Binder\Semantics\Conversions\Conversions.cs (1)
241
new
BoundValuePlaceholder
(element.Syntax, enumeratorInfo.ElementType),
Lowering\LocalRewriter\LocalRewriter_NullCoalescingAssignmentOperator.cs (1)
58
var leftPlaceholder = new
BoundValuePlaceholder
(lhsRead.Syntax, lhsRead.Type);
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
196
var placeholder = new
BoundValuePlaceholder
(result.Syntax, result.Type);