1 implementation of Collection
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
3836public IOperation Collection { get; }
10 references to Collection
Microsoft.CodeAnalysis (7)
Operations\ControlFlowGraphBuilder.cs (7)
4397foreach (IOperation op in operation.Collection.DescendantsAndSelf()) 4496IOperation invocation = makeInvocation(operation.Collection.Syntax, 4498info.GetEnumeratorMethod.IsStatic ? null : Visit(operation.Collection), 4502AddStatement(new FlowCaptureOperation(enumeratorCaptureId, operation.Collection.Syntax, invocation)); 4504result = new FlowCaptureReferenceOperation(enumeratorCaptureId, operation.Collection.Syntax, info.GetEnumeratorMethod.ReturnType, constantValue: null); 4509AddStatement(MakeInvalidOperation(type: null, VisitRequired(operation.Collection))); 4510result = new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Collection.Syntax,
Microsoft.CodeAnalysis.Features (1)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
173var foreachCollection = RemoveImplicitConversion(operation.Collection);
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
655Visit(operation.Collection, "Collection");
Compilation\TestOperationVisitor.cs (1)
334IEnumerable<IOperation> children = new[] { operation.Collection, operation.LoopControlVariable, operation.Body }.Concat(operation.NextVariables);