1 implementation of StepValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4395
public IOperation
StepValue
{ get; }
20 references to StepValue
Microsoft.CodeAnalysis (18)
Operations\ControlFlowGraphBuilder.cs (18)
4755
ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.
StepValue
.Type);
4871
PushOperand(VisitRequired(operation.
StepValue
));
4888
VisitAndCapture(operation.
StepValue
, stepValueId);
4890
IOperation stepValue = GetCaptureReference(stepValueId, operation.
StepValue
);
4898
_forToLoopBinaryOperatorLeftOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4899
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4914
else if (!(operation.
StepValue
.GetConstantValue() is { IsBad: false }) &&
4922
stepValueIsNull = MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType);
5087
else if (operation.
StepValue
.GetConstantValue() is { IsBad: false } value)
5161
operation.
StepValue
.Syntax,
5247
GetCaptureReference(stepValueId, operation.
StepValue
),
5257
operation.
StepValue
.Type,
5297
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
5320
bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.
StepValue
.Type);
5334
MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType),
5344
operation.
StepValue
.Syntax,
5376
IOperation stepValueForIncrement = GetCaptureReference(stepValueId, operation.
StepValue
);
5395
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 };