5 implementations of LoopKind
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (1)
4191public abstract LoopKind LoopKind { get; }
Operations\OperationNodes.cs (4)
498public override LoopKind LoopKind => LoopKind.ForEach; 503public override LoopKind LoopKind => LoopKind.For; 508public override LoopKind LoopKind => LoopKind.ForTo; 636public override LoopKind LoopKind => LoopKind.While;
8 references to LoopKind
Microsoft.CodeAnalysis (1)
Generated\OperationKind.Generated.cs (1)
27/// <summary>Indicates an <see cref="ILoopOperation"/>. This is further differentiated by <see cref="ILoopOperation.LoopKind"/>.</summary>
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\OperationTreeVerifier.cs (1)
630propertyStringBuilder.Append($"{nameof(LoopKind)}.{operation.LoopKind}");
Compilation\TestOperationVisitor.cs (4)
253Assert.Equal(LoopKind.While, operation.LoopKind); 291Assert.Equal(LoopKind.For, operation.LoopKind); 311Assert.Equal(LoopKind.ForTo, operation.LoopKind); 332Assert.Equal(LoopKind.ForEach, operation.LoopKind);
Diagnostics\OperationTestAnalyzer.cs (2)
147if (loop.LoopKind == LoopKind.For) 1927if (loop.LoopKind == LoopKind.ForTo)