[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.10,1.11
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.10,1.11 ArgIterator.cs,1.6,1.7 Array.cs,1.22,1.23 BitConverter.cs,1.3,1.4 Environment.cs,1.11,1.12 Exception.cs,1.19,1.20 ResolveEventArgs.cs,1.1,1.2 Type.cs,1.20,1.21 TypeInitializationException.cs,1.6,1.7 TypedReference.cs,1.4,1.5 UIntPtr.cs,1.9,1.10 |
Date: |
Tue, 22 Apr 2003 08:17:31 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv1018/runtime/System
Modified Files:
Activator.cs ArgIterator.cs Array.cs BitConverter.cs
Environment.cs Exception.cs ResolveEventArgs.cs Type.cs
TypeInitializationException.cs TypedReference.cs UIntPtr.cs
Log Message:
Fix some minor signature problems in the "System" namespace.
Index: Activator.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Activator.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Activator.cs 17 Apr 2003 10:36:07 -0000 1.10
--- Activator.cs 22 Apr 2003 12:17:29 -0000 1.11
***************
*** 36,39 ****
--- 36,41 ----
sealed class Activator
{
+ // Cannot instantiate this class.
+ private Activator() {}
#if CONFIG_REMOTING
Index: ArgIterator.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgIterator.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ArgIterator.cs 14 Apr 2003 00:44:44 -0000 1.6
--- ArgIterator.cs 22 Apr 2003 12:17:29 -0000 1.7
***************
*** 25,29 ****
--- 25,31 ----
using System.Runtime.CompilerServices;
+ using System.Runtime.InteropServices;
+ [StructLayout(LayoutKind.Auto)]
public struct ArgIterator
{
Index: Array.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Array.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** Array.cs 15 Apr 2003 05:13:43 -0000 1.22
--- Array.cs 22 Apr 2003 12:17:29 -0000 1.23
***************
*** 30,37 ****
--- 30,44 ----
// Constructor.
+ #if ECMA_COMPAT
protected Array()
{
// Nothing to do here.
}
+ #else
+ private Array()
+ {
+ // Nothing to do here.
+ }
+ #endif
// Inner version of "BinarySearch" used by the methods below
***************
*** 1399,1403 ****
--- 1406,1414 ----
}
}
+ #if ECMA_COMPAT
public long LongLength
+ #else
+ private long LongLength
+ #endif
{
get
Index: BitConverter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/BitConverter.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** BitConverter.cs 17 Mar 2003 10:13:42 -0000 1.3
--- BitConverter.cs 22 Apr 2003 12:17:29 -0000 1.4
***************
*** 29,32 ****
--- 29,34 ----
public sealed class BitConverter
{
+ // Cannot instantiate this class.
+ private BitConverter() {}
// Specification of the endian-ness of this platform.
Index: Environment.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Environment.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** Environment.cs 15 Apr 2003 04:37:44 -0000 1.11
--- Environment.cs 22 Apr 2003 12:17:29 -0000 1.12
***************
*** 86,90 ****
--- 86,94 ----
// Determine if application shutdown has started.
+ #if ECMA_COMPAT
public static bool HasShutdownStarted
+ #else
+ public bool HasShutdownStarted
+ #endif
{
get
Index: Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Exception.cs,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** Exception.cs 16 Apr 2003 00:40:35 -0000 1.19
--- Exception.cs 22 Apr 2003 12:17:29 -0000 1.20
***************
*** 136,148 ****
}
- #if !ECMA_COMPAT
- // Set the help link for this exception.
- public virtual Exception SetHelpLink(String help)
- {
- helpLink = help;
- return this;
- }
- #endif
-
// Convert the exception into a string.
public override String ToString()
--- 136,139 ----
***************
*** 224,227 ****
--- 215,222 ----
return helpLink;
}
+ set
+ {
+ helpLink = value;
+ }
}
public virtual String Source
***************
*** 243,247 ****
}
}
! public virtual MethodBase TargetSite
{
get
--- 238,242 ----
}
}
! public MethodBase TargetSite
{
get
Index: ResolveEventArgs.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/ResolveEventArgs.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ResolveEventArgs.cs 1 Feb 2003 02:04:50 -0000 1.1
--- ResolveEventArgs.cs 22 Apr 2003 12:17:29 -0000 1.2
***************
*** 24,28 ****
#if !ECMA_COMPAT
! public class ResolveEventArgs
{
// Internal state.
--- 24,28 ----
#if !ECMA_COMPAT
! public class ResolveEventArgs : EventArgs
{
// Internal state.
Index: Type.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Type.cs,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** Type.cs 16 Apr 2003 03:17:55 -0000 1.20
--- Type.cs 22 Apr 2003 12:17:29 -0000 1.21
***************
*** 31,34 ****
--- 31,37 ----
#if CONFIG_REFLECTION
: MemberInfo
+ #if !ECMA_COMPAT
+ , IReflect
+ #endif
#endif
{
Index: TypeInitializationException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypeInitializationException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TypeInitializationException.cs 7 Apr 2003 04:22:51 -0000 1.6
--- TypeInitializationException.cs 22 Apr 2003 12:17:29 -0000 1.7
***************
*** 34,43 ****
private TypeInitializationException(String msg)
: base(msg) {}
! private TypeInitializationException(String typeName, Exception inner)
: base(null, inner)
{ this.typeName = typeName; }
#if !ECMA_COMPAT
! protected TypeInitializationException(SerializationInfo info,
!
StreamingContext context)
: base(info, context)
{
--- 34,48 ----
private TypeInitializationException(String msg)
: base(msg) {}
! #if ECMA_COMPAT
! private
! #else
! public
! #endif
! TypeInitializationException(String typeName, Exception inner)
: base(null, inner)
{ this.typeName = typeName; }
#if !ECMA_COMPAT
! internal TypeInitializationException(SerializationInfo info,
!
StreamingContext context)
: base(info, context)
{
Index: TypedReference.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/TypedReference.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TypedReference.cs 15 Apr 2003 11:22:32 -0000 1.4
--- TypedReference.cs 22 Apr 2003 12:17:29 -0000 1.5
***************
*** 121,125 ****
// Internal version of "SetTypedReference".
[MethodImpl(MethodImplOptions.InternalCall)]
! extern public static bool ClrSetTypedReference
(TypedReference target, Object value);
--- 121,125 ----
// Internal version of "SetTypedReference".
[MethodImpl(MethodImplOptions.InternalCall)]
! extern private static bool ClrSetTypedReference
(TypedReference target, Object value);
Index: UIntPtr.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/UIntPtr.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** UIntPtr.cs 7 Apr 2003 04:22:51 -0000 1.9
--- UIntPtr.cs 22 Apr 2003 12:17:29 -0000 1.10
***************
*** 28,31 ****
--- 28,34 ----
[CLSCompliant(false)]
public struct UIntPtr
+ #if !ECMA_COMPAT
+ : ISerializable
+ #endif
{
// Public constants.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Activator.cs,1.10,1.11 ArgIterator.cs,1.6,1.7 Array.cs,1.22,1.23 BitConverter.cs,1.3,1.4 Environment.cs,1.11,1.12 Exception.cs,1.19,1.20 ResolveEventArgs.cs,1.1,1.2 Type.cs,1.20,1.21 TypeInitializationException.cs,1.6,1.7 TypedReference.cs,1.4,1.5 UIntPtr.cs,1.9,1.10,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Policy FileCodeGroup.cs,NONE,1.1 FirstMatchCodeGroup.cs,NONE,1.1 Hash.cs,NONE,1.1 HashMembershipCondition.cs,NONE,1.1 NetCodeGroup.cs,NONE,1.1 PermissionRequestEvidence.cs,NONE,1.1 PolicyException.cs,NONE,1.1 Publisher.cs,NONE,1.1 PublisherMembershipCondition.cs,NONE,1.1 Site.cs,NONE,1.1 SiteMembershipCondition.cs,NONE,1.1 StrongName.cs,NONE,1.1 StrongNameMembershipCondition.cs,NONE,1.1 UnionCodeGroup.cs,NONE,1.1 Url.cs,NONE,1.1 UrlMembershipCondition.cs,NONE,1.1 Zone.cs,NONE,1.1 ZoneMembershipCondition.cs,NONE,1.1 PolicyLevel.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.871,1.872
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Policy FileCodeGroup.cs,NONE,1.1 FirstMatchCodeGroup.cs,NONE,1.1 Hash.cs,NONE,1.1 HashMembershipCondition.cs,NONE,1.1 NetCodeGroup.cs,NONE,1.1 PermissionRequestEvidence.cs,NONE,1.1 PolicyException.cs,NONE,1.1 Publisher.cs,NONE,1.1 PublisherMembershipCondition.cs,NONE,1.1 Site.cs,NONE,1.1 SiteMembershipCondition.cs,NONE,1.1 StrongName.cs,NONE,1.1 StrongNameMembershipCondition.cs,NONE,1.1 UnionCodeGroup.cs,NONE,1.1 Url.cs,NONE,1.1 UrlMembershipCondition.cs,NONE,1.1 Zone.cs,NONE,1.1 ZoneMembershipCondition.cs,NONE,1.1 PolicyLevel.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.871,1.872
- Index(es):