1 implementation of Collection
Microsoft.CodeAnalysis (1)
14 references to Collection
Microsoft.CodeAnalysis (9)
Operations\ControlFlowGraphBuilder.cs (9)
4480foreach (IOperation op in operation.Collection.DescendantsAndSelf())
4579IOperation? collection = info.GetEnumeratorMethod.IsStatic ? null : Visit(operation.Collection);
4587AddStatement(new FlowCaptureOperation(localCopyCaptureId, operation.Collection.Syntax, collection));
4589collection = new FlowCaptureReferenceOperation(localCopyCaptureId, operation.Collection.Syntax, collection.Type, constantValue: null);
4595IOperation invocation = makeInvocation(operation.Collection.Syntax,
4601AddStatement(new FlowCaptureOperation(enumeratorCaptureId, operation.Collection.Syntax, invocation));
4603result = new FlowCaptureReferenceOperation(enumeratorCaptureId, operation.Collection.Syntax, info.GetEnumeratorMethod.ReturnType, constantValue: null);
4608AddStatement(MakeInvalidOperation(type: null, VisitRequired(operation.Collection)));
4609result = new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Collection.Syntax,
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Roslyn.Diagnostics.Analyzers (2)