8 references to ValueTypeRational
System.Drawing.Common (4)
System\Drawing\Imaging\EncoderParameter.cs (4)
118_parameterValueType = EncoderParameterValueType.ValueTypeRational; 235_parameterValueType = EncoderParameterValueType.ValueTypeRational; 305EncoderParameterValueType.ValueTypeRational or EncoderParameterValueType.ValueTypeLongRange => 2 * 4, 330EncoderParameterValueType.ValueTypeRational or EncoderParameterValueType.ValueTypeLongRange => 2 * 4,
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\EncoderParameterTests.cs (4)
82CheckEncoderParameter(ep, s_anyEncoder, EncoderParameterValueType.ValueTypeRational, 1); 153CheckEncoderParameter(ep, s_anyEncoder, EncoderParameterValueType.ValueTypeRational, numerator.Length); 180yield return new object[] { 0, EncoderParameterValueType.ValueTypeRational, IntPtr.Zero }; 305[InlineData(EncoderParameterValueType.ValueTypeRational, (int.MaxValue / 8) + 1, typeof(OverflowException))]