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