8 references to New
Microsoft.CodeAnalysis.CSharp (8)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
1026rewrittenReceiver = _factory.New(constructor, ImmutableArray.Create<BoundExpression>(knownLengthTemp)); 1031rewrittenReceiver = _factory.New(constructor, ImmutableArray.Create(knownLengthExpression)); 1038rewrittenReceiver = _factory.New(constructor, ImmutableArray<BoundExpression>.Empty);
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
175return F.New(constructionMethod, ImmutableArray.Create(left, right));
Lowering\SyntheticBoundNodeFactory.cs (2)
738=> New(ctor, args.ToImmutableArray()); 743return New(ctor, args);
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
33var body = F.Throw(F.New(_exceptionConstructor, ImmutableArray<BoundExpression>.Empty));
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
34var body = F.Throw(F.New(F.WellKnownMethod(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctorObject), ImmutableArray.Create<BoundExpression>(F.Parameter(unmatchedValue))));