1 write to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6573
this.
CollectionTypeKind
= collectionTypeKind;
12 references to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Conversions.cs (1)
2203
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)
3945
node.
CollectionTypeKind
== CollectionExpressionTypeKind.ImplementsIEnumerable)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
128
bool hasElementType = node.
CollectionTypeKind
is not CollectionExpressionTypeKind.None;
Generated\BoundNodes.xml.Generated.cs (5)
6602
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))
12231
return node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, type);
14548
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, infoAndType.Type!);
14553
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, node.WasTargetTyped, node.HasWithElement, unconvertedCollectionExpression, elements, node.Type);
17012
new TreeDumperNode("collectionTypeKind", node.
CollectionTypeKind
, null),
Operations\CSharpOperationFactory.cs (2)
1276
switch (expr.
CollectionTypeKind
)
1289
throw ExceptionUtilities.UnexpectedValue(expr.
CollectionTypeKind
);