1 write to EnumeratorInfoOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6516this.EnumeratorInfoOpt = enumeratorInfoOpt;
18 references to EnumeratorInfoOpt
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (1)
6520var enumeratorInfo = element.EnumeratorInfoOpt;
Binder\Semantics\Conversions\Conversions.cs (1)
233var enumeratorInfo = element.EnumeratorInfoOpt;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
683var enumeratorInfo = argument.EnumeratorInfoOpt;
FlowAnalysis\NullableWalker.cs (4)
3715var itemResult = spread.EnumeratorInfoOpt == null ? default : _visitResult; 3832Debug.Assert(node.EnumeratorInfoOpt is { }); 3839node.EnumeratorInfoOpt, 3847Debug.Assert(node.EnumeratorInfoOpt is null);
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
135if (spread.EnumeratorInfoOpt != null) 137VisitForEachEnumeratorInfo(spread.EnumeratorInfoOpt);
Generated\BoundNodes.xml.Generated.cs (3)
6535if (expression != this.Expression || expressionPlaceholder != this.ExpressionPlaceholder || conversion != this.Conversion || enumeratorInfoOpt != this.EnumeratorInfoOpt || lengthOrCount != this.LengthOrCount || elementPlaceholder != this.ElementPlaceholder || iteratorBody != this.IteratorBody) 11802return node.Update(expression, expressionPlaceholder, conversion, node.EnumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody); 16497new TreeDumperNode("enumeratorInfoOpt", node.EnumeratorInfoOpt, null),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (5)
144spreadElement.EnumeratorInfoOpt, 178if (!ShouldUseIEnumerableBulkAddMethod(singleSpread.Expression.Type, toListOfElementType.Parameters[0].Type, singleSpread.EnumeratorInfoOpt?.GetEnumeratorInfo.Method)) 681&& ShouldUseIEnumerableBulkAddMethod(spreadExpression.Type!, linqToArrayMethod.Parameters[0].Type, spreadElement.EnumeratorInfoOpt?.GetEnumeratorInfo.Method)) 1183if (!ShouldUseIEnumerableBulkAddMethod(rewrittenSpreadOperand.Type, addRangeMethod.Parameters[0].Type, spreadElement.EnumeratorInfoOpt?.GetEnumeratorInfo.Method)) 1327var enumeratorInfo = node.EnumeratorInfoOpt;
Operations\CSharpOperationFactory.cs (1)
1273var elementType = element.EnumeratorInfoOpt?.ElementType.GetPublicSymbol();