3 instantiations of BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (2)
1741var unconvertedCollection = new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true }; 1775emptyCollection ??= new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(ImmutableArray<BoundExpression>.Empty)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Generated\BoundNodes.xml.Generated.cs (1)
6423var result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.HasErrors);
37 references to BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder_Conversions.cs (2)
242(BoundUnconvertedCollectionExpression)source, 569BoundUnconvertedCollectionExpression node,
Binder\Binder_Expressions.cs (2)
392case BoundUnconvertedCollectionExpression expr: 2783GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)operand, targetType, diagnostics);
Binder\Binder_Invocation.cs (2)
1741var unconvertedCollection = new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true }; 1767BoundUnconvertedCollectionExpression? emptyCollection = null;
Binder\Binder_Statements.cs (1)
2368GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)operand, targetType, diagnostics);
Binder\Semantics\Conversions\Conversions.cs (1)
158BoundUnconvertedCollectionExpression node,
Binder\Semantics\Conversions\ConversionsBase.cs (3)
78protected abstract Conversion GetCollectionExpressionConversion(BoundUnconvertedCollectionExpression source, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo); 1120var collectionExpressionConversion = GetImplicitCollectionExpressionConversion((BoundUnconvertedCollectionExpression)sourceExpression, destination, ref useSiteInfo); 1143private Conversion GetImplicitCollectionExpressionConversion(BoundUnconvertedCollectionExpression collectionExpression, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\Conversions\TypeConversions.cs (1)
60protected override Conversion GetCollectionExpressionConversion(BoundUnconvertedCollectionExpression source, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (4)
616MakeCollectionExpressionTypeInferences(binder, (BoundUnconvertedCollectionExpression)argument, target, kind, ref useSiteInfo); 637BoundUnconvertedCollectionExpression argument, 857MakeOutputTypeInferences(binder, (BoundUnconvertedCollectionExpression)argument, formalType, ref useSiteInfo); 872private void MakeOutputTypeInferences(Binder binder, BoundUnconvertedCollectionExpression argument, TypeWithAnnotations formalType, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1236binder.GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)argument, parameterType, diagnostics);
BoundTree\BoundNode.cs (2)
342BoundUnconvertedCollectionExpression { WasCompilerGenerated: true } or 346this is not BoundUnconvertedCollectionExpression collection ||
FlowAnalysis\AbstractFlowPass.cs (1)
1984public override BoundNode VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)
FlowAnalysis\NullableWalker.cs (1)
3602public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)
Generated\BoundNodes.xml.Generated.cs (15)
6419public BoundUnconvertedCollectionExpression Update(ImmutableArray<BoundNode> elements) 6423var result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.HasErrors); 6433public BoundCollectionExpression(SyntaxNode syntax, CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundValuePlaceholder? collectionBuilderInvocationPlaceholder, BoundExpression? collectionBuilderInvocationConversion, bool wasTargetTyped, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type, bool hasErrors = false) 6459public BoundUnconvertedCollectionExpression UnconvertedCollectionExpression { get; } 6464public BoundCollectionExpression Update(CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundValuePlaceholder? collectionBuilderInvocationPlaceholder, BoundExpression? collectionBuilderInvocationConversion, bool wasTargetTyped, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type) 9165return VisitUnconvertedCollectionExpression((BoundUnconvertedCollectionExpression)node, arg); 9469public virtual R VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node, A arg) => this.DefaultVisit(node, arg); 9705public virtual BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) => this.DefaultVisit(node); 10485public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 11769public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 11781BoundUnconvertedCollectionExpression unconvertedCollectionExpression = node.UnconvertedCollectionExpression; 14021public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 14024BoundUnconvertedCollectionExpression updatedNode; 14045BoundUnconvertedCollectionExpression unconvertedCollectionExpression = node.UnconvertedCollectionExpression; 16458public override TreeDumperNode VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node, object? arg) => new TreeDumperNode("unconvertedCollectionExpression", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
26public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)