1 write to GetEnumeratorMethod
Microsoft.CodeAnalysis (1)
Operations\Loops\ForEachLoopOperationInfo.cs (1)
64
GetEnumeratorMethod
= getEnumeratorMethod;
5 references to GetEnumeratorMethod
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (5)
4575
if (info?.
GetEnumeratorMethod
!= null)
4577
IOperation? collection = info.
GetEnumeratorMethod
.IsStatic ? null : Visit(operation.Collection);
4590
collection = applyConversion(inlineArrayConversion, collection, info.
GetEnumeratorMethod
.ContainingType);
4594
info.
GetEnumeratorMethod
,
4601
result = new FlowCaptureReferenceOperation(enumeratorCaptureId, operation.Collection.Syntax, info.
GetEnumeratorMethod
.ReturnType, constantValue: null);