4 instantiations of BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
5329
return new
BoundUnconvertedCollectionExpression
(syntax, builder.ToImmutableAndFree());
Binder\Binder_Invocation.cs (1)
1858
var unconvertedCollection = new
BoundUnconvertedCollectionExpression
(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
FlowAnalysis\NullableWalker.cs (1)
8579
return new
BoundUnconvertedCollectionExpression
(collection.Syntax, elementsBuilder.ToImmutableAndFree()) { WasCompilerGenerated = true };
Generated\BoundNodes.xml.Generated.cs (1)
6450
var result = new
BoundUnconvertedCollectionExpression
(this.Syntax, elements, this.HasErrors);
40 references to BoundUnconvertedCollectionExpression
Microsoft.CodeAnalysis.CSharp (40)
Binder\Binder_Conversions.cs (4)
238
(
BoundUnconvertedCollectionExpression
)source,
814
BoundUnconvertedCollectionExpression
node,
1717
BoundUnconvertedCollectionExpression
node,
1748
BoundUnconvertedCollectionExpression
node,
Binder\Binder_Expressions.cs (2)
423
case
BoundUnconvertedCollectionExpression
expr:
2928
GenerateImplicitConversionErrorForCollectionExpression((
BoundUnconvertedCollectionExpression
)operand, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1858
var
unconvertedCollection = new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Binder\Binder_Statements.cs (1)
2448
GenerateImplicitConversionErrorForCollectionExpression((
BoundUnconvertedCollectionExpression
)operand, targetType, diagnostics);
Binder\Semantics\Conversions\Conversions.cs (1)
160
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)
644
MakeCollectionExpressionTypeInferences(binder, (
BoundUnconvertedCollectionExpression
)argument, target, kind, ref useSiteInfo);
665
BoundUnconvertedCollectionExpression
argument,
885
MakeOutputTypeInferences(binder, (
BoundUnconvertedCollectionExpression
)argument, formalType, ref useSiteInfo);
900
private void MakeOutputTypeInferences(Binder binder,
BoundUnconvertedCollectionExpression
argument, TypeWithAnnotations formalType, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3022
return BetterCollectionExpressionConversion((
BoundUnconvertedCollectionExpression
)node, t1, conv1, t2, conv2, ref useSiteInfo);
3041
BoundUnconvertedCollectionExpression
collectionExpression,
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1268
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)
2080
public override BoundNode VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
FlowAnalysis\NullableWalker.cs (1)
3857
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
Generated\BoundNodes.xml.Generated.cs (15)
6446
public
BoundUnconvertedCollectionExpression
Update(ImmutableArray<BoundNode> elements)
6450
var
result = new BoundUnconvertedCollectionExpression(this.Syntax, elements, this.HasErrors);
6460
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)
6486
public
BoundUnconvertedCollectionExpression
UnconvertedCollectionExpression { get; }
6491
public BoundCollectionExpression Update(CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod, BoundValuePlaceholder? collectionBuilderInvocationPlaceholder, BoundExpression? collectionBuilderInvocationConversion, bool wasTargetTyped,
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type)
9234
return VisitUnconvertedCollectionExpression((
BoundUnconvertedCollectionExpression
)node, arg);
9538
public virtual R VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node, A arg) => this.DefaultVisit(node, arg);
9774
public virtual BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node) => this.DefaultVisit(node);
10555
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
11957
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
11970
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression = node.UnconvertedCollectionExpression;
14232
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)
14235
BoundUnconvertedCollectionExpression
updatedNode;
14256
BoundUnconvertedCollectionExpression
unconvertedCollectionExpression = node.UnconvertedCollectionExpression;
16662
public override TreeDumperNode VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node, object? arg) => new TreeDumperNode("unconvertedCollectionExpression", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
24
public override BoundNode? VisitUnconvertedCollectionExpression(
BoundUnconvertedCollectionExpression
node)