Compare commits

...
Author SHA1 Message Date
nobody 2c94e8b66e This commit was manufactured by cvs2svn to create tag 'MONO_0_10'.
svn path=/tags/MONO_0_10/mono/; revision=3387
2002-03-27 02:26:21 +00:00
51 changed files with 318 additions and 1183 deletions

No files matched your search

-51
View File
@@ -1,51 +0,0 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the inet_aton function. */
#undef HAVE_INET_ATON
/* Define if you have the inet_pton function. */
#undef HAVE_INET_PTON
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Name of package */
#undef PACKAGE
/* Version number of package */
#undef VERSION
+1 -3
View File
@@ -79,9 +79,7 @@
<a href="http://gtk-sharp.sourceforge.net">Gtk#</a> runs <a
href="http://gtk-sharp.sourceforge.net/gtk-hello-world.png">Hello
World</a>. Mike posted some <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2002-March/000034.html">details.</a>
World</a>
** Mar 19, 2002
-246
View File
@@ -1,246 +0,0 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
@@ -1,3 +0,0 @@
2002-03-27 Duncan Mak <[email protected]>
* *.cs: Updates from Ajay Dwivedi <[email protected]>.
@@ -1,5 +1,7 @@
// Author: Dwivedi, Ajay kumar
// [email protected]
// Author: Dwivedi, Ajay kumar
// [email protected]
using System;
using System.Xml;
using System.IO;
@@ -11,13 +13,11 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchema.
/// </summary>
[XmlRoot("schema",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlRoot]
public class XmlSchema : XmlSchemaObject
{
//public constants
[XmlIgnore]
public const string InstanceNamespace = "http://www.w3.org/2001/XMLSchema-instance";
[XmlIgnore]
public const string Namespace = "http://www.w3.org/2001/XMLSchema";
//private fields
@@ -37,8 +37,8 @@ namespace System.Xml.Schema
private XmlSchemaObjectTable schemaTypes ;
private string targetNamespace ;
private XmlAttribute[] unhandledAttributes ;
private string version;
private string language;
private string version ;
public XmlSchema()
{
@@ -50,150 +50,108 @@ namespace System.Xml.Schema
isCompiled = false;
items = new XmlSchemaObjectCollection();
}
#region Properties
[DefaultValue(XmlSchemaForm.None)]
[System.Xml.Serialization.XmlAttribute("attributeFormDefault")]
[XmlAttribute]
public XmlSchemaForm AttributeFormDefault
{
get{ return attributeFormDefault; }
set{ this.attributeFormDefault = value;}
}
[XmlIgnore]
public XmlSchemaObjectTable AttributeGroups
{
get{ return attributeGroups; }
}
[XmlIgnore]
public XmlSchemaObjectTable Attributes
{
get{ return attributes;}
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("blockDefault")]
[XmlAttribute]
public XmlSchemaDerivationMethod BlockDefault
{
get{ return blockDefault;}
set{ blockDefault = value;}
}
[DefaultValue(XmlSchemaForm.None)]
[System.Xml.Serialization.XmlAttribute("elementFormDefault")]
[XmlAttribute]
public XmlSchemaForm ElementFormDefault
{
get{ return elementFormDefault;}
set{ elementFormDefault = value;}
}
[XmlIgnore]
public XmlSchemaObjectTable Elements
{
get{ return elements;}
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("finalDefault")]
[XmlAttribute]
public XmlSchemaDerivationMethod FinalDefault
{
get{ return finalDefault;}
set{ finalDefault = value;}
}
[XmlIgnore]
public XmlSchemaObjectTable Groups
{
get{ return groups;}
}
[System.Xml.Serialization.XmlAttribute("id")]
[XmlAttribute]
public string Id
{
get{ return id;}
set{ id = value;}
}
[XmlElement("include",typeof(XmlSchemaInclude),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("import",typeof(XmlSchemaImport),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("redefine",typeof(XmlSchemaRedefine),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Includes
{
get{ return includes;}
}
[XmlIgnore]
public bool IsCompiled
{
get{ return isCompiled;}
}
[XmlElement("simpleType",typeof(XmlSchemaSimpleType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("complexType",typeof(XmlSchemaComplexType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("group",typeof(XmlSchemaGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
//Only Schema's attributeGroup has type XmlSchemaAttributeGroup.
//Others (complextype, restrictions etc) must have XmlSchemaAttributeGroupRef
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("element",typeof(XmlSchemaElement),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("notation",typeof(XmlSchemaNotation),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("annotation",typeof(XmlSchemaAnnotation),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Items
{
get{ return items;}
}
[XmlIgnore]
public XmlSchemaObjectTable Notations
{
get{ return notations;}
}
[XmlIgnore]
public XmlSchemaObjectTable SchemaTypes
{
get{ return schemaTypes;}
}
[System.Xml.Serialization.XmlAttribute("targetNamespace")]
[XmlAttribute]
public string TargetNamespace
{
get{ return targetNamespace;}
set{ targetNamespace = value;}
}
[XmlAnyAttribute]
public XmlAttribute[] UnhandledAttributes
{
get{ return unhandledAttributes;}
set{ unhandledAttributes = value;}
}
[System.Xml.Serialization.XmlAttribute("version")]
[XmlAttribute]
public string Version
{
get{ return version;}
set{ version = value;}
}
// New attribute defined in W3C schema element
[System.Xml.Serialization.XmlAttribute("xml:lang")]
public string Language
{
get{ return language; }
set{ language = value; }
}
#endregion
// Methods
[MonoTODO]
public void Compile(ValidationEventHandler validationEventHandler)
public void Compile(System.Xml.Schema.ValidationEventHandler validationEventHandler)
{
attributeGroups = null;
}
public static XmlSchema Read(TextReader reader, ValidationEventHandler validationEventHandler)
@@ -204,54 +162,19 @@ namespace System.Xml.Schema
{
return Read(new XmlTextReader(stream),validationEventHandler);
}
//<ToBeRemoved>
private static void Serializer_UnknownAttribute(object sender, XmlAttributeEventArgs e)
{
Console.WriteLine("Unknown Attribute");
Console.WriteLine("\t" + e.Attr.Name + " " + e.Attr.InnerXml);
Console.WriteLine("\t LineNumber: " + e.LineNumber);
Console.WriteLine("\t LinePosition: " + e.LinePosition);
}
private static void Serializer_UnknownElement(object sender, XmlElementEventArgs e)
{
Console.WriteLine("Unknown Element");
Console.WriteLine("\t" + e.Element.Name + " " + e.Element.InnerXml);
Console.WriteLine("\t LineNumber: " + e.LineNumber);
Console.WriteLine("\t LinePosition: " + e.LinePosition);
}
private static void Serializer_UnknownNode(object sender, XmlNodeEventArgs e)
{
Console.WriteLine("Unknown Node");
Console.WriteLine("\t" + e.Name + " " + e.Text);
Console.WriteLine("\t LineNumber: " + e.LineNumber);
Console.WriteLine("\t LinePosition: " + e.LinePosition);
}
private static void Serializer_UnknownAttribute(object sender, UnreferencedObjectEventArgs e)
{
Console.WriteLine("Unknown");
Console.WriteLine("\t" + e.UnreferencedId);
Console.WriteLine("\t" + e.UnreferencedObject);
}
//</ToBeRemoved>
[MonoTODO]
public static XmlSchema Read(XmlReader reader, ValidationEventHandler validationEventHandler)
{
XmlSerializer xser = new XmlSerializer(typeof(XmlSchema));
//<ToBeRemoved>
xser.UnknownAttribute += new XmlAttributeEventHandler(Serializer_UnknownAttribute);
xser.UnknownElement += new XmlElementEventHandler(Serializer_UnknownElement);
xser.UnknownNode += new XmlNodeEventHandler(Serializer_UnknownNode);
xser.UnreferencedObject += new UnreferencedObjectEventHandler(Serializer_UnknownAttribute);
//</ToBeRemoved>
return (XmlSchema) xser.Deserialize(reader);
return null;
}
public void Write(System.IO.Stream stream)
{
Write(stream,null);
Write(new XmlTextWriter(stream,null),null);
}
public void Write(System.IO.TextWriter writer)
{
Write(writer,null);
Write(new XmlTextWriter(writer),null);
}
public void Write(System.Xml.XmlWriter writer)
{
@@ -263,41 +186,11 @@ namespace System.Xml.Schema
}
public void Write(System.IO.TextWriter writer, System.Xml.XmlNamespaceManager namespaceManager)
{
XmlTextWriter xwriter = new XmlTextWriter(writer);
// This is why the Write was not writing schema with line breaks
xwriter.Formatting = Formatting.Indented;
Write(xwriter,namespaceManager);
Write(new XmlTextWriter(writer),namespaceManager);
}
[MonoTODO]
public void Write(System.Xml.XmlWriter writer, System.Xml.XmlNamespaceManager namespaceManager)
{
XmlSerializerNamespaces xns;
if(Namespaces != null)
{
xns = new XmlSerializerNamespaces(this.Namespaces);
}
else
{
xns = new XmlSerializerNamespaces();
}
if(namespaceManager != null)
{
foreach(string name in namespaceManager)
{
//xml and xmlns namespaced are added by default in namespaceManager.
//So we should ignore them
if(name!="xml" && name != "xmlns")
xns.Add(name,namespaceManager.LookupNamespace(name));
}
}
this.Namespaces = xns;
XmlSerializer xser = new XmlSerializer(typeof(XmlSchema));
xser.Serialize(writer,this,xns);
writer.Flush();
}
}
}
@@ -15,7 +15,7 @@ namespace System.Xml.Schema
{
items = new XmlSchemaObjectCollection();
}
[XmlElement("element",typeof(XmlSchemaElement),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public override XmlSchemaObjectCollection Items
{
get{ return items; }
@@ -9,21 +9,6 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchemaAnnotated.
/// </summary>
// Include all childrens of this class
// [XmlInclude(typeof(XmlSchemaAnyAttribute)),
// XmlInclude(typeof(XmlSchemaAttribute)),
// XmlInclude(typeof(XmlSchemaAttributeGroup)),
// XmlInclude(typeof(XmlSchemaAttributeGroupRef)),
// XmlInclude(typeof(XmlSchemaContent)),
// XmlInclude(typeof(XmlSchemaContentModel)),
// XmlInclude(typeof(XmlSchemaFacet)),
// XmlInclude(typeof(XmlSchemaGroup)),
// XmlInclude(typeof(XmlSchemaIdentityConstraint)),
// XmlInclude(typeof(XmlSchemaNotation)),
// XmlInclude(typeof(XmlSchemaParticle)),
// XmlInclude(typeof(XmlSchemaSimpleTypeContent)),
// XmlInclude(typeof(XmlSchemaType)),
// XmlInclude(typeof(XmlSchemaXPath))]
public class XmlSchemaAnnotated : XmlSchemaObject
{
private XmlSchemaAnnotation annotation;
@@ -32,21 +17,18 @@ namespace System.Xml.Schema
public XmlSchemaAnnotated()
{}
[XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnnotation Annotation
{
get{ return annotation; }
set{ annotation = value; }
get{ return this.annotation; }
set{ this.annotation = value; }
}
[System.Xml.Serialization.XmlAttribute("id")]
[XmlAttribute]
public string Id
{
get{ return id; }
get{ return this.id; }
set{ id = value; }
}
[XmlAnyAttribute]
public XmlAttribute[] UnhandledAttributes
{
@@ -17,23 +17,18 @@ namespace System.Xml.Schema
public XmlSchemaAnnotation()
{
items = new XmlSchemaObjectCollection();
}
[System.Xml.Serialization.XmlAttribute("id")]
[XmlAttribute]
public string Id
{
get{ return id; }
set{ id = value; }
}
[XmlElement("appinfo",typeof(XmlSchemaAppInfo),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("documentation",typeof(XmlSchemaDocumentation),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaObjectCollection Items
[XmlElement]
public XmlSchemaObjectCollection Items
{
get{ return items; }
}
[XmlAnyAttribute]
public XmlAttribute[] UnhandledAttributes
{
@@ -17,18 +17,17 @@ namespace System.Xml.Schema
public XmlSchemaAny()
{
nameSpace = string.Empty;
processing = XmlSchemaContentProcessing.Strict;
}
[System.Xml.Serialization.XmlAttribute("namespace")]
[XmlAttribute]
public string Namespace
{
get{ return nameSpace; }
set{ nameSpace = value; }
}
[DefaultValue(XmlSchemaContentProcessing.None)]
[System.Xml.Serialization.XmlAttribute("processContents")]
public XmlSchemaContentProcessing ProcessContents
[DefaultValue(XmlSchemaContentProcessing.Strict)]
[XmlAttribute]
public XmlSchemaContentProcessing ProcessContents
{
get{ return processing; }
set{ processing = value; }
@@ -12,22 +12,22 @@ namespace System.Xml.Schema
public class XmlSchemaAnyAttribute : XmlSchemaAnnotated
{
private string nameSpace;
private XmlSchemaContentProcessing processing;
public XmlSchemaContentProcessing processing;
public XmlSchemaAnyAttribute()
{
nameSpace = string.Empty;
this.processing = XmlSchemaContentProcessing.Strict;
}
[System.Xml.Serialization.XmlAttribute("namespace")]
[XmlAttribute]
public string Namespace
{
get{ return nameSpace; }
set{ nameSpace = value; }
}
[DefaultValue(XmlSchemaContentProcessing.None)]
[System.Xml.Serialization.XmlAttribute("processContents")]
[DefaultValue(XmlSchemaContentProcessing.Strict)]
[XmlAttribute]
public XmlSchemaContentProcessing ProcessContents
{
get{ return processing; }
@@ -26,8 +26,7 @@ namespace System.Xml.Schema
get{ return markup; }
set{ markup = value; }
}
[System.Xml.Serialization.XmlAttribute("source")]
[XmlAttribute]
public string Source
{
get{ return source; }
@@ -27,7 +27,7 @@ namespace System.Xml.Schema
{
//FIXME: Docs says the default is optional.
//Whereas the MS implementation has default None.
use = XmlSchemaUse.None;
use = XmlSchemaUse.Optional;
qualifiedName = XmlQualifiedName.Empty;
refName = XmlQualifiedName.Empty;
}
@@ -38,9 +38,9 @@ namespace System.Xml.Schema
{ //FIXME: This is not correct. Is it?
get{ return attributeType; }
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("default")]
//FIXME: what is the default value?
[DefaultValue("")]
[XmlAttribute]
public string DefaultValue
{
get{ return defaultValue;}
@@ -50,9 +50,8 @@ namespace System.Xml.Schema
defaultValue = value;
}
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("fixed")]
[DefaultValue("")]
[XmlAttribute]
public string FixedValue
{
get{ return fixedValue;}
@@ -62,16 +61,14 @@ namespace System.Xml.Schema
fixedValue = value;
}
}
[DefaultValue(XmlSchemaForm.None)]
[System.Xml.Serialization.XmlAttribute("form")]
[XmlAttribute]
public XmlSchemaForm Form
{
get{ return form;}
set{ form = value;}
}
[System.Xml.Serialization.XmlAttribute("name")]
[XmlAttribute]
public string Name
{
get{ return name;}
@@ -87,7 +84,7 @@ namespace System.Xml.Schema
get{ return qualifiedName;}
}
[System.Xml.Serialization.XmlAttribute("ref")]
[XmlAttribute]
public XmlQualifiedName RefName
{
get{ return refName;}
@@ -97,23 +94,20 @@ namespace System.Xml.Schema
refName = value;
}
}
[XmlElement("simpleType",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaSimpleType SchemaType
{
get{ return schemaType;}
set{ schemaType = value;}
}
[System.Xml.Serialization.XmlAttribute("type")]
[XmlAttribute]
public XmlQualifiedName SchemaTypeName
{
get{ return schemaTypeName;}
set{ schemaTypeName = value;}
}
[DefaultValue(XmlSchemaUse.None)]
[System.Xml.Serialization.XmlAttribute("use")]
[DefaultValue(XmlSchemaUse.Optional)]
[XmlAttribute]
public XmlSchemaUse Use
{
get{ return use;}
@@ -21,28 +21,23 @@ namespace System.Xml.Schema
//FIXME:
redefined = this;
}
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return any;}
set{ any = value;}
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes;}
}
[System.Xml.Serialization.XmlAttribute("name")]
[XmlAttribute]
public string Name
{
get{ return name;}
set{ name = value;}
}
//Undocumented property
[XmlIgnore]
public XmlSchemaAttributeGroup RedefinedAttributeGroup
@@ -16,11 +16,14 @@ namespace System.Xml.Schema
public XmlSchemaAttributeGroupRef()
{}
[System.Xml.Serialization.XmlAttribute("ref")]
[XmlAttribute]
public XmlQualifiedName RefName
{
get{ return refName; }
set{ refName = value; }
get{ return refName;}
set
{
refName = value;
}
}
}
}
@@ -15,12 +15,7 @@ namespace System.Xml.Schema
{
items = new XmlSchemaObjectCollection();
}
[XmlElement("element",typeof(XmlSchemaElement),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("any",typeof(XmlSchemaAny),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public override XmlSchemaObjectCollection Items
{
get{ return items; }
@@ -84,11 +84,11 @@ namespace System.Xml.Schema
{
return this.htable.Contains(ns);
}
public bool Contains(XmlSchema schema)
public bool Contains(System.Xml.Schema.XmlSchema schema)
{
return this.htable.Contains(schema.TargetNamespace);
}
public void CopyTo(XmlSchema[] array, int index)
public void CopyTo(System.Xml.Schema.XmlSchema[] array, int index)
{
}
@@ -14,17 +14,15 @@ namespace System.Xml.Schema
private bool isMixed;
public XmlSchemaComplexContent()
{}
[XmlElement("restriction",typeof(XmlSchemaComplexContentRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("extension",typeof(XmlSchemaComplexContentExtension),Namespace="http://www.w3.org/2001/XMLSchema")]
{
}
[XmlElement]
public override XmlSchemaContent Content
{
get{ return content; }
set{ content = value; }
}
[System.Xml.Serialization.XmlAttribute("mixed")]
[XmlAttribute]
public bool IsMixed
{
get{ return isMixed; }
@@ -19,31 +19,24 @@ namespace System.Xml.Schema
{
attributes = new XmlSchemaObjectCollection();
}
[System.Xml.Serialization.XmlAttribute("base")]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return any; }
set{ any = value;}
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes; }
}
[XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlAttribute]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement]
public XmlSchemaParticle Particle
{
get{ return particle; }
@@ -9,7 +9,7 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchemaComplexContentRestriction.
/// </summary>
public class XmlSchemaComplexContentRestriction : XmlSchemaContent
public class XmlSchemaComplexContentRestriction
{
private XmlSchemaAnyAttribute any;
private XmlSchemaObjectCollection attributes;
@@ -22,31 +22,24 @@ namespace System.Xml.Schema
attributes = new XmlSchemaObjectCollection();
}
[System.Xml.Serialization.XmlAttribute("base")]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return any; }
set{ any = value; }
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes; }
}
[XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlAttribute]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement]
public XmlSchemaParticle Particle
{
get{ return particle; }
@@ -27,72 +27,20 @@ namespace System.Xml.Schema
public XmlSchemaComplexType()
{
attributes = new XmlSchemaObjectCollection();
block = XmlSchemaDerivationMethod.None;
}
#region Attributes
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("block")]
public XmlSchemaDerivationMethod Block
{
get{ return block; }
set{ block = value; }
}
[DefaultValue(false)]
[System.Xml.Serialization.XmlAttribute("abstract")]
public bool IsAbstract
{
get{ return isAbstract; }
set{ isAbstract = value; }
}
[DefaultValue(false)]
[System.Xml.Serialization.XmlAttribute("mixed")]
public override bool IsMixed
{
get{ return isMixed; }
set{ isMixed = value; }
}
#endregion
#region Elements
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return anyAttribute; }
set{ anyAttribute = value; }
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes; }
}
[XmlElement("simpleContent",typeof(XmlSchemaSimpleContent),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("complexContent",typeof(XmlSchemaComplexContent),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaContentModel ContentModel
{
get{ return contentModel; }
set{ contentModel = value; }
}
[XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaParticle Particle
{
get{ return particle; }
set{ particle = value; }
}
#endregion
#region XmlIgnore
[XmlIgnore]
public XmlSchemaObjectTable AttributeUses
{
@@ -103,11 +51,24 @@ namespace System.Xml.Schema
{
get{ return attributeWildcard; }
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[XmlAttribute]
public XmlSchemaDerivationMethod Block
{
get{ return block; }
set{ block = value; }
}
[XmlIgnore]
public XmlSchemaDerivationMethod BlockResolved
{
get{ return blockResolved; }
}
[XmlElement]
public XmlSchemaContentModel ContentModel
{
get{ return contentModel; }
set{ contentModel = value; }
}
[XmlIgnore]
public XmlSchemaContentType ContentType
{
@@ -118,6 +79,25 @@ namespace System.Xml.Schema
{
get{ return contentTypeParticle; }
}
#endregion
[DefaultValue(true)]
[XmlAttribute]
public bool IsAbstract
{
get{ return isAbstract; }
set{ isAbstract = value; }
}
[DefaultValue(true)]
[XmlAttribute]
public override bool IsMixed
{
get{ return isMixed; }
set{ isMixed = value; }
}
[XmlElement]
public XmlSchemaParticle Particle
{
get{ return particle; }
set{ particle = value; }
}
}
}
@@ -12,11 +12,11 @@ namespace System.Xml.Schema
{
[XmlIgnore]
None = 0,
[XmlEnum("skip")]
[XmlEnum]
Skip = 1,
[XmlEnum("lax")]
[XmlEnum]
Lax = 2,
[XmlEnum("strict")]
[XmlEnum]
Strict = 3,
}
}
@@ -11,19 +11,19 @@ namespace System.Xml.Schema
[Flags]
public enum XmlSchemaDerivationMethod
{
[XmlEnum("empty")]
[XmlEnum]
Empty = 0x00000000,
[XmlEnum("substitution")]
[XmlEnum]
Substitution= 0x00000001,
[XmlEnum("extension")]
[XmlEnum]
Extension = 0x00000002,
[XmlEnum("restriction")]
[XmlEnum]
Restriction = 0x00000004,
[XmlEnum("list")]
[XmlEnum]
List = 0x00000008,
[XmlEnum("union")]
[XmlEnum]
Union = 0x00000010,
[XmlEnum("#all")]
[XmlEnum]
All = 0x000000FF,
[XmlIgnore]
None = 0x00000100,
@@ -19,7 +19,12 @@ namespace System.Xml.Schema
{
source = string.Empty;
}
[XmlAttribute]
public string Language
{
get{ return language; }
set{ language = value; }
}
[XmlAnyElement]
[XmlText]
public XmlNode[] Markup
@@ -27,19 +32,11 @@ namespace System.Xml.Schema
get{ return markup; }
set{ markup = value; }
}
[System.Xml.Serialization.XmlAttribute("source")]
[XmlAttribute]
public string Source
{
get{ return source; }
set{ source = value; }
}
[System.Xml.Serialization.XmlAttribute("xml:lang")]
public string Language
{
get{ return language; }
set{ language = value; }
}
}
}
@@ -33,146 +33,117 @@ namespace System.Xml.Schema
public XmlSchemaElement()
{
block = XmlSchemaDerivationMethod.None;
final = XmlSchemaDerivationMethod.None;
constraints = new XmlSchemaObjectCollection();
final = XmlSchemaDerivationMethod.None;
finalResolved = XmlSchemaDerivationMethod.None;
name = string.Empty;
qName = XmlQualifiedName.Empty;
substitutionGroup = XmlQualifiedName.Empty;
}
#region Attributes
[DefaultValue(false)]
[System.Xml.Serialization.XmlAttribute("abstract")]
public bool IsAbstract
{
get{ return isAbstract; }
set{ isAbstract = value; }
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("block")]
[XmlAttribute]
public XmlSchemaDerivationMethod Block
{
get{ return block; }
set{ block = value; }
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("default")]
[XmlIgnore]
public XmlSchemaDerivationMethod BlockResolved
{
get{ return blockResolved; }
}
[XmlElement]
public XmlSchemaObjectCollection Constraints
{
get{ return constraints; }
}
[DefaultValue("")]
[XmlAttribute]
public string DefaultValue
{
get{ return defaultValue; }
set{ defaultValue = value; }
}
[XmlIgnore]
public object ElementType
{
get{ return elementType; }
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("final")]
[XmlAttribute]
public XmlSchemaDerivationMethod Final
{
get{ return final; }
set{ final = value; }
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("fixed")]
[XmlIgnore]
public XmlSchemaDerivationMethod FinalResolved
{
get{ return finalResolved; }
}
[DefaultValue("")]
[XmlAttribute]
public string FixedValue
{
get{ return fixedValue; }
set{ fixedValue = value; }
}
[DefaultValue(XmlSchemaForm.None)]
[System.Xml.Serialization.XmlAttribute("form")]
[XmlAttribute]
public XmlSchemaForm Form
{
get{ return form; }
set{ form = value; }
}
[DefaultValue(true)]
[XmlAttribute]
public bool IsAbstract
{
get{ return isAbstract; }
set{ isAbstract = value; }
}
[DefaultValue(false)]
[System.Xml.Serialization.XmlAttribute("nillable")]
[XmlAttribute]
public bool IsNillable
{
get{ return isNillable; }
set{ isNillable = value; }
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("name")]
[DefaultValue("")]
[XmlAttribute]
public string Name
{
get{ return name; }
set{ name = value; }
}
[System.Xml.Serialization.XmlAttribute("ref")]
public XmlQualifiedName RefName
{
get{ return refName; }
set{ refName = value;}
}
[System.Xml.Serialization.XmlAttribute("type")]
public XmlQualifiedName SchemaTypeName
{
get{ return schemaTypeName; }
set{ schemaTypeName = value; }
}
[System.Xml.Serialization.XmlAttribute("substitutionGroup")]
public XmlQualifiedName SubstitutionGroup
{
get{ return substitutionGroup; }
set{ substitutionGroup = value; }
}
#endregion
#region Elements
[XmlElement("unique",typeof(XmlSchemaUnique),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("key",typeof(XmlSchemaKey),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("keyref",typeof(XmlSchemaKeyref),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaObjectCollection Constraints
{
get{ return constraints; }
}
[XmlElement("simpleType",typeof(XmlSchemaSimpleType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("complexType",typeof(XmlSchemaComplexType),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaType SchemaType
{
get{ return schemaType; }
set{ schemaType = value; }
}
#endregion
#region XmlIgnore
[XmlIgnore]
public XmlSchemaDerivationMethod BlockResolved
{
get{ return blockResolved; }
}
[XmlIgnore]
public object ElementType
{
get{ return elementType; }
}
[XmlIgnore]
public XmlSchemaDerivationMethod FinalResolved
{
get{ return finalResolved; }
}
[XmlIgnore]
public XmlQualifiedName QualifiedName
{
get{ return qName; }
}
#endregion
[XmlAttribute]
public XmlQualifiedName RefName
{
get{ return refName; }
set{ refName = value;}
}
[XmlElement]
public XmlSchemaType SchemaType
{
get{ return schemaType; }
set{ schemaType = value; }
}
[XmlAttribute]
public XmlQualifiedName SchemaTypeName
{
get{ return schemaTypeName; }
set{ schemaTypeName = value; }
}
[XmlAttribute]
public XmlQualifiedName SubstitutionGroup
{
get{ return substitutionGroup; }
set{ substitutionGroup = value; }
}
}
}
@@ -17,23 +17,21 @@ namespace System.Xml.Schema
private XmlAttribute[] unhandledAttributes;
protected XmlSchemaExternal()
{}
[System.Xml.Serialization.XmlAttribute("id")]
{
}
[XmlAttribute]
public string Id
{
get{ return id; }
set{ id = value; }
}
[XmlIgnore]
public XmlSchema Schema
{
get{ return schema; }
set{ schema = value; }
}
[System.Xml.Serialization.XmlAttribute("schemaLocation")]
[XmlAttribute]
public string SchemaLocation
{
get{ return location; }
@@ -20,14 +20,14 @@ namespace System.Xml.Schema
val = string.Empty;
}
[DefaultValue(false)]
[System.Xml.Serialization.XmlAttribute("fixed")]
[XmlAttribute]
public virtual bool IsFixed
{
get{ return isFixed; }
set{ isFixed = value; }
}
[System.Xml.Serialization.XmlAttribute("value")]
public string Value
[XmlAttribute]
public string Value
{
get{ return val; }
set{ val = value; }
@@ -11,9 +11,9 @@ namespace System.Xml.Schema
{
[XmlIgnore]
None = 0x00000000,
[XmlEnum("qualified")]
[XmlEnum]
Qualified = 0x00000001,
[XmlEnum("unqualified")]
[XmlEnum]
Unqualified = 0x00000002,
}
}
@@ -15,18 +15,15 @@ namespace System.Xml.Schema
public XmlSchemaGroup()
{
name = string.Empty;
}
[System.Xml.Serialization.XmlAttribute("name")]
[XmlAttribute]
public string Name
{
get{ return name; }
set{ name = value; }
}
[XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaGroupBase Particle
{
get{ return particle; }
@@ -21,7 +21,7 @@ namespace System.Xml.Schema
{
get{ return particle; }
}
[System.Xml.Serialization.XmlAttribute("ref")]
[XmlAttribute]
public XmlQualifiedName RefName
{
get{ return refName; }
@@ -21,31 +21,27 @@ namespace System.Xml.Schema
fields = new XmlSchemaObjectCollection();
qName = XmlQualifiedName.Empty;
}
[XmlElement("field",typeof(XmlSchemaXPath),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Fields
{
get{ return fields; }
}
[XmlElement("selector",typeof(XmlSchemaXPath),Namespace="http://www.w3.org/2001/XMLSchema")]
public XmlSchemaXPath Selector
{
get{ return selector; }
set{ selector = value; }
}
[System.Xml.Serialization.XmlAttribute("name")]
[XmlAttribute]
public string Name
{
get{ return name; }
set{ name = value; }
}
[XmlIgnore]
public XmlQualifiedName QualifiedName
{
get{ return qName; }
}
[XmlElement]
public XmlSchemaXPath Selector
{
get{ return selector; }
set{ selector = value; }
}
}
}
@@ -15,15 +15,13 @@ namespace System.Xml.Schema
public XmlSchemaImport()
{
}
[XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnnotation Annotation
{
get{ return annotation; }
set{ annotation = value; }
}
[System.Xml.Serialization.XmlAttribute("namespace")]
[XmlAttribute]
public string Namespace
{
get{ return nameSpace; }
@@ -14,7 +14,7 @@ namespace System.Xml.Schema
public XmlSchemaInclude()
{
}
[XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnnotation Annotation
{
get{ return annotation; }
@@ -16,9 +16,8 @@ namespace System.Xml.Schema
public XmlSchemaKeyref()
{
}
[System.Xml.Serialization.XmlAttribute("refer")]
public XmlQualifiedName Refer
[XmlAttribute]
public XmlQualifiedName Refer
{
get{ return refer; }
set{ refer = value; }
@@ -17,19 +17,19 @@ namespace System.Xml.Schema
public XmlSchemaNotation()
{
}
[System.Xml.Serialization.XmlAttribute("name")]
[XmlAttribute]
public string Name
{
get{ return name; }
set{ name = value; }
}
[System.Xml.Serialization.XmlAttribute("public")]
[XmlAttribute]
public string Public
{
get{ return pub; }
set{ pub = value; }
}
[System.Xml.Serialization.XmlAttribute("system")]
[XmlAttribute]
public string System
{
get{ return system; }
@@ -8,12 +8,6 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchemaObject.
/// </summary>
// [XmlInclude(typeof(XmlSchema)),
// XmlInclude(typeof(XmlSchemaAnnotated)),
// XmlInclude(typeof(XmlSchemaAnnotation)),
// XmlInclude(typeof(XmlSchemaAppInfo)),
// XmlInclude(typeof(XmlSchemaDocumentation)),
// XmlInclude(typeof(XmlSchemaExternal))]
public abstract class XmlSchemaObject
{
private int lineNumber;
@@ -42,7 +36,6 @@ namespace System.Xml.Schema
get{ return sourceUri; }
set{ sourceUri = value; }
}
// Undocumented Property
[XmlNamespaceDeclarations]
public XmlSerializerNamespaces Namespaces
@@ -10,14 +10,12 @@ namespace System.Xml.Schema
/// </summary>
public class XmlSchemaObjectCollection : System.Collections.CollectionBase
{
private XmlSchemaObject parent;
public XmlSchemaObjectCollection()
{
}
[MonoTODO]
public XmlSchemaObjectCollection(XmlSchemaObject parent)
{
this.parent = parent;
}
// Properties
@@ -34,17 +32,17 @@ namespace System.Xml.Schema
}
// Methods
public int Add(XmlSchemaObject item)
public int Add(System.Xml.Schema.XmlSchemaObject item)
{
return this.List.Add(item);
}
public bool Contains(XmlSchemaObject item)
public bool Contains(System.Xml.Schema.XmlSchemaObject item)
{
return this.List.Contains(item);
}
public void CopyTo(XmlSchemaObject[] array, int index)
public void CopyTo(System.Xml.Schema.XmlSchemaObject[] array, int index)
{
this.List.CopyTo(array,index);
}
@@ -55,12 +53,12 @@ namespace System.Xml.Schema
return (XmlSchemaObjectEnumerator) new object();
}
public int IndexOf(XmlSchemaObject item)
public int IndexOf(System.Xml.Schema.XmlSchemaObject item)
{
return this.List.IndexOf(item);
}
public void Insert(int index, XmlSchemaObject item)
public void Insert(int index, System.Xml.Schema.XmlSchemaObject item)
{
this.List.Insert(index, item);
}
@@ -74,7 +72,7 @@ namespace System.Xml.Schema
[MonoTODO]
protected override void OnSet(int index,object oldValue,object newValue){}
public void Remove(XmlSchemaObject item)
public void Remove(System.Xml.Schema.XmlSchemaObject item)
{
this.List.Remove(item);
}
@@ -18,11 +18,20 @@ namespace System.Xml.Schema
minOccurs = decimal.One;
maxOccurs = decimal.One;
}
#region Attributes
[System.Xml.Serialization.XmlAttribute("maxOccurs")]
public string MaxOccursString
[XmlIgnore]
public decimal MaxOccurs
{
get{ return maxOccurs; }
set
{
if(value >= 0 && (value == Decimal.Truncate(value)))
maxOccurs = value;
else
throw new XmlSchemaException("MaxOccurs must be a non-negative number",null);
}
}
[XmlAttribute]
public string MaxOccursString
{
get{ return maxstr; }
set
@@ -35,63 +44,33 @@ namespace System.Xml.Schema
else
{
decimal val = decimal.Parse(value);
if(val >= 0 && (val == Decimal.Truncate(val)))
{
maxOccurs = val;
maxstr = value;
}
else
{
throw new XmlSchemaException
("MaxOccurs must be a non-negative integer",null);
}
//Setting through the property
MaxOccurs = val;
maxstr = value;
}
}
}
[System.Xml.Serialization.XmlAttribute("minOccurs")]
public string MinOccursString
{
get{ return minstr; }
set
{
decimal val = decimal.Parse(value);
if(val >= 0 && (val == Decimal.Truncate(val)))
{
minOccurs = val;
minstr = value;
}
else
{
throw new XmlSchemaException
("MinOccursString must be a non-negative number",null);
}
}
}
#endregion
#region XmlIgnore
[XmlIgnore]
public decimal MaxOccurs
{
get{ return maxOccurs; }
set
{
MaxOccursString = value.ToString();
}
}
[XmlIgnore]
public decimal MinOccurs
{
get{ return minOccurs; }
set
{
MinOccursString = value.ToString();
if(value >= 0 && (value == Decimal.Truncate(value)))
minOccurs = value;
else
throw new XmlSchemaException("MinOccursString must be a non-negative number",null);
}
}
[XmlAttribute]
public string MinOccursString
{
get{ return minstr; }
set
{
MinOccurs = decimal.Parse(value);
minstr = value;
}
}
#endregion
}
}
@@ -28,12 +28,7 @@ namespace System.Xml.Schema
{
get{ return groups; }
}
[XmlElement("annotation",typeof(XmlSchemaAnnotation),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("simpleType",typeof(XmlSchemaSimpleType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("complexType",typeof(XmlSchemaComplexType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("group",typeof(XmlSchemaGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
//NOTE: AttributeGroup and not AttributeGroupRef
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Items
{
get{ return items; }
@@ -15,12 +15,7 @@ namespace System.Xml.Schema
{
items = new XmlSchemaObjectCollection();
}
[XmlElement("element",typeof(XmlSchemaElement),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("any",typeof(XmlSchemaAny),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public override XmlSchemaObjectCollection Items
{
get{ return items; }
@@ -15,9 +15,7 @@ namespace System.Xml.Schema
public XmlSchemaSimpleContent()
{
}
[XmlElement("restriction",typeof(XmlSchemaSimpleContentRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("extension",typeof(XmlSchemaSimpleContentExtension),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public override XmlSchemaContent Content
{
get{ return content; }
@@ -22,21 +22,18 @@ namespace System.Xml.Schema
attributes = new XmlSchemaObjectCollection();
}
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return any; }
set{ any = value; }
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes; }
}
[System.Xml.Serialization.XmlAttribute("base")]
[XmlAttribute]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
@@ -25,47 +25,30 @@ namespace System.Xml.Schema
facets = new XmlSchemaObjectCollection();
}
[System.Xml.Serialization.XmlAttribute("base")]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaAnyAttribute AnyAttribute
{
get{ return any; }
set{ any = value; }
}
[XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Attributes
{
get{ return attributes; }
}
[XmlElement("simpleType",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaSimpleType BaseType
{
get{ return baseType; }
set{ baseType = value; }
}
[XmlElement("minExclusive",typeof(XmlSchemaMinExclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("minInclusive",typeof(XmlSchemaMinInclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxExclusive",typeof(XmlSchemaMaxExclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxInclusive",typeof(XmlSchemaMaxInclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("totalDigits",typeof(XmlSchemaTotalDigitsFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("fractionDigits",typeof(XmlSchemaFractionDigitsFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("length",typeof(XmlSchemaLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("minLength",typeof(XmlSchemaMinLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxLength",typeof(XmlSchemaMaxLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("enumeration",typeof(XmlSchemaEnumerationFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("whiteSpace",typeof(XmlSchemaWhiteSpaceFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("pattern",typeof(XmlSchemaPatternFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlAttribute]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement]
public XmlSchemaObjectCollection Facets
{
get{ return facets; }
@@ -8,17 +8,14 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchemaSimpleType.
/// </summary>
public class XmlSchemaSimpleType : XmlSchemaType
public class XmlSchemaSimpleType
{
private XmlSchemaSimpleTypeContent content;
public XmlSchemaSimpleType()
{
}
[XmlElement("restriction",typeof(XmlSchemaSimpleTypeRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("list",typeof(XmlSchemaSimpleTypeList),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("union",typeof(XmlSchemaSimpleTypeUnion),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaSimpleTypeContent Content
{
get{ return content; }
@@ -17,8 +17,7 @@ namespace System.Xml.Schema
public XmlSchemaSimpleTypeList()
{}
[XmlElement("simpleType",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaSimpleType ItemType
{
get{ return itemType; }
@@ -28,9 +27,8 @@ namespace System.Xml.Schema
itemTypeName = null;
}
}
[System.Xml.Serialization.XmlAttribute("itemType")]
public XmlQualifiedName ItemTypeName
[XmlAttribute]
public XmlQualifiedName ItemTypeName
{
get{ return itemTypeName; }
set
@@ -19,33 +19,19 @@ namespace System.Xml.Schema
{
facets = new XmlSchemaObjectCollection();
}
[XmlElement("simpleType",Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaSimpleType BaseType
{
get{ return baseType; }
set{ baseType = value; }
}
[System.Xml.Serialization.XmlAttribute("base")]
[XmlAttribute]
public XmlQualifiedName BaseTypeName
{
get{ return baseTypeName; }
set{ baseTypeName = value; }
}
[XmlElement("minExclusive",typeof(XmlSchemaMinExclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("minInclusive",typeof(XmlSchemaMinInclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxExclusive",typeof(XmlSchemaMaxExclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxInclusive",typeof(XmlSchemaMaxInclusiveFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("totalDigits",typeof(XmlSchemaTotalDigitsFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("fractionDigits",typeof(XmlSchemaFractionDigitsFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("length",typeof(XmlSchemaLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("minLength",typeof(XmlSchemaMinLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("maxLength",typeof(XmlSchemaMaxLengthFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("enumeration",typeof(XmlSchemaEnumerationFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("whiteSpace",typeof(XmlSchemaWhiteSpaceFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement("pattern",typeof(XmlSchemaPatternFacet),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection Facets
{
get{ return facets; }
@@ -18,15 +18,13 @@ namespace System.Xml.Schema
{
baseTypes = new XmlSchemaObjectCollection();
}
[XmlElement("simpleType",typeof(XmlSchemaSimpleType),Namespace="http://www.w3.org/2001/XMLSchema")]
[XmlElement]
public XmlSchemaObjectCollection BaseTypes
{
get{ return baseTypes; }
}
[System.Xml.Serialization.XmlAttribute("memberTypes")]
public XmlQualifiedName[] MemberTypes
[XmlAttribute]
public XmlQualifiedName[] MemberTypes
{
get{ return memberTypes; }
set{ memberTypes = value; }
@@ -10,7 +10,6 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for XmlSchemaType.
/// </summary>
[XmlInclude(typeof(XmlSchemaSimpleType))]
public class XmlSchemaType : XmlSchemaAnnotated
{
private object baseSchemaType;
@@ -26,24 +25,6 @@ namespace System.Xml.Schema
{
final = XmlSchemaDerivationMethod.None;
}
#region Attributes
[System.Xml.Serialization.XmlAttribute("name")]
public string Name
{
get{ return name; }
set{ name = value; }
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[System.Xml.Serialization.XmlAttribute("final")]
public XmlSchemaDerivationMethod Final
{
get{ return final; }
set{ final = value; }
}
#endregion
#region XmlIgnore
[XmlIgnore]
public object BaseSchemaType
{
@@ -59,6 +40,13 @@ namespace System.Xml.Schema
{
get{ return derivedBy; }
}
[DefaultValue(XmlSchemaDerivationMethod.None)]
[XmlAttribute]
public XmlSchemaDerivationMethod Final
{
get{ return final; }
set{ final = value; }
}
[XmlIgnore]
public XmlSchemaDerivationMethod FinalResolved
{
@@ -70,11 +58,16 @@ namespace System.Xml.Schema
get{ return isMixed; }
set{ isMixed = value; }
}
[XmlAttribute]
public string Name
{
get{ return name; }
set{ name = value; }
}
[XmlIgnore]
public XmlQualifiedName QualifiedName
{
get{ return qName; }
}
#endregion
}
}
@@ -12,11 +12,11 @@ namespace System.Xml.Schema
{
[XmlIgnore]
None = 0x00000000,
[XmlEnum("optional")]
[XmlEnum]
Optional = 0x00000001,
[XmlEnum("prohibited")]
[XmlEnum]
Prohibited = 0x00000002,
[XmlEnum("required")]
[XmlEnum]
Required = 0x00000003,
}
}
@@ -16,8 +16,8 @@ namespace System.Xml.Schema
public XmlSchemaXPath()
{
}
[DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("xpath")]
[DefaultValue("")]
[XmlAttribute]
public string XPath
{
get{ return xpath; }
+1 -3
View File
@@ -79,9 +79,7 @@
<a href="http://gtk-sharp.sourceforge.net">Gtk#</a> runs <a
href="http://gtk-sharp.sourceforge.net/gtk-hello-world.png">Hello
World</a>. Mike posted some <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2002-March/000034.html">details.</a>
World</a>
** Mar 19, 2002
-246
View File
@@ -1,246 +0,0 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack