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