4 references to DoesCharacterHaveCasing
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (4)
179
private static readonly Func<string, TextSpan, bool> s_firstCharIsLowerCase = (val, span) => !
DoesCharacterHaveCasing
(val[span.Start]) || char.IsLower(val[span.Start]);
180
private static readonly Func<string, TextSpan, bool> s_firstCharIsUpperCase = (val, span) => !
DoesCharacterHaveCasing
(val[span.Start]) || char.IsUpper(val[span.Start]);
186
if (
DoesCharacterHaveCasing
(val[i]) && !char.IsUpper(val[i]))
199
if (
DoesCharacterHaveCasing
(val[i]) && !char.IsLower(val[i]))