diff options
Diffstat (limited to 'src/mscorlib/src/System/Text/UTF7Encoding.cs')
-rw-r--r-- | src/mscorlib/src/System/Text/UTF7Encoding.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mscorlib/src/System/Text/UTF7Encoding.cs b/src/mscorlib/src/System/Text/UTF7Encoding.cs index 624ca735f6..9418d2e768 100644 --- a/src/mscorlib/src/System/Text/UTF7Encoding.cs +++ b/src/mscorlib/src/System/Text/UTF7Encoding.cs @@ -10,13 +10,11 @@ namespace System.Text { using System; using System.Runtime.Serialization; - using System.Security.Permissions; using System.Diagnostics; using System.Diagnostics.Contracts; [Serializable] - [System.Runtime.InteropServices.ComVisible(true)] public class UTF7Encoding : Encoding { private const String base64Chars = @@ -127,7 +125,6 @@ namespace System.Text - [System.Runtime.InteropServices.ComVisible(false)] public override bool Equals(Object value) { UTF7Encoding that = value as UTF7Encoding; @@ -142,7 +139,6 @@ namespace System.Text // Compared to all the other encodings, variations of UTF7 are unlikely - [System.Runtime.InteropServices.ComVisible(false)] public override int GetHashCode() { return this.CodePage + this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode(); @@ -170,20 +166,17 @@ namespace System.Text return EncodingForwarder.GetByteCount(this, chars, index, count); } - [System.Runtime.InteropServices.ComVisible(false)] public override int GetByteCount(String s) { return EncodingForwarder.GetByteCount(this, s); } [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public override unsafe int GetByteCount(char* chars, int count) { return EncodingForwarder.GetByteCount(this, chars, count); } - [System.Runtime.InteropServices.ComVisible(false)] public override int GetBytes(String s, int charIndex, int charCount, byte[] bytes, int byteIndex) { @@ -206,7 +199,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); @@ -221,7 +213,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); @@ -234,7 +225,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); @@ -243,7 +233,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); |