1 implementation of StepValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4022
public IOperation
StepValue
{ get; }
20 references to StepValue
Microsoft.CodeAnalysis (18)
Operations\ControlFlowGraphBuilder.cs (18)
4658
ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.
StepValue
.Type);
4774
PushOperand(VisitRequired(operation.
StepValue
));
4791
VisitAndCapture(operation.
StepValue
, stepValueId);
4793
IOperation stepValue = GetCaptureReference(stepValueId, operation.
StepValue
);
4801
_forToLoopBinaryOperatorLeftOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4802
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4817
else if (!(operation.
StepValue
.GetConstantValue() is { IsBad: false }) &&
4825
stepValueIsNull = MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType);
4990
else if (operation.
StepValue
.GetConstantValue() is { IsBad: false } value)
5064
operation.
StepValue
.Syntax,
5150
GetCaptureReference(stepValueId, operation.
StepValue
),
5160
operation.
StepValue
.Type,
5200
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
5223
bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.
StepValue
.Type);
5237
MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType),
5247
operation.
StepValue
.Syntax,
5279
IOperation stepValueForIncrement = GetCaptureReference(stepValueId, operation.
StepValue
);
5298
operation.
StepValue
.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
587
Visit(operation.
StepValue
, "StepValue");
Compilation\TestOperationVisitor.cs (1)
324
children = new[] { operation.LoopControlVariable, operation.InitialValue, operation.LimitValue, operation.
StepValue
, operation.Body };