mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Style: Use the type aliases 'char' and 'bool' instead of 'Char' and 'Boolean' (#8572)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user