+2007-05-03 Dick Porter <dick@ximian.com>
+
+ * ProxyAttribute.cs:
+ * RealProxy.cs: Update to 2.0 profile
+
2006-07-15 Jonathan Chambers <joncham@gmail.com>
* RealProxy.cs: Indicate that all fields need keep in sync
using System.Runtime.Remoting.Contexts;
using System.Runtime.Remoting.Channels;
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
+
namespace System.Runtime.Remoting.Proxies {
[AttributeUsage (AttributeTargets.Class)]
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class ProxyAttribute : Attribute, IContextAttribute
{
public ProxyAttribute ()
return RemotingServices.GetRealProxy (RemotingServices.GetProxyForRemoteObject (objref, serverType));
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public void GetPropertiesForNewContext (IConstructionCallMessage msg)
{
// Nothing to add
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public bool IsContextOK (Context ctx, IConstructionCallMessage msg)
{
return true;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
namespace System.Runtime.Remoting.Proxies
{
bool _custom_type_info;
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public abstract class RealProxy {
// other classes visible to the runtime
// derive from this class so keep these locals
}
[MonoTODO]
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public IConstructionReturnMessage InitializeServerObject(IConstructionCallMessage ctorMsg)
{
throw new NotImplementedException();
+2007-05-03 Dick Porter <dick@ximian.com>
+
+ * ITrackingHandler.cs:
+ * EnterpriseServicesHelper.cs:
+ * TrackingServices.cs: Update to 2.0 profile
+
2005-08-18 Lluis Sanchez Gual <lluis@ximian.com>
* TrackingServices.cs: Properly generate an array from the
using System.Runtime.Remoting.Activation;
using System.Runtime.Remoting.Proxies;
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
+
namespace System.Runtime.Remoting.Services
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class EnterpriseServicesHelper
{
public EnterpriseServicesHelper ()
{
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public static IConstructionReturnMessage CreateConstructionReturnMessage (IConstructionCallMessage ctorMsg, MarshalByRefObject retObj)
{
return new ConstructionResponse (retObj, null, ctorMsg);
using System.Runtime.Remoting;
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
+
namespace System.Runtime.Remoting.Services {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public interface ITrackingHandler
{
void DisconnectedObject (object obj);
using System.Collections;
using System.Runtime.Remoting;
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
+
namespace System.Runtime.Remoting.Services {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class TrackingServices {
static ArrayList _handlers = new ArrayList();
namespace System.Runtime.Serialization.Formatters.Binary {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class BinaryFormatter : IRemotingFormatter, IFormatter
{
#if NET_2_0
}
#if NET_1_1
+#if !NET_2_0
[System.Runtime.InteropServices.ComVisible (false)]
+#endif
public TypeFilterLevel FilterLevel
{
get { return filter_level; }
+2007-05-03 Dick Porter <dick@ximian.com>
+
+ * BinaryFormatter.cs: Update to 2.0 profile
+
2006-12-25 Robert Jordan <robertj@gmx.net>
* binary_serialization_format.htm: Update the NET_2_0 format.
+2007-05-03 Dick Porter <dick@ximian.com>
+
+ * IFieldInfo.cs:
+ * ISoapMessage.cs:
+ * InternalRM.cs:
+ * InternalST.cs:
+ * ServerFault.cs:
+ * SoapFault.cs:
+ * SoapMessage.cs:
+ * FormatterAssemblyStyle.cs:
+ * FormatterTypeStyle.cs:
+ * TypeFilterLevel.cs: Update to 2.0 profile
+
2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
* SoapMessage.cs: fixed serialization compatibility with MS.NET
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
namespace System.Runtime.Serialization.Formatters {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+ [Serializable]
+#endif
public enum FormatterAssemblyStyle {
/// <summary>
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
namespace System.Runtime.Serialization.Formatters {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+ [Serializable]
+#endif
public enum FormatterTypeStyle {
/// <summary>
//\r
// (C) David Dawkins\r
//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
+\r
+#if NET_2_0\r
+using System.Runtime.InteropServices;\r
+#endif\r
\r
namespace System.Runtime.Serialization.Formatters {\r
\r
/// <summary>\r
/// Interface for querying field information on serialized objects.</summary>\r
+#if NET_2_0\r
+ [ComVisible (true)]\r
+#endif\r
public interface IFieldInfo {\r
\r
/// <summary>\r
//\r
// (C) David Dawkins\r
//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
\r
using System.Runtime.Remoting.Messaging;\r
\r
+#if NET_2_0\r
+using System.Runtime.InteropServices;\r
+#endif\r
+\r
namespace System.Runtime.Serialization.Formatters {\r
\r
/// <summary>\r
/// Interface for making SOAP method calls</summary>\r
+#if NET_2_0\r
+ [ComVisible (true)]\r
+#endif\r
public interface ISoapMessage {\r
\r
/// <summary>\r
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if NET_2_0
+using System.Runtime.InteropServices;
+using System.Diagnostics;
+#endif
+
namespace System.Runtime.Serialization.Formatters
{
//LAMESPEC: Use of this class??
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class InternalRM
{
- private InternalRM ()
+#if NET_2_0
+ public
+#else
+ private
+#endif
+ InternalRM ()
+ {
+ }
+
+#if NET_2_0
+ [Conditional ("_LOGGING")]
+ public static void InfoSoap (params object[] messages)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static bool SoapCheckEnabled ()
{
+ throw new NotImplementedException ();
}
+#endif
}
}
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if NET_2_0
+using System.Runtime.InteropServices;
+using System.Diagnostics;
+using System.Reflection;
+#endif
+
namespace System.Runtime.Serialization.Formatters
{
//LAMESPEC: Use of this class??
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class InternalST
{
private InternalST ()
{
}
+
+#if NET_2_0
+ [Conditional ("_LOGGING")]
+ public static void InfoSoap (params object[] messages)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static Assembly LoadAssemblyFromString (string assemblyString)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static void SerializationSetValue (FieldInfo fi,
+ object target,
+ object value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [Conditional ("SER_LOGGING")]
+ public static void Soap (params object[] messages)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [Conditional ("_DEBUG")]
+ public static void SoapAssert (bool condition, string message)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public static bool SoapCheckEnabled ()
+ {
+ throw new NotImplementedException ();
+ }
+#endif
}
}
//\r
// 2002 (C) Copyright, Ximian, Inc.\r
//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
\r
-using System;
+//\r
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
+\r
+using System;\r
using System.Runtime.Remoting.Metadata;\r
using System.Runtime.Serialization;\r
\r
+#if NET_2_0\r
+using System.Runtime.InteropServices;\r
+#endif\r
+\r
namespace System.Runtime.Serialization.Formatters {\r
\r
- [Serializable]
+ [Serializable]\r
[SoapType()]\r
+#if NET_2_0\r
+ [ComVisible (true)]\r
+#endif\r
public sealed class ServerFault\r
{\r
string exceptionType;\r
//\r
// 2002 (C) Copyright, Ximian, Inc.\r
//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
\r
-using System;
+//\r
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
+\r
+using System;\r
using System.Runtime.Remoting.Metadata;\r
using System.Runtime.Serialization;\r
\r
+#if NET_2_0\r
+using System.Runtime.InteropServices;\r
+#endif\r
+\r
namespace System.Runtime.Serialization.Formatters {\r
\r
- [Serializable]
+ [Serializable]\r
[SoapType()]\r
+#if NET_2_0\r
+ [ComVisible (true)]\r
+#endif\r
public sealed class SoapFault : ISerializable\r
{\r
string code;\r
//\r
// 2002 (C) Copyright, Ximian, Inc.\r
//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
\r
using System;\r
using System.Runtime.Remoting.Messaging;\r
using System.Runtime.Serialization.Formatters;\r
\r
+#if NET_2_0\r
+using System.Runtime.InteropServices;\r
+#endif\r
+\r
namespace System.Runtime.Serialization.Formatters {\r
\r
[Serializable]\r
+#if NET_2_0\r
+ [ComVisible (true)]\r
+#endif\r
public class SoapMessage : ISoapMessage\r
{\r
private Header[] headers;\r
#if NET_1_1
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
+
namespace System.Runtime.Serialization.Formatters
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public enum TypeFilterLevel
{
Low = 2,
+2007-05-03 Dick Porter <dick@ximian.com>
+
+ * Encoding.cs:
+ * UnicodeEncoding.cs:
+ * UTF7Encoding.cs: Update to 2.0 profile
+
2007-02-01 Gert Driesen <drieseng@users.sourceforge.net>
* Encoding.cs: Enabled ArgumentException in GetEncoding (string) again.
return encoding_infos;
}
+ [ComVisible (false)]
public bool IsAlwaysNormalized ()
{
return IsAlwaysNormalized (NormalizationForm.FormC);
}
+ [ComVisible (false)]
public virtual bool IsAlwaysNormalized (NormalizationForm form)
{
// umm, ASCIIEncoding should have overriden this method, no?
}
#if NET_2_0
+ [ComVisible (false)]
public override int GetHashCode ()
{
int basis = base.GetHashCode ();
return allowOptionals ? -basis : basis;
}
- [ComVisible(true)]
+ [ComVisible(false)]
public override bool Equals (object other)
{
UTF7Encoding e = other as UTF7Encoding;
// a bunch of practically missing implementations (but should just work)
[CLSCompliantAttribute (false)]
- [ComVisible(true)]
+ [ComVisible(false)]
public override unsafe int GetByteCount (char *chars, int count)
{
return base.GetByteCount (chars, count);
}
- [ComVisible(true)]
+ [ComVisible(false)]
public override int GetByteCount (string s)
{
return base.GetByteCount (s);
}
- [ComVisible(true)]
+ [ComVisible(false)]
[CLSCompliantAttribute (false)]
public override unsafe int GetBytes (char *chars, int charCount, byte* bytes, int byteCount)
{
return base.GetBytes (chars, charCount, bytes, byteCount);
}
- [ComVisible(true)]
+ [ComVisible(false)]
public override int GetBytes (string s, int charIndex, int charCount, byte [] bytes, int byteIndex)
{
return base.GetBytes (s, charIndex, charCount, bytes, byteIndex);
}
- [ComVisible(true)]
+ [ComVisible(false)]
[CLSCompliantAttribute (false)]
public override unsafe int GetCharCount (byte *bytes, int count)
{
return base.GetCharCount (bytes, count);
}
- [ComVisible(true)]
+ [ComVisible(false)]
[CLSCompliantAttribute (false)]
public override unsafe int GetChars (byte* bytes, int byteCount, char* chars, int charCount)
{
return base.GetChars (bytes, byteCount, chars, charCount);
}
- [ComVisible(true)]
+ [ComVisible(false)]
public override string GetString (byte [] bytes, int index, int count)
{
return base.GetString (bytes, index, count);
return count;
}
+ [ComVisible (false)]
+ public override Encoder GetEncoder ()
+ {
+ return(base.GetEncoder ());
+ }
+
// Get the maximum number of bytes needed to encode a
// specified number of characters.
public override int GetMaxByteCount (int charCount)