1 write to EnumeratorInfoOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6516
this.
EnumeratorInfoOpt
= enumeratorInfoOpt;
17 references to EnumeratorInfoOpt
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
6517
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)
3715
var itemResult = spread.
EnumeratorInfoOpt
== null ? default : _visitResult;
3832
Debug.Assert(node.
EnumeratorInfoOpt
is { });
3839
node.
EnumeratorInfoOpt
,
3847
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)
11802
return node.Update(expression, expressionPlaceholder, conversion, node.
EnumeratorInfoOpt
, lengthOrCount, elementPlaceholder, iteratorBody);
16497
new TreeDumperNode("enumeratorInfoOpt", node.
EnumeratorInfoOpt
, null),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (4)
144
spreadElement.
EnumeratorInfoOpt
,
178
if (!ShouldUseAddRangeOrToListMethod(singleSpread.Expression.Type, toListOfElementType.Parameters[0].Type, singleSpread.
EnumeratorInfoOpt
?.GetEnumeratorInfo.Method))
1138
if (!ShouldUseAddRangeOrToListMethod(rewrittenSpreadOperand.Type, addRangeMethod.Parameters[0].Type, spreadElement.
EnumeratorInfoOpt
?.GetEnumeratorInfo.Method))
1282
var enumeratorInfo = node.
EnumeratorInfoOpt
;
Operations\CSharpOperationFactory.cs (1)
1273
var elementType = element.
EnumeratorInfoOpt
?.ElementType.GetPublicSymbol();