diff options
author | Stephen Toub <stoub@microsoft.com> | 2018-06-24 08:22:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 08:22:35 -0400 |
commit | 0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6 (patch) | |
tree | d2e491bcc12be107d00e496171274c7c180b6013 /src/System.Private.CoreLib/shared/System/Security | |
parent | eb31c358b27182dae487406a3247dfe995beb40f (diff) | |
download | coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.gz coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.bz2 coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.zip |
Simply type names in Corelib (#18623)
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Security')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Security/SecureString.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecureString.cs b/src/System.Private.CoreLib/shared/System/Security/SecureString.cs index 22f15accaa..5eb66290e3 100644 --- a/src/System.Private.CoreLib/shared/System/Security/SecureString.cs +++ b/src/System.Private.CoreLib/shared/System/Security/SecureString.cs @@ -139,7 +139,7 @@ namespace System.Security { throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_IndexString); } - Debug.Assert(index <= Int32.MaxValue / sizeof(char)); + Debug.Assert(index <= int.MaxValue / sizeof(char)); EnsureNotDisposed(); EnsureNotReadOnly(); |