1 write to CollectionCreation
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6444this.CollectionCreation = collectionCreation;
9 references to CollectionCreation
Microsoft.CodeAnalysis.CSharp (9)
Generated\BoundNodes.xml.Generated.cs (4)
6467if (collectionTypeKind != this.CollectionTypeKind || placeholder != this.Placeholder || collectionCreation != this.CollectionCreation || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(collectionBuilderMethod, this.CollectionBuilderMethod) || collectionBuilderInvocationPlaceholder != this.CollectionBuilderInvocationPlaceholder || collectionBuilderInvocationConversion != this.CollectionBuilderInvocationConversion || wasTargetTyped != this.WasTargetTyped || unconvertedCollectionExpression != this.UnconvertedCollectionExpression || elements != this.Elements || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11781BoundExpression? collectionCreation = node.CollectionCreation; 14045BoundExpression? collectionCreation = node.CollectionCreation; 16473new TreeDumperNode("collectionCreation", null, new TreeDumperNode[] { Visit(node.CollectionCreation, null) }),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
250Debug.Assert(node.CollectionCreation is null); // shouldn't have generated a constructor call 337var rewrittenReceiver = VisitExpression(node.CollectionCreation); 400Debug.Assert(node.CollectionCreation is null); 472Debug.Assert(node.CollectionCreation is null);
Operations\CSharpOperationFactory.cs (1)
1249return (expr.CollectionCreation as BoundObjectCreationExpression)?.Constructor;