1 write to CollectionTypeKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6442
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)
6467
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))
11787
return node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, node.CollectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, type);
14054
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, infoAndType.Type!);
14059
updatedNode = node.Update(node.
CollectionTypeKind
, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, node.Type);
16471
new TreeDumperNode("collectionTypeKind", node.
CollectionTypeKind
, null),
Operations\CSharpOperationFactory.cs (2)
1240
switch (expr.
CollectionTypeKind
)
1253
throw ExceptionUtilities.UnexpectedValue(expr.
CollectionTypeKind
);