1 write to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6441
this.
CollectionTypeKind
= collectionTypeKind;
8 references to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (8)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
128
bool hasElementType = node.
CollectionTypeKind
is not (CollectionExpressionTypeKind.None or CollectionExpressionTypeKind.ImplementsIEnumerable);
Generated\BoundNodes.xml.Generated.cs (5)
6466
if (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))
11786
return node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, node.CollectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, type);
14053
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, infoAndType.Type!);
14058
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, node.Type);
16470
new TreeDumperNode("collectionTypeKind", node.
CollectionTypeKind
, null),
Operations\CSharpOperationFactory.cs (2)
1240
switch (expr.
CollectionTypeKind
)
1253
throw ExceptionUtilities.UnexpectedValue(expr.
CollectionTypeKind
);