Style: Use the type aliases 'char' and 'bool' instead of 'Char' and 'Boolean' (#8572)

This commit is contained in:
Ilya authored and Dongbo Wang committed 2019-01-07 11:40:07 -08:00
1 parent 23f6e8ff40
commit f95dae55f7
26 files changed
+47 -47

No files matched your search

@@ -33,7 +33,7 @@ namespace System.Management.Automation.SecurityAccountsManager.Extensions
bool allowSidConstants = false)
{
if (!allowSidConstants)
if (!(s.Length > 2 && s.StartsWith("S-", StringComparison.Ordinal) && Char.IsDigit(s[2])))
if (!(s.Length > 2 && s.StartsWith("S-", StringComparison.Ordinal) && char.IsDigit(s[2])))
return null;
SecurityIdentifier sid = null;