[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityExce
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.6,1.7 VerificationException.cs,1.4,1.5 XmlSyntaxException.cs,1.4,1.5 |
Date: |
Mon, 26 May 2003 00:41:24 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security
In directory subversions:/tmp/cvs-serv26070/runtime/System/Security
Modified Files:
SecurityException.cs VerificationException.cs
XmlSyntaxException.cs
Log Message:
Add the CONFIG_SERIALIZATION option to the profiles.
Index: SecurityException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/SecurityException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SecurityException.cs 25 Apr 2003 03:53:07 -0000 1.6
--- SecurityException.cs 26 May 2003 04:41:21 -0000 1.7
***************
*** 43,47 ****
public SecurityException(String msg, Exception inner)
: base(msg, inner) {}
! #if !ECMA_COMPAT
protected SecurityException(SerializationInfo info,
StreamingContext context)
--- 43,47 ----
public SecurityException(String msg, Exception inner)
: base(msg, inner) {}
! #if CONFIG_SERIALIZATION
protected SecurityException(SerializationInfo info,
StreamingContext context)
***************
*** 50,53 ****
--- 50,55 ----
permissionState =
info.GetString("PermissionState");
}
+ #endif
+ #if !ECMA_COMPAT
public SecurityException(String message, Type type)
: base(message)
***************
*** 119,122 ****
--- 121,126 ----
}
+ #if CONFIG_SERIALIZATION
+
// Get the serialization data for this object.
public override void GetObjectData(SerializationInfo info,
***************
*** 126,129 ****
--- 130,135 ----
info.AddValue("PermissionState",
permissionState);
}
+
+ #endif
// Convert this object into a string.
Index: VerificationException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/VerificationException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** VerificationException.cs 7 Apr 2003 04:22:52 -0000 1.4
--- VerificationException.cs 26 May 2003 04:41:21 -0000 1.5
***************
*** 35,39 ****
public VerificationException(String msg, Exception inner)
: base(msg, inner) {}
! #if !ECMA_COMPAT
protected VerificationException(SerializationInfo info,
StreamingContext context)
--- 35,39 ----
public VerificationException(String msg, Exception inner)
: base(msg, inner) {}
! #if CONFIG_SERIALIZATION
protected VerificationException(SerializationInfo info,
StreamingContext context)
Index: XmlSyntaxException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/XmlSyntaxException.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** XmlSyntaxException.cs 7 Apr 2003 04:22:52 -0000 1.4
--- XmlSyntaxException.cs 26 May 2003 04:41:21 -0000 1.5
***************
*** 42,48 ****
--- 42,50 ----
: base(String.Format(_("Exception_XmlSyntaxLineMsg"),
lineNumber,
message)) {}
+ #if CONFIG_SERIALIZATION
internal XmlSyntaxException(SerializationInfo info,
StreamingContext context)
: base(info, context) {}
+ #endif
// Get the default HResult value for this type of exception.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.6,1.7 VerificationException.cs,1.4,1.5 XmlSyntaxException.cs,1.4,1.5,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.7,1.8 Assembly.cs,1.26,1.27 AssemblyName.cs,1.3,1.4 CustomAttributeFormatException.cs,1.1,1.2 InvalidFilterCriteriaException.cs,1.5,1.6 Module.cs,1.10,1.11 Pointer.cs,1.2,1.3 ReflectionTypeLoadException.cs,1.1,1.2 TargetException.cs,1.7,1.8 TargetInvocationException.cs,1.7,1.8 TargetParameterCountException.cs,1.7,1.8
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.935,1.936
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Reflection AmbiguousMatchException.cs,1.7,1.8 Assembly.cs,1.26,1.27 AssemblyName.cs,1.3,1.4 CustomAttributeFormatException.cs,1.1,1.2 InvalidFilterCriteriaException.cs,1.5,1.6 Module.cs,1.10,1.11 Pointer.cs,1.2,1.3 ReflectionTypeLoadException.cs,1.1,1.2 TargetException.cs,1.7,1.8 TargetInvocationException.cs,1.7,1.8 TargetParameterCountException.cs,1.7,1.8
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.935,1.936
- Index(es):