2 instantiations of BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Invocation.cs (1)
1741
var unconvertedCollection = new
BoundUnconvertedCollectionExpression
(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Generated\BoundNodes.xml.Generated.cs (1)
6423
var result = new
BoundUnconvertedCollectionExpression
(this.Syntax, elements, this.HasErrors);
37 references to BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder_Conversions.cs (1)
238
(
BoundUnconvertedCollectionExpression
)source,
Binder\Binder_Expressions.cs (2)
392
case
BoundUnconvertedCollectionExpression
expr:
2821
GenerateImplicitConversionErrorForCollectionExpression((
BoundUnconvertedCollectionExpression
)operand, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1741
var
unconvertedCollection = new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Binder\Binder_Statements.cs (1)
2400
GenerateImplicitConversionErrorForCollectionExpression((
BoundUnconvertedCollectionExpression
)operand, targetType, diagnostics);
Binder\Semantics\Conversions\Conversions.cs (1)
158
BoundUnconvertedCollectionExpression
node,
Binder\Semantics\Conversions\ConversionsBase.cs (3)
78
protected abstract Conversion GetCollectionExpressionConversion(
BoundUnconvertedCollectionExpression
source, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo);
1136
var collectionExpressionConversion = GetImplicitCollectionExpressionConversion((
BoundUnconvertedCollectionExpression
)sourceExpression, destination, ref useSiteInfo);
1159
private Conversion GetImplicitCollectionExpressionConversion(
BoundUnconvertedCollectionExpression
collectionExpression, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\Conversions\TypeConversions.cs (1)
60
protected override Conversion GetCollectionExpressionConversion(
BoundUnconvertedCollectionExpression
source, TypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (4)
616
MakeCollectionExpressionTypeInferences(binder, (
BoundUnconvertedCollectionExpression
)argument, target, kind, ref useSiteInfo);
637
BoundUnconvertedCollectionExpression
argument,
857
MakeOutputTypeInferences(binder, (
BoundUnconvertedCollectionExpression
)argument, formalType, ref useSiteInfo);
872
private void MakeOutputTypeInferences(Binder binder,
BoundUnconvertedCollectionExpression
argument, TypeWithAnnotations formalType, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
2969
return BetterCollectionExpressionConversion((
BoundUnconvertedCollectionExpression
)node, t1, conv1, t2, conv2, ref useSiteInfo);
2988
BoundUnconvertedCollectionExpression
collectionExpression,
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1236
binder.GenerateImplicitConversionErrorForCollectionExpression((
BoundUnconvertedCollectionExpression
)argument, parameterType, diagnostics);
BoundTree\BoundNode.cs (2)
363
BoundUnconvertedCollectionExpression
{ WasCompilerGenerated: true } or
367
this is not
BoundUnconvertedCollectionExpression
collection ||
FlowAnalysis\AbstractFlowPass.cs (1)
2074
public override BoundNode VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
FlowAnalysis\NullableWalker.cs (1)
3678
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
Generated\BoundNodes.xml.Generated.cs (15)
6419
public
BoundUnconvertedCollectionExpression
Update(ImmutableArray<BoundNode> elements)
6423
var
result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.HasErrors);
6433
public 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)
6459
public
BoundUnconvertedCollectionExpression
UnconvertedCollectionExpression { get; }
6464
public BoundCollectionExpression Update(CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundValuePlaceholder? collectionBuilderInvocationPlaceholder, BoundExpression? collectionBuilderInvocationConversion, bool wasTargetTyped,
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type)
9167
return VisitUnconvertedCollectionExpression((
BoundUnconvertedCollectionExpression
)node, arg);
9471
public virtual R VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node, A arg) => this.DefaultVisit(node, arg);
9707
public virtual BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node) => this.DefaultVisit(node);
10487
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
11771
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
11783
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression = node.UnconvertedCollectionExpression;
14023
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
14026
BoundUnconvertedCollectionExpression
updatedNode;
14047
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression = node.UnconvertedCollectionExpression;
16460
public override TreeDumperNode VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node, object? arg) => new TreeDumperNode("unconvertedCollectionExpression", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
26
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)