1 write to HasWithElement
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6544
this.
HasWithElement
= hasWithElement;
8 references to HasWithElement
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (1)
4785
if (!expr.
HasWithElement
&& expr.Elements.IsEmpty)
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);
16807
new TreeDumperNode("hasWithElement", node.
HasWithElement
, null),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
64
var rewrittenReceiver = node.
HasWithElement
? VisitExpression(node.CollectionCreation) : null;
88
if (!node.
HasWithElement
&&