1 implementation of StepValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4395public IOperation StepValue { get; }
20 references to StepValue
Microsoft.CodeAnalysis (18)
Operations\ControlFlowGraphBuilder.cs (18)
4755ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.StepValue.Type); 4871PushOperand(VisitRequired(operation.StepValue)); 4888VisitAndCapture(operation.StepValue, stepValueId); 4890IOperation stepValue = GetCaptureReference(stepValueId, operation.StepValue); 4898_forToLoopBinaryOperatorLeftOperand = GetCaptureReference(stepValueId, operation.StepValue); 4899_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.StepValue); 4914else if (!(operation.StepValue.GetConstantValue() is { IsBad: false }) && 4922stepValueIsNull = MakeIsNullOperation(GetCaptureReference(stepValueId, operation.StepValue), booleanType); 5087else if (operation.StepValue.GetConstantValue() is { IsBad: false } value) 5161operation.StepValue.Syntax, 5247GetCaptureReference(stepValueId, operation.StepValue), 5257operation.StepValue.Type, 5297_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.StepValue); 5320bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.StepValue.Type); 5334MakeIsNullOperation(GetCaptureReference(stepValueId, operation.StepValue), booleanType), 5344operation.StepValue.Syntax, 5376IOperation stepValueForIncrement = GetCaptureReference(stepValueId, operation.StepValue); 5395operation.StepValue.Syntax,
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
587Visit(operation.StepValue, "StepValue");
Compilation\TestOperationVisitor.cs (1)
324children = new[] { operation.LoopControlVariable, operation.InitialValue, operation.LimitValue, operation.StepValue, operation.Body };