1 implementation of LimitValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4432
public IOperation
LimitValue
{ get; }
17 references to LimitValue
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (13)
4804
return MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, builder.ToImmutableAndFree());
4836
semanticModel: null, operation.
LimitValue
.Syntax, method.ReturnType,
4872
PushOperand(VisitRequired(operation.
LimitValue
));
4887
VisitAndCapture(operation.
LimitValue
, limitValueId);
5030
IOperation condition = tryCallObjectForLoopControlHelper(operation.
LimitValue
.Syntax,
5057
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(limitValueId, operation.
LimitValue
);
5081
IOperation limitReference = GetCaptureReference(limitValueId, operation.
LimitValue
);
5126
operation.
LimitValue
.Syntax,
5141
condition = MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, PopOperand(), limitReference);
5151
if (ITypeSymbolHelpers.IsNullableType(operation.
LimitValue
.Type))
5181
limitReference = CallNullableMember(GetCaptureReference(limitValueId, operation.
LimitValue
), SpecialMember.System_Nullable_T_GetValueOrDefault);
5204
operation.
LimitValue
.Syntax,
5224
operation.
LimitValue
.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (1)
568
Visit(operation.
LimitValue
, "LimitValue");
Compilation\TestOperationVisitor.cs (1)
325
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()));