C# Class System.Globalization.Tests.UseStd3AsciiRules

According to the ToASCII algorithm, if the UseSTD3ASCIIRules flag is set, then perform these checks: (a) Verify the absence of non-LDH ASCII code points; that is, the absence of 0..2C, 2E..2F, 3A..40, 5B..60, and 7B..7F. (b) Verify the absence of leading and trailing hyphen-minus; that is, the absence of U+002D at the beginning and end of the sequence. By default this flag should not be set.
Show file Open project: dotnet/corefx

Private Methods

Method Description
UseStd3AsciiRules_ChangesGetAsciiBehavior ( string unicode, bool containsInvalidHyphen ) : void
UseStd3AsciiRules_IsFalseByDefault ( ) : void
UseStd3AsciiRules_NonLDH_ASCII_Codepoint ( ) : void