3 instantiations of BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
1862var unconvertedCollection = new BoundUnconvertedCollectionExpression(
FlowAnalysis\NullableWalker.cs (1)
8867return new BoundUnconvertedCollectionExpression(
Generated\BoundNodes.xml.Generated.cs (1)
6523var result = new BoundUnconvertedCollectionExpression(this.Syntax, withElement, elements, this.HasErrors);
42 references to BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder_Conversions.cs (6)
281(BoundUnconvertedCollectionExpression)source, 878BoundUnconvertedCollectionExpression node, 896BoundUnconvertedCollectionExpression node, 902private readonly BoundUnconvertedCollectionExpression _node = node; 2284BoundUnconvertedCollectionExpression node, 2330BoundUnconvertedCollectionExpression node,
Binder\Binder_Expressions.cs (2)
429case BoundUnconvertedCollectionExpression expr: 2945GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)operand, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1862var unconvertedCollection = new BoundUnconvertedCollectionExpression(
Binder\Binder_Statements.cs (1)
2449GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)operand, targetType, diagnostics);
Binder\Semantics\Conversions\Conversions.cs (1)
160BoundUnconvertedCollectionExpression node,
Binder\Semantics\Conversions\ConversionsBase.cs (3)
78protected abstract Conversion GetCollectionExpressionConversion(BoundUnconvertedCollectionExpression source, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo); 1151var collectionExpressionConversion = GetImplicitCollectionExpressionConversion((BoundUnconvertedCollectionExpression)sourceExpression, destination, ref useSiteInfo); 1174private 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)
644MakeCollectionExpressionTypeInferences(binder, (BoundUnconvertedCollectionExpression)argument, target, kind, ref useSiteInfo); 665BoundUnconvertedCollectionExpression argument, 885MakeOutputTypeInferences(binder, (BoundUnconvertedCollectionExpression)argument, formalType, ref useSiteInfo); 900private void MakeOutputTypeInferences(Binder binder, BoundUnconvertedCollectionExpression argument, TypeWithAnnotations formalType, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3029return BetterCollectionExpressionConversion((BoundUnconvertedCollectionExpression)node, t1, conv1, t2, conv2, ref useSiteInfo); 3048BoundUnconvertedCollectionExpression collectionExpression,
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1277binder.GenerateImplicitConversionErrorForCollectionExpression((BoundUnconvertedCollectionExpression)argument, parameterType, diagnostics);
BoundTree\BoundNode.cs (2)
363BoundUnconvertedCollectionExpression { WasCompilerGenerated: true } or 367this is not BoundUnconvertedCollectionExpression collection ||
FlowAnalysis\AbstractFlowPass.cs (1)
2130public override BoundNode VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)
FlowAnalysis\NullableWalker.cs (1)
3886public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)
Generated\BoundNodes.xml.Generated.cs (15)
6519public BoundUnconvertedCollectionExpression Update(BoundUnconvertedWithElement? withElement, ImmutableArray<BoundNode> elements) 6523var result = new BoundUnconvertedCollectionExpression(this.Syntax, withElement, elements, this.HasErrors); 6565public BoundCollectionExpression(SyntaxNode syntax, CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundCollectionBuilderElementsPlaceholder? collectionBuilderElementsPlaceholder, bool wasTargetTyped, bool hasWithElement, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type, bool hasErrors = false) 6595public BoundUnconvertedCollectionExpression UnconvertedCollectionExpression { get; } 6600public BoundCollectionExpression Update(CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundCollectionBuilderElementsPlaceholder? collectionBuilderElementsPlaceholder, bool wasTargetTyped, bool hasWithElement, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type) 9436return VisitUnconvertedCollectionExpression((BoundUnconvertedCollectionExpression)node, arg); 9748public virtual R VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node, A arg) => this.DefaultVisit(node, arg); 9989public virtual BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) => this.DefaultVisit(node); 10779public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 12210public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 12228BoundUnconvertedCollectionExpression unconvertedCollectionExpression = node.UnconvertedCollectionExpression; 14518public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node) 14522BoundUnconvertedCollectionExpression updatedNode; 14542BoundUnconvertedCollectionExpression unconvertedCollectionExpression = node.UnconvertedCollectionExpression; 16993public override TreeDumperNode VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node, object? arg) => new TreeDumperNode("unconvertedCollectionExpression", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
24public override BoundNode? VisitUnconvertedCollectionExpression(BoundUnconvertedCollectionExpression node)