summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Security
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2018-06-24 08:22:35 -0400
committerGitHub <noreply@github.com>2018-06-24 08:22:35 -0400
commit0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6 (patch)
treed2e491bcc12be107d00e496171274c7c180b6013 /src/System.Private.CoreLib/shared/System/Security
parenteb31c358b27182dae487406a3247dfe995beb40f (diff)
downloadcoreclr-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.cs2
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();