diff options
Diffstat (limited to 'src/mscorlib/src/System/Text/UTF8Encoding.cs')
-rw-r--r-- | src/mscorlib/src/System/Text/UTF8Encoding.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mscorlib/src/System/Text/UTF8Encoding.cs b/src/mscorlib/src/System/Text/UTF8Encoding.cs index ba19649b56..191bbfef56 100644 --- a/src/mscorlib/src/System/Text/UTF8Encoding.cs +++ b/src/mscorlib/src/System/Text/UTF8Encoding.cs @@ -20,7 +20,6 @@ namespace System.Text using System; using System.Globalization; using System.Runtime.Serialization; - using System.Security.Permissions; using System.Diagnostics; using System.Diagnostics.Contracts; @@ -37,7 +36,6 @@ namespace System.Text // switch the byte orderings. [Serializable] -[System.Runtime.InteropServices.ComVisible(true)] public class UTF8Encoding : Encoding { /* @@ -131,7 +129,6 @@ namespace System.Text } [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public override unsafe int GetByteCount(char* chars, int count) { return EncodingForwarder.GetByteCount(this, chars, count); @@ -159,7 +156,6 @@ namespace System.Text } [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public override unsafe int GetBytes(char* chars, int charCount, byte* bytes, int byteCount) { return EncodingForwarder.GetBytes(this, chars, charCount, bytes, byteCount); @@ -174,7 +170,6 @@ namespace System.Text } [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public override unsafe int GetCharCount(byte* bytes, int count) { return EncodingForwarder.GetCharCount(this, bytes, count); @@ -187,7 +182,6 @@ namespace System.Text } [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount) { return EncodingForwarder.GetChars(this, bytes, byteCount, chars, charCount); @@ -196,7 +190,6 @@ namespace System.Text // Returns a string containing the decoded representation of a range of // bytes in a byte array. - [System.Runtime.InteropServices.ComVisible(false)] public override String GetString(byte[] bytes, int index, int count) { return EncodingForwarder.GetString(this, bytes, index, count); |