diff options
Diffstat (limited to 'src/mscorlib/src/System/Text/Decoder.cs')
-rw-r--r-- | src/mscorlib/src/System/Text/Decoder.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mscorlib/src/System/Text/Decoder.cs b/src/mscorlib/src/System/Text/Decoder.cs index 0ebbacddcf..a9fea82a39 100644 --- a/src/mscorlib/src/System/Text/Decoder.cs +++ b/src/mscorlib/src/System/Text/Decoder.cs @@ -20,7 +20,6 @@ namespace System.Text // class are typically obtained through calls to the GetDecoder method // of Encoding objects. // - [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public abstract class Decoder { @@ -39,7 +38,6 @@ namespace System.Text // We don't call default reset because default reset probably isn't good if we aren't initialized. } - [System.Runtime.InteropServices.ComVisible(false)] public DecoderFallback Fallback { get @@ -65,7 +63,6 @@ namespace System.Text // Note: we don't test for threading here because async access to Encoders and Decoders // doesn't work anyway. - [System.Runtime.InteropServices.ComVisible(false)] public DecoderFallbackBuffer FallbackBuffer { get @@ -99,7 +96,6 @@ namespace System.Text // // Virtual implimentation has to call GetChars with flush and a big enough buffer to clear a 0 byte string // We avoid GetMaxCharCount() because a) we can't call the base encoder and b) it might be really big. - [System.Runtime.InteropServices.ComVisible(false)] public virtual void Reset() { byte[] byteTemp = Array.Empty<byte>(); @@ -117,7 +113,6 @@ namespace System.Text // public abstract int GetCharCount(byte[] bytes, int index, int count); - [System.Runtime.InteropServices.ComVisible(false)] public virtual int GetCharCount(byte[] bytes, int index, int count, bool flush) { return GetCharCount(bytes, index, count); @@ -126,7 +121,6 @@ namespace System.Text // We expect this to be the workhorse for NLS Encodings, but for existing // ones we need a working (if slow) default implimentation) [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public virtual unsafe int GetCharCount(byte* bytes, int count, bool flush) { // Validate input parameters @@ -190,7 +184,6 @@ namespace System.Text // could easily overflow our output buffer. Therefore we do an extra test // when we copy the buffer so that we don't overflow charCount either. [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public virtual unsafe int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush) { @@ -248,7 +241,6 @@ namespace System.Text // Note that if all of the input bytes are not consumed, then we'll do a /2, which means // that its likely that we didn't consume as many bytes as we could have. For some // applications this could be slow. (Like trying to exactly fill an output buffer from a bigger stream) - [System.Runtime.InteropServices.ComVisible(false)] public virtual void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed) @@ -306,7 +298,6 @@ namespace System.Text // that its likely that we didn't consume as many bytes as we could have. For some // applications this could be slow. (Like trying to exactly fill an output buffer from a bigger stream) [CLSCompliant(false)] - [System.Runtime.InteropServices.ComVisible(false)] public virtual unsafe void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed) |