1 implementation of LimitValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4394public IOperation LimitValue { get; }
17 references to LimitValue
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (13)
4802return MakeInvalidOperation(operation.LimitValue.Syntax, booleanType, builder.ToImmutableAndFree()); 4834semanticModel: null, operation.LimitValue.Syntax, method.ReturnType, 4870PushOperand(VisitRequired(operation.LimitValue)); 4885VisitAndCapture(operation.LimitValue, limitValueId); 5028IOperation condition = tryCallObjectForLoopControlHelper(operation.LimitValue.Syntax, 5055_forToLoopBinaryOperatorRightOperand = GetCaptureReference(limitValueId, operation.LimitValue); 5079IOperation limitReference = GetCaptureReference(limitValueId, operation.LimitValue); 5124operation.LimitValue.Syntax, 5139condition = MakeInvalidOperation(operation.LimitValue.Syntax, booleanType, PopOperand(), limitReference); 5149if (ITypeSymbolHelpers.IsNullableType(operation.LimitValue.Type)) 5179limitReference = CallNullableMember(GetCaptureReference(limitValueId, operation.LimitValue), SpecialMember.System_Nullable_T_GetValueOrDefault); 5202operation.LimitValue.Syntax, 5222operation.LimitValue.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (1)
586Visit(operation.LimitValue, "LimitValue");
Compilation\TestOperationVisitor.cs (1)
324children = new[] { operation.LoopControlVariable, operation.InitialValue, operation.LimitValue, operation.StepValue, operation.Body };
Diagnostics\OperationTestAnalyzer.cs (2)
1930var forCondition = forLoop.LimitValue; 1935operationContext.ReportDiagnostic(Diagnostic.Create(ForLoopConditionCrashDescriptor, forLoop.LimitValue.Syntax.GetLocation()));