1 implementation of StepValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4022public IOperation StepValue { get; }
20 references to StepValue
Microsoft.CodeAnalysis (18)
Operations\ControlFlowGraphBuilder.cs (18)
4658ITypeSymbol? stepEnumUnderlyingTypeOrSelf = ITypeSymbolHelpers.GetEnumUnderlyingTypeOrSelf(operation.StepValue.Type); 4774PushOperand(VisitRequired(operation.StepValue)); 4791VisitAndCapture(operation.StepValue, stepValueId); 4793IOperation stepValue = GetCaptureReference(stepValueId, operation.StepValue); 4801_forToLoopBinaryOperatorLeftOperand = GetCaptureReference(stepValueId, operation.StepValue); 4802_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.StepValue); 4817else if (!(operation.StepValue.GetConstantValue() is { IsBad: false }) && 4825stepValueIsNull = MakeIsNullOperation(GetCaptureReference(stepValueId, operation.StepValue), booleanType); 4990else if (operation.StepValue.GetConstantValue() is { IsBad: false } value) 5064operation.StepValue.Syntax, 5150GetCaptureReference(stepValueId, operation.StepValue), 5160operation.StepValue.Type, 5200_forToLoopBinaryOperatorRightOperand = GetCaptureReference(stepValueId, operation.StepValue); 5223bool isNullable = ITypeSymbolHelpers.IsNullableType(operation.StepValue.Type); 5237MakeIsNullOperation(GetCaptureReference(stepValueId, operation.StepValue), booleanType), 5247operation.StepValue.Syntax, 5279IOperation stepValueForIncrement = GetCaptureReference(stepValueId, operation.StepValue); 5298operation.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 };