16 references to StringDigitSubstitute
System.Drawing (1)
System.Drawing.cs (1)
149[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.StringDigitSubstitute))]
System.Drawing.Common (2)
Special\NotSupported.cs (2)
1137public System.Drawing.StringDigitSubstitute DigitSubstitutionMethod { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 1148public void SetDigitSubstitution(int language, System.Drawing.StringDigitSubstitute substitute) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (13)
System\Drawing\StringFormatTests.cs (13)
19Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 34Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 50Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 64Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 105Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 126[InlineData(0, StringDigitSubstitute.None, 0)] 127[InlineData(EnglishLanguageCode, StringDigitSubstitute.Traditional, EnglishLanguageCode)] 128[InlineData(int.MaxValue, StringDigitSubstitute.Traditional + 1, 65535)] 129[InlineData(-1, StringDigitSubstitute.User - 1, 65535)] 130public void SetDigitSubstitution_Invoke_SetsProperties(int language, StringDigitSubstitute substitute, int expectedLanguage) 144AssertExtensions.Throws<ArgumentException>(null, () => format.SetDigitSubstitution(0, StringDigitSubstitute.None)); 397Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod); 412Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);