8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9f766 commit e3f6978Copy full SHA for e3f6978
src/Microsoft.DotNet.Wpf/src/WindowsBase/MS/Internal/ContentType.cs
@@ -636,21 +636,7 @@ private static bool IsAsciiLetterOrDigit(char character) =>
636
/// </summary>
637
/// <param name="ch">input character</param>
638
/// <returns></returns>
639
- private static bool IsLinearWhiteSpaceChar(char ch)
640
- {
641
- if (ch > ' ')
642
643
- return false;
644
- }
645
-
646
- foreach (char c in LinearWhiteSpaceChars)
647
648
- if (ch == c)
649
- return true;
650
651
652
653
+ private static bool IsLinearWhiteSpaceChar(char ch) => LinearWhiteSpaceChars.Contains(ch);
654
655
/// <summary>
656
/// Lazy initialization for the ParameterDictionary
0 commit comments