1 implementation of LimitValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4394
public IOperation
LimitValue
{ get; }
17 references to LimitValue
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (13)
4802
return MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, builder.ToImmutableAndFree());
4834
semanticModel: null, operation.
LimitValue
.Syntax, method.ReturnType,
4870
PushOperand(VisitRequired(operation.
LimitValue
));
4885
VisitAndCapture(operation.
LimitValue
, limitValueId);
5028
IOperation condition = tryCallObjectForLoopControlHelper(operation.
LimitValue
.Syntax,
5055
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(limitValueId, operation.
LimitValue
);
5079
IOperation limitReference = GetCaptureReference(limitValueId, operation.
LimitValue
);
5124
operation.
LimitValue
.Syntax,
5139
condition = MakeInvalidOperation(operation.
LimitValue
.Syntax, booleanType, PopOperand(), limitReference);
5149
if (ITypeSymbolHelpers.IsNullableType(operation.
LimitValue
.Type))
5179
limitReference = CallNullableMember(GetCaptureReference(limitValueId, operation.
LimitValue
), SpecialMember.System_Nullable_T_GetValueOrDefault);
5202
operation.
LimitValue
.Syntax,
5222
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()));