21 references to BoundObjectCreationExpression
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Invocation.cs (2)
1397defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, unknownArgument) { WasCompilerGenerated = true }; 1406defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, dispatchArgument) { WasCompilerGenerated = true };
Lowering\ClosureConversion\ClosureConversion.cs (1)
681new BoundObjectCreationExpression(syntax: syntax, constructor: constructor),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
1353return new BoundObjectCreationExpression( 1649return new BoundObjectCreationExpression(
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
329return new BoundObjectCreationExpression(syntax, spanConstructor, array); 449arrayOrList = new BoundObjectCreationExpression(syntax, synthesizedType.Constructors.Single(), fieldValue) { WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (5)
115result = new BoundObjectCreationExpression(node.Syntax, ctor.AsMember((NamedTypeSymbol)node.Type), utf8Bytes, _factory.Literal(0), _factory.Literal(length)); 1065return new BoundObjectCreationExpression(syntax, ctor, rewrittenConversion); 1176BoundExpression consequence = new BoundObjectCreationExpression( 1260return new BoundObjectCreationExpression( 1385return new BoundObjectCreationExpression(call.Syntax, ctor, call);
Lowering\LocalRewriter\LocalRewriter_Index.cs (3)
31return new BoundObjectCreationExpression(node.Syntax, node.MethodOpt, operand, fromEnd); 43BoundExpression indexCreation = new BoundObjectCreationExpression(node.Syntax, node.MethodOpt, boundOperandGetValueOrDefault, fromEnd); 79return new BoundObjectCreationExpression(syntax, nullableCtor, underlyingValue);
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
101BoundExpression consequence = new BoundObjectCreationExpression(node.Syntax, nullableCtor, rangeExpr);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (4)
368BoundExpression consequence = new BoundObjectCreationExpression( 689BoundExpression consequence = new BoundObjectCreationExpression(syntax, ctor, userDefinedCall); 756boundOne = new BoundObjectCreationExpression(node.Syntax, ctor, boundOne); 847BoundExpression consequence = new BoundObjectCreationExpression(syntax, ctor, methodCall);
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
510new BoundObjectCreationExpression(