1 implementation of LimitValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4021
public IOperation
LimitValue
{ get; }
17 references to LimitValue
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (13)
4705
return MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, builder.ToImmutableAndFree());
4737
semanticModel: null, operation.
LimitValue
.Syntax, method.ReturnType,
4773
PushOperand(VisitRequired(operation.
LimitValue
));
4788
VisitAndCapture(operation.
LimitValue
, limitValueId);
4931
IOperation condition = tryCallObjectForLoopControlHelper(operation.
LimitValue
.Syntax,
4958
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(limitValueId, operation.
LimitValue
);
4982
IOperation limitReference = GetCaptureReference(limitValueId, operation.
LimitValue
);
5027
operation.
LimitValue
.Syntax,
5042
condition = MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, PopOperand(), limitReference);
5052
if (ITypeSymbolHelpers.IsNullableType(operation.
LimitValue
.Type))
5082
limitReference = CallNullableMember(GetCaptureReference(limitValueId, operation.
LimitValue
), SpecialMember.System_Nullable_T_GetValueOrDefault);
5105
operation.
LimitValue
.Syntax,
5125
operation.
LimitValue
.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (1)
586
Visit(operation.
LimitValue
, "LimitValue");
Compilation\TestOperationVisitor.cs (1)
324
children = new[] { operation.LoopControlVariable, operation.InitialValue, operation.
LimitValue
, operation.StepValue, operation.Body };
Diagnostics\OperationTestAnalyzer.cs (2)
1930
var forCondition = forLoop.
LimitValue
;
1935
operationContext.ReportDiagnostic(Diagnostic.Create(ForLoopConditionCrashDescriptor, forLoop.
LimitValue
.Syntax.GetLocation()));