1 write to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6538
this.
CollectionTypeKind
= collectionTypeKind;
12 references to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (1)
2150
if (expr.
CollectionTypeKind
is CollectionExpressionTypeKind.ImplementsIEnumerable)
BoundTree\BoundCollectionExpression.cs (2)
19
Debug.Assert(this.
CollectionTypeKind
== CollectionExpressionTypeKind.CollectionBuilder);
31
Debug.Assert(this.
CollectionTypeKind
!= CollectionExpressionTypeKind.CollectionBuilder);
FlowAnalysis\NullableWalker.cs (1)
3917
node.
CollectionTypeKind
== CollectionExpressionTypeKind.ImplementsIEnumerable)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
128
bool hasElementType = node.
CollectionTypeKind
is not CollectionExpressionTypeKind.None;
Generated\BoundNodes.xml.Generated.cs (5)
6567
if (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))
12073
return node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, type);
14374
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, infoAndType.Type!);
14379
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, node.Type);
16801
new TreeDumperNode("collectionTypeKind", node.
CollectionTypeKind
, null),
Operations\CSharpOperationFactory.cs (2)
1251
switch (expr.
CollectionTypeKind
)
1264
throw ExceptionUtilities.UnexpectedValue(expr.
CollectionTypeKind
);