summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Text/Encoding.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Encoding.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Text/Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
index a67859f233..005f08afd7 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
@@ -603,7 +603,7 @@ namespace System.Text
}
- public virtual Object Clone()
+ public virtual object Clone()
{
Encoding newEncoding = (Encoding)this.MemberwiseClone();
@@ -1241,7 +1241,7 @@ namespace System.Text
private static Encoding BigEndianUTF32 => UTF32Encoding.s_bigEndianDefault;
- public override bool Equals(Object value)
+ public override bool Equals(object value)
{
Encoding that = value as Encoding;
if (that != null)
@@ -1325,7 +1325,7 @@ namespace System.Text
_encoding = encoding;
}
- public Object GetRealObject(StreamingContext context)
+ public object GetRealObject(StreamingContext context)
{
throw new PlatformNotSupportedException();
}
@@ -1390,7 +1390,7 @@ namespace System.Text
_encoding = encoding;
}
- public Object GetRealObject(StreamingContext context)
+ public object GetRealObject(StreamingContext context)
{
throw new PlatformNotSupportedException();
}