1 write to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6538this.CollectionTypeKind = collectionTypeKind;
12 references to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (1)
2150if (expr.CollectionTypeKind is CollectionExpressionTypeKind.ImplementsIEnumerable)
BoundTree\BoundCollectionExpression.cs (2)
19Debug.Assert(this.CollectionTypeKind == CollectionExpressionTypeKind.CollectionBuilder); 31Debug.Assert(this.CollectionTypeKind != CollectionExpressionTypeKind.CollectionBuilder);
FlowAnalysis\NullableWalker.cs (1)
3917node.CollectionTypeKind == CollectionExpressionTypeKind.ImplementsIEnumerable)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
128bool hasElementType = node.CollectionTypeKind is not CollectionExpressionTypeKind.None;
Generated\BoundNodes.xml.Generated.cs (5)
6567if (collectionTypeKind != this.CollectionTypeKind || placeholder != this.Placeholder || collectionCreation != this.CollectionCreation || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(collectionBuilderMethod, this.CollectionBuilderMethod) || collectionBuilderElementsPlaceholder != this.CollectionBuilderElementsPlaceholder || wasTargetTyped != this.WasTargetTyped || hasWithElement != this.HasWithElement || unconvertedCollectionExpression != this.UnconvertedCollectionExpression || elements != this.Elements || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12073return node.Update(node.CollectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, type); 14374updatedNode = node.Update(node.CollectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, infoAndType.Type!); 14379updatedNode = node.Update(node.CollectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, node.Type); 16801new TreeDumperNode("collectionTypeKind", node.CollectionTypeKind, null),
Operations\CSharpOperationFactory.cs (2)
1251switch (expr.CollectionTypeKind) 1264throw ExceptionUtilities.UnexpectedValue(expr.CollectionTypeKind);