1 implementation of StepValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4433
public IOperation
StepValue
{ get; }
20 references to StepValue
Microsoft.CodeAnalysis (18)
Operations\ControlFlowGraphBuilder.cs (18)
4757
ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.
StepValue
.Type);
4873
PushOperand(VisitRequired(operation.
StepValue
));
4890
VisitAndCapture(operation.
StepValue
, stepValueId);
4892
IOperation stepValue = GetCaptureReference(stepValueId, operation.
StepValue
);
4900
_forToLoopBinaryOperatorLeftOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4901
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
4916
else if (!(operation.
StepValue
.GetConstantValue() is { IsBad: false }) &&
4924
stepValueIsNull = MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType);
5089
else if (operation.
StepValue
.GetConstantValue() is { IsBad: false } value)
5163
operation.
StepValue
.Syntax,
5249
GetCaptureReference(stepValueId, operation.
StepValue
),
5259
operation.
StepValue
.Type,
5299
_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.
StepValue
);
5322
bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.
StepValue
.Type);
5336
MakeIsNullOperation(GetCaptureReference(stepValueId, operation.
StepValue
), booleanType),
5346
operation.
StepValue
.Syntax,
5378
IOperation stepValueForIncrement = GetCaptureReference(stepValueId, operation.
StepValue
);
5397
operation.
StepValue
.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
569
Visit(operation.
StepValue
, "StepValue");
Compilation\TestOperationVisitor.cs (1)
325
children = new[] { operation.LoopControlVariable, operation.InitialValue, operation.LimitValue, operation.
StepValue
, operation.Body };