[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.11,1.12
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.11,1.12 AppDomain.cs,1.16,1.17 AppDomainSetup.cs,1.1,1.2 ArgumentException.cs,1.7,1.8 Array.cs,1.25,1.26 Decimal.cs,1.12,1.13 Delegate.cs,1.11,1.12 Double.cs,1.12,1.13 Int32.cs,1.11,1.12 MarshalByRefObject.cs,1.5,1.6 MissingFieldException.cs,1.7,1.8 MissingMemberException.cs,1.8,1.9 MissingMethodException.cs,1.7,1.8 MulticastDelegate.cs,1.5,1.6 |
Date: |
Wed, 23 Apr 2003 07:00:46 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv12174/runtime/System
Modified Files:
Activator.cs AppDomain.cs AppDomainSetup.cs
ArgumentException.cs Array.cs Decimal.cs Delegate.cs Double.cs
Int32.cs MarshalByRefObject.cs MissingFieldException.cs
MissingMemberException.cs MissingMethodException.cs
MulticastDelegate.cs
Log Message:
More signature-compatibility tweaks.
Index: Activator.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Activator.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Activator.cs 22 Apr 2003 12:17:29 -0000 1.11
--- Activator.cs 23 Apr 2003 11:00:42 -0000 1.12
***************
*** 2,6 ****
* Activator.cs - Implementation of the "System.Activator" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 2,6 ----
* Activator.cs - Implementation of the "System.Activator" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 28,31 ****
--- 28,32 ----
using System.Globalization;
using System.Security.Policy;
+ using System.Configuration.Assemblies;
#if ECMA_COMPAT
***************
*** 58,61 ****
--- 59,68 ----
typeName));
}
+ public static ObjectHandle CreateComInstanceFrom
+ (String assemblyName, String typeName,
+ byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
+ {
+ return CreateComInstanceFrom(assemblyName, typeName);
+ }
#endif // CONFIG_REMOTING
***************
*** 119,122 ****
--- 126,150 ----
}
+ #if !ECMA_COMPAT
+ // Alternative way to create an instance with implicitly-specified
+ // binding flag values.
+ public static Object CreateInstance(Type type, bool nonPublic)
+ {
+ if(nonPublic)
+ {
+ return CreateInstance
+ (type, BindingFlags.Public |
BindingFlags.NonPublic |
+ BindingFlags.Instance,
+ null, null, null, null);
+ }
+ else
+ {
+ return CreateInstance
+ (type, BindingFlags.Public |
BindingFlags.Instance,
+ null, null, null, null);
+ }
+ }
+ #endif
+
#if CONFIG_REMOTING
***************
*** 204,207 ****
--- 232,257 ----
(CreateInstance(type, bindingAttr, binder, args,
culture,
activationAttributes));
+ }
+
+ // Get a proxy for a remote well-known object.
+ public static Object GetObject(Type type, String url)
+ {
+ return GetObject(type, url, null);
+ }
+ [TODO]
+ public static Object GetObject(Type type, String url, Object state)
+ {
+ // Validate the parameters.
+ if(type == null)
+ {
+ throw new ArgumentNullException("type");
+ }
+ if(url == null)
+ {
+ throw new ArgumentNullException("url");
+ }
+
+ // We don't support remoting operations yet.
+ throw new RemotingException();
}
Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** AppDomain.cs 17 Apr 2003 10:36:07 -0000 1.16
--- AppDomain.cs 23 Apr 2003 11:00:42 -0000 1.17
***************
*** 29,38 ****
using System.Reflection.Emit;
using System.Runtime.Remoting;
using System.Security.Policy;
using System.Security.Principal;
#if CONFIG_RUNTIME_INFRA
! public sealed class AppDomain : MarshalByRefObject, _AppDomain
{
// Internal state.
--- 29,48 ----
using System.Reflection.Emit;
using System.Runtime.Remoting;
+ using System.Runtime.InteropServices;
using System.Security.Policy;
using System.Security.Principal;
+ using System.Configuration.Assemblies;
+ using System.Threading;
#if CONFIG_RUNTIME_INFRA
! #if !ECMA_COMPAT
! [ClassInterface(ClassInterfaceType.None)]
! #endif
! public sealed class AppDomain
! : MarshalByRefObject, _AppDomain
! #if !ECMA_COMPAT
! , IEvidenceFactory
! #endif
{
// Internal state.
***************
*** 242,245 ****
--- 252,270 ----
}
+ // Create a COM object instance using the local activator logic.
+ public ObjectHandle CreateComInstanceFrom
+ (String assemblyName, String typeName)
+ {
+ return Activator.CreateComInstanceFrom
+ (assemblyName, typeName);
+ }
+ public ObjectHandle CreateComInstanceFrom
+ (String assemblyName, String typeName,
+ byte[] hashValue, AssemblyHashAlgorithm
hashAlgorithm)
+ {
+ return Activator.CreateComInstanceFrom
+ (assemblyName, typeName, hashValue,
hashAlgorithm);
+ }
+
#endif // !ECMA_COMPAT
***************
*** 329,332 ****
--- 354,385 ----
}
+ // Create a remote instance of a type and unwrap it.
+ public Object CreateInstanceFromAndUnwrap(String assemblyName,
+
String typeName)
+ {
+ return CreateInstanceFrom(assemblyName,
typeName).Unwrap();
+ }
+ public Object CreateInstanceFromAndUnwrap(String assemblyName,
+
String typeName,
+
Object[] activationAttributes)
+ {
+ return CreateInstanceFrom(assemblyName,
typeName,
+
activationAttributes).Unwrap();
+ }
+ public Object CreateInstanceFromAndUnwrap(String assemblyName,
+
String typeName,
+
bool ignoreCase,
+
BindingFlags bindingAttr,
+
Binder binder, Object[] args,
+
CultureInfo culture,
+
Object[] activationAttributes,
+
Evidence securityAttributes)
+ {
+ return CreateInstanceFrom(assemblyName,
typeName, ignoreCase,
+
bindingAttr, binder, args, culture,
+
activationAttributes,
+
securityAttributes).Unwrap();
+ }
+
// Execute a delegate in a foreign application domain.
[TODO]
***************
*** 449,462 ****
public int ExecuteAssembly(String assemblyFile)
{
! return ExecuteAssembly(assemblyFile, null,
null);
}
public int ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity)
{
! return ExecuteAssembly(assemblyFile,
assemblySecurity, null);
}
- [TODO]
public int ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity,
String[] args)
{
if(assemblyFile == null)
{
--- 502,524 ----
public int ExecuteAssembly(String assemblyFile)
{
! return ExecuteAssembly(assemblyFile, null, null,
!
null, AssemblyHashAlgorithm.None);
}
public int ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity)
{
! return ExecuteAssembly(assemblyFile,
assemblySecurity, null,
!
null, AssemblyHashAlgorithm.None);
}
public int ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity,
String[] args)
{
+ return ExecuteAssembly(assemblyFile,
assemblySecurity,
+
args, null, AssemblyHashAlgorithm.None);
+ }
+ [TODO]
+ public int ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity,
+ String[] args,
byte[] hashValue,
+
AssemblyHashAlgorithm hashAlgorithm)
+ {
if(assemblyFile == null)
{
***************
*** 475,478 ****
--- 537,546 ----
}
+ // Get the current thread identifier.
+ public static int GetCurrentThreadId()
+ {
+ return Thread.InternalGetThreadId();
+ }
+
// Fetch the object associated with a particular data name.
public Object GetData(String name)
***************
*** 481,484 ****
--- 549,564 ----
}
+ // Get the type of this instance.
+ public new Type GetType()
+ {
+ return base.GetType();
+ }
+
+ // Determine if this domain is running finalizers prior to unload.
+ public bool IsFinalizingForUnload()
+ {
+ return false;
+ }
+
// Load an assembly into this application domain by name.
public Assembly Load(AssemblyName assemblyRef)
***************
*** 570,577 ****
--- 650,669 ----
}
+ // Set the dynamic base path.
+ public void SetDynamicBase(String path)
+ {
+ setup.DynamicBase = path;
+ }
+
// Set the policy for principals.
public void SetPrincipalPolicy(PrincipalPolicy policy)
{
// Nothing to do here: we don't use such
policies.
+ }
+
+ // Turn on shadow copying.
+ public void SetShadowCopyFiles()
+ {
+ setup.ShadowCopyFiles = "true";
}
Index: AppDomainSetup.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomainSetup.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AppDomainSetup.cs 1 Feb 2003 03:31:45 -0000 1.1
--- AppDomainSetup.cs 23 Apr 2003 11:00:42 -0000 1.2
***************
*** 42,45 ****
--- 42,47 ----
private String shadowCopyFiles;
private bool disallowPublisherPolicy;
+ private bool disallowBindingRedirects;
+ private bool disallowCodeDownload;
private LoaderOptimization loaderOptimization;
***************
*** 163,166 ****
--- 165,190 ----
// Other properties.
+ public bool DisallowBindingRedirects
+ {
+ get
+ {
+ return disallowBindingRedirects;
+ }
+ set
+ {
+ disallowBindingRedirects = value;
+ }
+ }
+ public bool DisallowCodeDownload
+ {
+ get
+ {
+ return disallowCodeDownload;
+ }
+ set
+ {
+ disallowCodeDownload = value;
+ }
+ }
public bool DisallowPublisherPolicy
{
Index: ArgumentException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** ArgumentException.cs 7 Apr 2003 04:22:51 -0000 1.7
--- ArgumentException.cs 23 Apr 2003 11:00:42 -0000 1.8
***************
*** 62,65 ****
--- 62,74 ----
}
}
+ #if !ECMA_COMPAT
+ public override String Message
+ {
+ get
+ {
+ return base.Message;
+ }
+ }
+ #endif
// Get the default message to use for this exception type.
Index: Array.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Array.cs,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** Array.cs 23 Apr 2003 06:28:50 -0000 1.25
--- Array.cs 23 Apr 2003 11:00:42 -0000 1.26
***************
*** 24,27 ****
--- 24,28 ----
using System.Collections;
using System.Reflection;
+ using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
***************
*** 1399,1402 ****
--- 1400,1406 ----
}
}
+ #if !ECMA_COMPAT
+ [ComVisible(false)]
+ #endif
public long LongLength
{
***************
*** 1424,1427 ****
--- 1428,1579 ----
}
}
+
+ #if !ECMA_COMPAT
+
+ // Downgrade a 64-bit index to 32-bit.
+ private static int DowngradeIndex(String name, long index)
+ {
+ if(index < (long)(Int32.MinValue) || index >
(long)(Int32.MaxValue))
+ {
+ throw new ArgumentOutOfRangeException
+ ("name", _("ArgRange_Array"));
+ }
+ return unchecked((int)index);
+ }
+ private static int DowngradeIndex2(String name, long index)
+ {
+ if(index < (long)(Int32.MinValue) || index >
(long)(Int32.MaxValue))
+ {
+ throw new
IndexOutOfRangeException(_("Arg_InvalidArrayIndex"));
+ }
+ return unchecked((int)index);
+ }
+
+ // Downgrade a 64-bit length to 32-bit.
+ private static int DowngradeLength(String name, long length)
+ {
+ if(length < 0)
+ {
+ throw new ArgumentOutOfRangeException
+ (name, _("ArgRange_NonNegative"));
+ }
+ else if(length > (long)(Int32.MaxValue))
+ {
+ throw new ArgumentException(_("Arg_InvalidArrayRange"));
+ }
+ return unchecked((int)length);
+ }
+
+ // 64-bit versions of the array manipulation methods,
+ // implemented in terms of their 32-bit counterparts.
+ public static void Copy(Array sourceArray, Array destinationArray,
+ long length)
+ {
+ Copy(sourceArray, destinationArray, DowngradeLength("length",
length));
+ }
+ public static void Copy(Array sourceArray, long sourceIndex,
+ Array destinationArray,
long destinationIndex,
+ long length)
+ {
+ Copy(sourceArray,
+ DowngradeIndex("sourceIndex", sourceIndex),
+ destinationArray,
+ DowngradeIndex("destinationIndex", destinationIndex),
+ DowngradeLength("length", length));
+ }
+ [ComVisible(false)]
+ public virtual void CopyTo(Array array, long index)
+ {
+ CopyTo(array, DowngradeIndex("index", index));
+ }
+ public static Array CreateInstance(Type elementType, long[] lengths)
+ {
+ if(lengths == null)
+ {
+ throw new ArgumentNullException("lengths");
+ }
+ int[] ilengths = new int [lengths.Length];
+ int posn;
+ for(posn = 0; posn < lengths.Length; ++posn)
+ {
+ ilengths[posn] = DowngradeLength("lengths",
lengths[posn]);
+ }
+ return CreateInstance(elementType, ilengths);
+ }
+ [ComVisible(false)]
+ public long GetLongLength(int dimension)
+ {
+ return GetLength(dimension);
+ }
+ [ComVisible(false)]
+ public Object GetValue(long index)
+ {
+ return GetValue(DowngradeIndex2("index", index));
+ }
+ [ComVisible(false)]
+ public Object GetValue(long index1, long index2)
+ {
+ return GetValue(DowngradeIndex2("index1", index1),
+ DowngradeIndex2("index2",
index2));
+ }
+ [ComVisible(false)]
+ public Object GetValue(long index1, long index2, long index3)
+ {
+ return GetValue(DowngradeIndex2("index1", index1),
+ DowngradeIndex2("index2",
index2),
+ DowngradeIndex2("index3",
index3));
+ }
+ [ComVisible(false)]
+ public Object GetValue(long[] indices)
+ {
+ if(indices == null)
+ {
+ throw new ArgumentNullException("indices");
+ }
+ int[] iindices = new int [indices.Length];
+ int posn;
+ for(posn = 0; posn < indices.Length; ++posn)
+ {
+ iindices[posn] = DowngradeIndex2("indices",
indices[posn]);
+ }
+ return GetValue(iindices);
+ }
+ [ComVisible(false)]
+ public void SetValue(Object value, long index)
+ {
+ SetValue(value, DowngradeIndex2("index", index));
+ }
+ [ComVisible(false)]
+ public void SetValue(Object value, long index1, long index2)
+ {
+ SetValue(value,
+ DowngradeIndex2("index1", index1),
+ DowngradeIndex2("index2", index2));
+ }
+ [ComVisible(false)]
+ public void SetValue(Object value, long index1, long index2, long
index3)
+ {
+ SetValue(value,
+ DowngradeIndex2("index1", index1),
+ DowngradeIndex2("index2", index2),
+ DowngradeIndex2("index3", index3));
+ }
+ [ComVisible(false)]
+ public void SetValue(Object value, long[] indices)
+ {
+ if(indices == null)
+ {
+ throw new ArgumentNullException("indices");
+ }
+ int[] iindices = new int [indices.Length];
+ int posn;
+ for(posn = 0; posn < indices.Length; ++posn)
+ {
+ iindices[posn] = DowngradeIndex2("indices",
indices[posn]);
+ }
+ SetValue(value, iindices);
+ }
+
+ #endif // !ECMA_COMPAT
}; // class Array
Index: Decimal.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Decimal.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Decimal.cs 15 Apr 2003 07:27:54 -0000 1.12
--- Decimal.cs 23 Apr 2003 11:00:43 -0000 1.13
***************
*** 2,6 ****
* Decimal.cs - Implementation of the "System.Decimal" class.
*
! * Copyright (C) 2001 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
--- 2,6 ----
* Decimal.cs - Implementation of the "System.Decimal" class.
*
! * Copyright (C) 2001, 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
***************
*** 465,468 ****
--- 465,469 ----
}
}
+ [CLSCompliant(false)]
public static sbyte ToSByte(decimal value)
{
***************
*** 487,490 ****
--- 488,492 ----
}
}
+ [CLSCompliant(false)]
public static ushort ToUInt16(decimal value)
{
***************
*** 509,512 ****
--- 511,515 ----
}
}
+ [CLSCompliant(false)]
public static uint ToUInt32(decimal value)
{
***************
*** 543,546 ****
--- 546,550 ----
}
}
+ [CLSCompliant(false)]
public static ulong ToUInt64(decimal value)
{
***************
*** 706,709 ****
--- 710,739 ----
(_("ArgRange_DecimalScale"));
}
+
+ #if !ECMA_COMPAT
+
+ // Convert an OA currency value into a Decimal value.
+ // An OA currency value is a 64-bit fixed-point value with
+ // four places after the decimal point.
+ public static Decimal FromOACurrency(long cy)
+ {
+ return ((Decimal)cy) / 10000.0m;
+ }
+
+ // Convert a Decimal value into an OA currency value.
+ public static long ToOACurrency(Decimal value)
+ {
+ try
+ {
+ return (long)(value * 10000.0m);
+ }
+ catch(OverflowException)
+ {
+ // Change the message string in the
overflow exception.
+ throw new
OverflowException(_("Overflow_Currency"));
+ }
+ }
+
+ #endif // !ECMA_COMPAT
}; // class Decimal
Index: Delegate.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Delegate.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Delegate.cs 23 Apr 2003 05:39:48 -0000 1.11
--- Delegate.cs 23 Apr 2003 11:00:43 -0000 1.12
***************
*** 161,166 ****
// Create a delegate for an instance method.
! public static Delegate CreateDelegate
! (Type type, Object target, String method)
{
MethodInfo methodInfo;
--- 161,166 ----
// Create a delegate for an instance method.
! private static Delegate CreateDelegate
! (Type type, Object target, String method,
BindingFlags flags)
{
MethodInfo methodInfo;
***************
*** 186,194 ****
// Look up the method.
methodInfo = (target.GetType()).GetMethod
! (method,
BindingFlags.Public |
!
BindingFlags.NonPublic |
!
BindingFlags.Instance,
!
null, CallingConventions.Any,
!
GetDelegateParams(type),null);
if(methodInfo == null)
{
--- 186,192 ----
// Look up the method.
methodInfo = (target.GetType()).GetMethod
! (method, flags,
! null,
CallingConventions.Any,
!
GetDelegateParams(type), null);
if(methodInfo == null)
{
***************
*** 209,212 ****
--- 207,238 ----
return d;
}
+ public static Delegate CreateDelegate
+ (Type type, Object target, String method)
+ {
+ return CreateDelegate
+ (type, target, method,
+ BindingFlags.Public |
BindingFlags.NonPublic |
+ BindingFlags.Instance);
+ }
+ #if !ECMA_COMPAT
+ public static Delegate CreateDelegate
+ (Type type, Object target, String method, bool
ignoreCase)
+ {
+ if(ignoreCase)
+ {
+ return CreateDelegate
+ (type, target, method,
+ BindingFlags.Public |
BindingFlags.NonPublic |
+ BindingFlags.Instance |
BindingFlags.IgnoreCase);
+ }
+ else
+ {
+ return CreateDelegate
+ (type, target, method,
+ BindingFlags.Public |
BindingFlags.NonPublic |
+ BindingFlags.Instance);
+ }
+ }
+ #endif // !ECMA_COMPAT
// Create a delegate for a named static method.
***************
*** 470,474 ****
// is done in the MulticastDelegate class. This handles
// the unicast delegate case only.
! protected virtual Delegate RemoveAllImpl(Delegate d)
{
return RemoveImpl(d);
--- 496,500 ----
// is done in the MulticastDelegate class. This handles
// the unicast delegate case only.
! internal virtual Delegate RemoveAllImpl(Delegate d)
{
return RemoveImpl(d);
***************
*** 485,488 ****
--- 511,515 ----
#if !ECMA_COMPAT
// Get the serialization data for this object.
+ [TODO]
public virtual void GetObjectData(SerializationInfo info,
StreamingContext context)
Index: Double.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Double.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Double.cs 15 Apr 2003 07:27:54 -0000 1.12
--- Double.cs 23 Apr 2003 11:00:43 -0000 1.13
***************
*** 155,158 ****
--- 155,177 ----
}
+ #if !ECMA_COMPAT
+ // Try to parse, and return a boolean on failure.
+ public static bool TryParse(String s, NumberStyles style,
+ IFormatProvider
provider,
+ out double
result)
+ {
+ try
+ {
+ result = Parse(s, style, provider);
+ return true;
+ }
+ catch(Exception)
+ {
+ result = 0.0;
+ return false;
+ }
+ }
+ #endif
+
// Implementation of the IComparable interface.
public int CompareTo(Object value)
Index: Int32.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Int32.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Int32.cs 3 Jan 2003 18:22:37 -0000 1.11
--- Int32.cs 23 Apr 2003 11:00:43 -0000 1.12
***************
*** 70,79 ****
Formatter.CreateFormatter(format).Format(this, provider);
}
- #if !ECMA_COMPAT
- public static String ToString(Int32 number)
- {
- return number.ToString();
- }
- #endif
// Parsing methods.
--- 70,73 ----
Index: MarshalByRefObject.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MarshalByRefObject.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MarshalByRefObject.cs 17 Apr 2003 10:36:07 -0000 1.5
--- MarshalByRefObject.cs 23 Apr 2003 11:00:43 -0000 1.6
***************
*** 33,37 ****
// Create a marshalable reference for this object.
! public virtual ObjRef CreateObjRef()
{
// Remoting is not yet supported by this class
library.
--- 33,37 ----
// Create a marshalable reference for this object.
! public virtual ObjRef CreateObjRef(Type requestedType)
{
// Remoting is not yet supported by this class
library.
Index: MissingFieldException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingFieldException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MissingFieldException.cs 15 Apr 2003 05:13:43 -0000 1.7
--- MissingFieldException.cs 23 Apr 2003 11:00:43 -0000 1.8
***************
*** 48,51 ****
--- 48,62 ----
#endif
+ #if !ECMA_COMPAT
+ // Get the message string for this exception.
+ public override String Message
+ {
+ get
+ {
+ return base.Message;
+ }
+ }
+ #endif
+
// Get the default message to use for this exception type.
internal override String MessageDefault
Index: MissingMemberException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMemberException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** MissingMemberException.cs 15 Apr 2003 05:13:43 -0000 1.8
--- MissingMemberException.cs 23 Apr 2003 11:00:43 -0000 1.9
***************
*** 64,67 ****
--- 64,78 ----
#endif
+ #if !ECMA_COMPAT
+ // Get the message string for this exception.
+ public override String Message
+ {
+ get
+ {
+ return base.Message;
+ }
+ }
+ #endif
+
// Get the default message to use for this exception type.
internal override String MessageDefault
Index: MissingMethodException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMethodException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** MissingMethodException.cs 15 Apr 2003 05:13:43 -0000 1.7
--- MissingMethodException.cs 23 Apr 2003 11:00:43 -0000 1.8
***************
*** 48,51 ****
--- 48,62 ----
#endif
+ #if !ECMA_COMPAT
+ // Get the message string for this exception.
+ public override String Message
+ {
+ get
+ {
+ return base.Message;
+ }
+ }
+ #endif
+
// Get the default message to use for this exception type.
internal override String MessageDefault
Index: MulticastDelegate.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/MulticastDelegate.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MulticastDelegate.cs 15 Apr 2003 11:22:32 -0000 1.5
--- MulticastDelegate.cs 23 Apr 2003 11:00:43 -0000 1.6
***************
*** 27,30 ****
--- 27,31 ----
using System;
using System.Reflection;
+ using System.Runtime.Serialization;
public abstract class MulticastDelegate : Delegate
***************
*** 242,246 ****
// Implementation of delegate "all" removal.
! protected override Delegate RemoveAllImpl(Delegate d)
{
MulticastDelegate current, list;
--- 243,247 ----
// Implementation of delegate "all" removal.
! internal override Delegate RemoveAllImpl(Delegate d)
{
MulticastDelegate current, list;
***************
*** 299,302 ****
--- 300,315 ----
return list;
}
+
+ #if !ECMA_COMPAT
+
+ // Get serialization data for this delegate.
+ [TODO]
+ public override void GetObjectData
+ (SerializationInfo info, StreamingContext
context)
+ {
+ // TODO
+ }
+
+ #endif // !ECMA_COMPAT
}; // class MulticastDelegate
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.11,1.12 AppDomain.cs,1.16,1.17 AppDomainSetup.cs,1.1,1.2 ArgumentException.cs,1.7,1.8 Array.cs,1.25,1.26 Decimal.cs,1.12,1.13 Delegate.cs,1.11,1.12 Double.cs,1.12,1.13 Int32.cs,1.11,1.12 MarshalByRefObject.cs,1.5,1.6 MissingFieldException.cs,1.7,1.8 MissingMemberException.cs,1.8,1.9 MissingMethodException.cs,1.7,1.8 MulticastDelegate.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System ArgumentOutOfRangeException.cs,1.7,1.8 Array.cs,1.24,1.25 DateTime.cs,1.22,1.23
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Thread.cs,1.11,1.12
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System ArgumentOutOfRangeException.cs,1.7,1.8 Array.cs,1.24,1.25 DateTime.cs,1.22,1.23
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Threading Thread.cs,1.11,1.12
- Index(es):