summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Int64.cs
diff options
context:
space:
mode:
authorPhil Garcia <phil@thinkedge.com>2018-06-25 22:27:59 -0700
committerPhil Garcia <phil@thinkedge.com>2018-06-25 22:27:59 -0700
commit7fa1530c9d86ca3d4fc54a3c98de1ca667e1022b (patch)
tree6c5fc9a455d5915834296cea5204968987c38c8b /src/System.Private.CoreLib/shared/System/Int64.cs
parente910f324401e330bd586df8beb653c90616dd134 (diff)
downloadcoreclr-7fa1530c9d86ca3d4fc54a3c98de1ca667e1022b.tar.gz
coreclr-7fa1530c9d86ca3d4fc54a3c98de1ca667e1022b.tar.bz2
coreclr-7fa1530c9d86ca3d4fc54a3c98de1ca667e1022b.zip
Changed internal value to readonly to all the primitive types
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Int64.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Int64.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Int64.cs b/src/System.Private.CoreLib/shared/System/Int64.cs
index 29198781d7..62c9ffd4fe 100644
--- a/src/System.Private.CoreLib/shared/System/Int64.cs
+++ b/src/System.Private.CoreLib/shared/System/Int64.cs
@@ -12,9 +12,9 @@ namespace System
[Serializable]
[StructLayout(LayoutKind.Sequential)]
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public struct Int64 : IComparable, IConvertible, IFormattable, IComparable<long>, IEquatable<long>, ISpanFormattable
+ public readonly struct Int64 : IComparable, IConvertible, IFormattable, IComparable<long>, IEquatable<long>, ISpanFormattable
{
- private long m_value; // Do not rename (binary serialization)
+ private readonly long m_value; // Do not rename (binary serialization)
public const long MaxValue = 0x7fffffffffffffffL;
public const long MinValue = unchecked((long)0x8000000000000000L);