/Runtime/Microsoft.Dynamic/Runtime/AssemblyTypeNames.cs
http://ironperunis.codeplex.com · C# · 8124 lines · 7784 code · 295 blank · 45 comment · 21 complexity · 1cfaf4ddf03d2145bb0d0c60933371c6 MD5 · raw file
Large files are truncated click here to view the full file
- /* ****************************************************************************
- *
- * Copyright (c) Microsoft Corporation.
- *
- * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
- * copy of the license can be found in the License.html file at the root of this distribution. If
- * you cannot locate the Apache License, Version 2.0, please send an email to
- * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
- * by the terms of the Apache License, Version 2.0.
- *
- * You must not remove this notice, or any other, from this software.
- *
- *
- * ***************************************************************************/
-
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Reflection;
- using Microsoft.Scripting.Utils;
-
- namespace Microsoft.Scripting.Runtime {
-
- internal struct TypeName {
- private readonly string _namespace;
- private readonly string _typeName;
-
- internal TypeName(Type type) {
- Debug.Assert(!type.IsNested());
- _namespace = type.Namespace;
- _typeName = type.Name;
- }
-
- internal TypeName(string nameSpace, string typeName) {
- _namespace = nameSpace;
- _typeName = typeName;
- }
-
- internal string Namespace { get { return _namespace; } }
- internal string Name { get { return _typeName; } }
-
- public override int GetHashCode() {
- int hash = 13 << 20;
- if (_namespace != null) hash ^= _namespace.GetHashCode();
- if (_typeName != null) hash ^= _typeName.GetHashCode();
- return hash;
- }
-
- public override bool Equals(object obj) {
- if (!(obj is TypeName)) {
- return false;
- }
- TypeName tn = (TypeName)obj;
- return tn._namespace == _namespace && tn._typeName == _typeName;
- }
-
- public static bool operator ==(TypeName a, TypeName b) {
- return a._namespace == b._namespace && a._typeName == b._typeName;
- }
-
- public static bool operator !=(TypeName a, TypeName b) {
- return !(a == b);
- }
- }
-
- // TODO: Only used by ComObjectWityTypeInfo. Remove when gone!
- internal static class AssemblyTypeNames {
- public static IEnumerable<TypeName> GetTypeNames(Assembly assem, bool includePrivateTypes) {
- #if !SILVERLIGHT
- switch (assem.FullName) {
- case "mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089": return Get_mscorlib_TypeNames();
- case "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089": return Get_System_TypeNames();
- case "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089": return Get_SystemXml_TypeNames();
- case "System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a": return Get_SystemDrawing_TypeNames();
- case "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089": return Get_SystemWindowsForms_TypeNames();
- }
- #endif
-
- Type[] types = LoadTypesFromAssembly(assem, includePrivateTypes);
-
- return GetTypeNames(types);
- }
-
- static IEnumerable<TypeName> GetTypeNames(Type[] types) {
- foreach (Type t in types) {
- if (t.IsNested()) continue;
- TypeName typeName = new TypeName(t);
- yield return typeName;
- }
- }
-
- // Note that the result can contain null references.
- private static Type[] GetAllTypesFromAssembly(Assembly asm) {
- #if SILVERLIGHT // ReflectionTypeLoadException
- try {
- return asm.GetTypes();
- } catch (Exception) {
- return Type.EmptyTypes;
- }
- #else
- try {
- return asm.GetTypes();
- } catch (ReflectionTypeLoadException rtlException) {
- return rtlException.Types;
- }
- #endif
- }
-
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
- public static Type[] LoadTypesFromAssembly(Assembly assembly, bool includePrivateTypes) {
- ContractUtils.RequiresNotNull(assembly, "assembly");
-
- if (includePrivateTypes) {
- return ArrayUtils.FindAll(GetAllTypesFromAssembly(assembly), (type) => type != null);
- }
-
- try {
- return assembly.GetExportedTypes();
- } catch (NotSupportedException) {
- // GetExportedTypes does not work with dynamic assemblies
- } catch (Exception) {
- // Some type loads may cause exceptions. Unfortunately, there is no way to ask GetExportedTypes
- // for just the list of types that we successfully loaded.
- }
-
- return ArrayUtils.FindAll(GetAllTypesFromAssembly(assembly), (type) => type != null && type.IsPublic);
- }
-
- #if !SILVERLIGHT
- static IEnumerable<TypeName> GetTypeNames(string[] namespaces, string[][] types) {
- Debug.Assert(namespaces.Length == types.Length);
-
- for (int i = 0; i < namespaces.Length; i++) {
- for (int j = 0; j < types[i].Length; j++) {
- TypeName typeName = new TypeName(namespaces[i], types[i][j]);
- yield return typeName;
- }
- }
- }
-
- #if CLR2
-
- #region Generated Well-known assembly type names
-
- // *** BEGIN GENERATED CODE ***
- // generated by function: do_generate from: generate_AssemblyTypeNames.py
-
- static IEnumerable<TypeName> Get_mscorlib_TypeNames() {
- // mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- // Total number of types = 1271
-
- string [] namespaces = new string[47] {
- "Microsoft.Win32",
- "Microsoft.Win32.SafeHandles",
- "System",
- "System.Collections",
- "System.Collections.Generic",
- "System.Collections.ObjectModel",
- "System.Configuration.Assemblies",
- "System.Deployment.Internal",
- "System.Diagnostics",
- "System.Diagnostics.CodeAnalysis",
- "System.Diagnostics.SymbolStore",
- "System.Globalization",
- "System.IO",
- "System.IO.IsolatedStorage",
- "System.Reflection",
- "System.Reflection.Emit",
- "System.Resources",
- "System.Runtime",
- "System.Runtime.CompilerServices",
- "System.Runtime.ConstrainedExecution",
- "System.Runtime.Hosting",
- "System.Runtime.InteropServices",
- "System.Runtime.InteropServices.ComTypes",
- "System.Runtime.InteropServices.Expando",
- "System.Runtime.Remoting",
- "System.Runtime.Remoting.Activation",
- "System.Runtime.Remoting.Channels",
- "System.Runtime.Remoting.Contexts",
- "System.Runtime.Remoting.Lifetime",
- "System.Runtime.Remoting.Messaging",
- "System.Runtime.Remoting.Metadata",
- "System.Runtime.Remoting.Metadata.W3cXsd2001",
- "System.Runtime.Remoting.Proxies",
- "System.Runtime.Remoting.Services",
- "System.Runtime.Serialization",
- "System.Runtime.Serialization.Formatters",
- "System.Runtime.Serialization.Formatters.Binary",
- "System.Runtime.Versioning",
- "System.Security",
- "System.Security.AccessControl",
- "System.Security.Cryptography",
- "System.Security.Cryptography.X509Certificates",
- "System.Security.Permissions",
- "System.Security.Policy",
- "System.Security.Principal",
- "System.Text",
- "System.Threading",
- };
-
- string [][] types = new string[47][] {
-
- new string[6] { // Microsoft.Win32
- "Registry",
- "RegistryHive",
- "RegistryKey",
- "RegistryKeyPermissionCheck",
- "RegistryValueKind",
- "RegistryValueOptions",
- },
-
- new string[6] { // Microsoft.Win32.SafeHandles
- "CriticalHandleMinusOneIsInvalid",
- "CriticalHandleZeroOrMinusOneIsInvalid",
- "SafeFileHandle",
- "SafeHandleMinusOneIsInvalid",
- "SafeHandleZeroOrMinusOneIsInvalid",
- "SafeWaitHandle",
- },
-
- new string[174] { // System
- "AccessViolationException",
- "Action`1",
- "ActivationContext",
- "Activator",
- "AppDomain",
- "AppDomainInitializer",
- "AppDomainManager",
- "AppDomainManagerInitializationOptions",
- "AppDomainSetup",
- "AppDomainUnloadedException",
- "ApplicationException",
- "ApplicationId",
- "ApplicationIdentity",
- "ArgIterator",
- "ArgumentException",
- "ArgumentNullException",
- "ArgumentOutOfRangeException",
- "ArithmeticException",
- "Array",
- "ArraySegment`1",
- "ArrayTypeMismatchException",
- "AssemblyLoadEventArgs",
- "AssemblyLoadEventHandler",
- "AsyncCallback",
- "Attribute",
- "AttributeTargets",
- "AttributeUsageAttribute",
- "BadImageFormatException",
- "Base64FormattingOptions",
- "BitConverter",
- "Boolean",
- "Buffer",
- "Byte",
- "CLSCompliantAttribute",
- "CannotUnloadAppDomainException",
- "Char",
- "CharEnumerator",
- "Comparison`1",
- "Console",
- "ConsoleCancelEventArgs",
- "ConsoleCancelEventHandler",
- "ConsoleColor",
- "ConsoleKey",
- "ConsoleKeyInfo",
- "ConsoleModifiers",
- "ConsoleSpecialKey",
- "ContextBoundObject",
- "ContextMarshalException",
- "ContextStaticAttribute",
- "Convert",
- "Converter`2",
- "CrossAppDomainDelegate",
- "DBNull",
- "DataMisalignedException",
- "DateTime",
- "DateTimeKind",
- "DateTimeOffset",
- "DayOfWeek",
- "Decimal",
- "Delegate",
- "DivideByZeroException",
- "DllNotFoundException",
- "Double",
- "DuplicateWaitObjectException",
- "EntryPointNotFoundException",
- "Enum",
- "Environment",
- "EnvironmentVariableTarget",
- "EventArgs",
- "EventHandler",
- "EventHandler`1",
- "Exception",
- "ExecutionEngineException",
- "FieldAccessException",
- "FlagsAttribute",
- "FormatException",
- "GC",
- "GCCollectionMode",
- "GCNotificationStatus",
- "Guid",
- "IAppDomainSetup",
- "IAsyncResult",
- "ICloneable",
- "IComparable",
- "IComparable`1",
- "IConvertible",
- "ICustomFormatter",
- "IDisposable",
- "IEquatable`1",
- "IFormatProvider",
- "IFormattable",
- "IServiceProvider",
- "IndexOutOfRangeException",
- "InsufficientMemoryException",
- "Int16",
- "Int32",
- "Int64",
- "IntPtr",
- "InvalidCastException",
- "InvalidOperationException",
- "InvalidProgramException",
- "LoaderOptimization",
- "LoaderOptimizationAttribute",
- "LocalDataStoreSlot",
- "MTAThreadAttribute",
- "MarshalByRefObject",
- "Math",
- "MemberAccessException",
- "MethodAccessException",
- "MidpointRounding",
- "MissingFieldException",
- "MissingMemberException",
- "MissingMethodException",
- "ModuleHandle",
- "MulticastDelegate",
- "MulticastNotSupportedException",
- "NonSerializedAttribute",
- "NotFiniteNumberException",
- "NotImplementedException",
- "NotSupportedException",
- "NullReferenceException",
- "Nullable",
- "Nullable`1",
- "Object",
- "ObjectDisposedException",
- "ObsoleteAttribute",
- "OperatingSystem",
- "OperationCanceledException",
- "OutOfMemoryException",
- "OverflowException",
- "ParamArrayAttribute",
- "PlatformID",
- "PlatformNotSupportedException",
- "Predicate`1",
- "Random",
- "RankException",
- "ResolveEventArgs",
- "ResolveEventHandler",
- "RuntimeArgumentHandle",
- "RuntimeFieldHandle",
- "RuntimeMethodHandle",
- "RuntimeTypeHandle",
- "SByte",
- "STAThreadAttribute",
- "SerializableAttribute",
- "Single",
- "StackOverflowException",
- "String",
- "StringComparer",
- "StringComparison",
- "StringSplitOptions",
- "SystemException",
- "ThreadStaticAttribute",
- "TimeSpan",
- "TimeZone",
- "TimeoutException",
- "Type",
- "TypeCode",
- "TypeInitializationException",
- "TypeLoadException",
- "TypeUnloadedException",
- "TypedReference",
- "UInt16",
- "UInt32",
- "UInt64",
- "UIntPtr",
- "UnauthorizedAccessException",
- "UnhandledExceptionEventArgs",
- "UnhandledExceptionEventHandler",
- "ValueType",
- "Version",
- "Void",
- "WeakReference",
- "_AppDomain",
- },
-
- new string[22] { // System.Collections
- "ArrayList",
- "BitArray",
- "CaseInsensitiveComparer",
- "CaseInsensitiveHashCodeProvider",
- "CollectionBase",
- "Comparer",
- "DictionaryBase",
- "DictionaryEntry",
- "Hashtable",
- "ICollection",
- "IComparer",
- "IDictionary",
- "IDictionaryEnumerator",
- "IEnumerable",
- "IEnumerator",
- "IEqualityComparer",
- "IHashCodeProvider",
- "IList",
- "Queue",
- "ReadOnlyCollectionBase",
- "SortedList",
- "Stack",
- },
-
- new string[13] { // System.Collections.Generic
- "Comparer`1",
- "Dictionary`2",
- "EqualityComparer`1",
- "ICollection`1",
- "IComparer`1",
- "IDictionary`2",
- "IEnumerable`1",
- "IEnumerator`1",
- "IEqualityComparer`1",
- "IList`1",
- "KeyNotFoundException",
- "KeyValuePair`2",
- "List`1",
- },
-
- new string[3] { // System.Collections.ObjectModel
- "Collection`1",
- "KeyedCollection`2",
- "ReadOnlyCollection`1",
- },
-
- new string[3] { // System.Configuration.Assemblies
- "AssemblyHash",
- "AssemblyHashAlgorithm",
- "AssemblyVersionCompatibility",
- },
-
- new string[2] { // System.Deployment.Internal
- "InternalActivationContextHelper",
- "InternalApplicationIdentityHelper",
- },
-
- new string[14] { // System.Diagnostics
- "ConditionalAttribute",
- "DebuggableAttribute",
- "Debugger",
- "DebuggerBrowsableAttribute",
- "DebuggerBrowsableState",
- "DebuggerDisplayAttribute",
- "DebuggerHiddenAttribute",
- "DebuggerNonUserCodeAttribute",
- "DebuggerStepThroughAttribute",
- "DebuggerStepperBoundaryAttribute",
- "DebuggerTypeProxyAttribute",
- "DebuggerVisualizerAttribute",
- "StackFrame",
- "StackTrace",
- },
-
- new string[1] { // System.Diagnostics.CodeAnalysis
- "SuppressMessageAttribute",
- },
-
- new string[15] { // System.Diagnostics.SymbolStore
- "ISymbolBinder",
- "ISymbolBinder1",
- "ISymbolDocument",
- "ISymbolDocumentWriter",
- "ISymbolMethod",
- "ISymbolNamespace",
- "ISymbolReader",
- "ISymbolScope",
- "ISymbolVariable",
- "ISymbolWriter",
- "SymAddressKind",
- "SymDocumentType",
- "SymLanguageType",
- "SymLanguageVendor",
- "SymbolToken",
- },
-
- new string[37] { // System.Globalization
- "Calendar",
- "CalendarAlgorithmType",
- "CalendarWeekRule",
- "CharUnicodeInfo",
- "ChineseLunisolarCalendar",
- "CompareInfo",
- "CompareOptions",
- "CultureInfo",
- "CultureTypes",
- "DateTimeFormatInfo",
- "DateTimeStyles",
- "DaylightTime",
- "DigitShapes",
- "EastAsianLunisolarCalendar",
- "GregorianCalendar",
- "GregorianCalendarTypes",
- "HebrewCalendar",
- "HijriCalendar",
- "IdnMapping",
- "JapaneseCalendar",
- "JapaneseLunisolarCalendar",
- "JulianCalendar",
- "KoreanCalendar",
- "KoreanLunisolarCalendar",
- "NumberFormatInfo",
- "NumberStyles",
- "PersianCalendar",
- "RegionInfo",
- "SortKey",
- "StringInfo",
- "TaiwanCalendar",
- "TaiwanLunisolarCalendar",
- "TextElementEnumerator",
- "TextInfo",
- "ThaiBuddhistCalendar",
- "UmAlQuraCalendar",
- "UnicodeCategory",
- },
-
- new string[35] { // System.IO
- "BinaryReader",
- "BinaryWriter",
- "BufferedStream",
- "Directory",
- "DirectoryInfo",
- "DirectoryNotFoundException",
- "DriveInfo",
- "DriveNotFoundException",
- "DriveType",
- "EndOfStreamException",
- "File",
- "FileAccess",
- "FileAttributes",
- "FileInfo",
- "FileLoadException",
- "FileMode",
- "FileNotFoundException",
- "FileOptions",
- "FileShare",
- "FileStream",
- "FileSystemInfo",
- "IOException",
- "MemoryStream",
- "Path",
- "PathTooLongException",
- "SearchOption",
- "SeekOrigin",
- "Stream",
- "StreamReader",
- "StreamWriter",
- "StringReader",
- "StringWriter",
- "TextReader",
- "TextWriter",
- "UnmanagedMemoryStream",
- },
-
- new string[6] { // System.IO.IsolatedStorage
- "INormalizeForIsolatedStorage",
- "IsolatedStorage",
- "IsolatedStorageException",
- "IsolatedStorageFile",
- "IsolatedStorageFileStream",
- "IsolatedStorageScope",
- },
-
- new string[76] { // System.Reflection
- "AmbiguousMatchException",
- "Assembly",
- "AssemblyAlgorithmIdAttribute",
- "AssemblyCompanyAttribute",
- "AssemblyConfigurationAttribute",
- "AssemblyCopyrightAttribute",
- "AssemblyCultureAttribute",
- "AssemblyDefaultAliasAttribute",
- "AssemblyDelaySignAttribute",
- "AssemblyDescriptionAttribute",
- "AssemblyFileVersionAttribute",
- "AssemblyFlagsAttribute",
- "AssemblyInformationalVersionAttribute",
- "AssemblyKeyFileAttribute",
- "AssemblyKeyNameAttribute",
- "AssemblyName",
- "AssemblyNameFlags",
- "AssemblyNameProxy",
- "AssemblyProductAttribute",
- "AssemblyTitleAttribute",
- "AssemblyTrademarkAttribute",
- "AssemblyVersionAttribute",
- "Binder",
- "BindingFlags",
- "CallingConventions",
- "ConstructorInfo",
- "CustomAttributeData",
- "CustomAttributeFormatException",
- "CustomAttributeNamedArgument",
- "CustomAttributeTypedArgument",
- "DefaultMemberAttribute",
- "EventAttributes",
- "EventInfo",
- "ExceptionHandlingClause",
- "ExceptionHandlingClauseOptions",
- "FieldAttributes",
- "FieldInfo",
- "GenericParameterAttributes",
- "ICustomAttributeProvider",
- "IReflect",
- "ImageFileMachine",
- "InterfaceMapping",
- "InvalidFilterCriteriaException",
- "LocalVariableInfo",
- "ManifestResourceInfo",
- "MemberFilter",
- "MemberInfo",
- "MemberTypes",
- "MethodAttributes",
- "MethodBase",
- "MethodBody",
- "MethodImplAttributes",
- "MethodInfo",
- "Missing",
- "Module",
- "ModuleResolveEventHandler",
- "ObfuscateAssemblyAttribute",
- "ObfuscationAttribute",
- "ParameterAttributes",
- "ParameterInfo",
- "ParameterModifier",
- "Pointer",
- "PortableExecutableKinds",
- "ProcessorArchitecture",
- "PropertyAttributes",
- "PropertyInfo",
- "ReflectionTypeLoadException",
- "ResourceAttributes",
- "ResourceLocation",
- "StrongNameKeyPair",
- "TargetException",
- "TargetInvocationException",
- "TargetParameterCountException",
- "TypeAttributes",
- "TypeDelegator",
- "TypeFilter",
- },
-
- new string[37] { // System.Reflection.Emit
- "AssemblyBuilder",
- "AssemblyBuilderAccess",
- "ConstructorBuilder",
- "CustomAttributeBuilder",
- "DynamicILInfo",
- "DynamicMethod",
- "EnumBuilder",
- "EventBuilder",
- "EventToken",
- "FieldBuilder",
- "FieldToken",
- "FlowControl",
- "GenericTypeParameterBuilder",
- "ILGenerator",
- "Label",
- "LocalBuilder",
- "MethodBuilder",
- "MethodRental",
- "MethodToken",
- "ModuleBuilder",
- "OpCode",
- "OpCodeType",
- "OpCodes",
- "OperandType",
- "PEFileKinds",
- "PackingSize",
- "ParameterBuilder",
- "ParameterToken",
- "PropertyBuilder",
- "PropertyToken",
- "SignatureHelper",
- "SignatureToken",
- "StackBehaviour",
- "StringToken",
- "TypeBuilder",
- "TypeToken",
- "UnmanagedMarshal",
- },
-
- new string[11] { // System.Resources
- "IResourceReader",
- "IResourceWriter",
- "MissingManifestResourceException",
- "MissingSatelliteAssemblyException",
- "NeutralResourcesLanguageAttribute",
- "ResourceManager",
- "ResourceReader",
- "ResourceSet",
- "ResourceWriter",
- "SatelliteContractVersionAttribute",
- "UltimateResourceFallbackLocation",
- },
-
- new string[3] { // System.Runtime
- "GCLatencyMode",
- "GCSettings",
- "MemoryFailPoint",
- },
-
- new string[50] { // System.Runtime.CompilerServices
- "AccessedThroughPropertyAttribute",
- "CallConvCdecl",
- "CallConvFastcall",
- "CallConvStdcall",
- "CallConvThiscall",
- "CompilationRelaxations",
- "CompilationRelaxationsAttribute",
- "CompilerGeneratedAttribute",
- "CompilerGlobalScopeAttribute",
- "CompilerMarshalOverride",
- "CustomConstantAttribute",
- "DateTimeConstantAttribute",
- "DecimalConstantAttribute",
- "DefaultDependencyAttribute",
- "DependencyAttribute",
- "DiscardableAttribute",
- "FixedAddressValueTypeAttribute",
- "FixedBufferAttribute",
- "HasCopySemanticsAttribute",
- "IDispatchConstantAttribute",
- "IUnknownConstantAttribute",
- "IndexerNameAttribute",
- "InternalsVisibleToAttribute",
- "IsBoxed",
- "IsByValue",
- "IsConst",
- "IsCopyConstructed",
- "IsExplicitlyDereferenced",
- "IsImplicitlyDereferenced",
- "IsJitIntrinsic",
- "IsLong",
- "IsPinned",
- "IsSignUnspecifiedByte",
- "IsUdtReturn",
- "IsVolatile",
- "LoadHint",
- "MethodCodeType",
- "MethodImplAttribute",
- "MethodImplOptions",
- "NativeCppClassAttribute",
- "RequiredAttributeAttribute",
- "RuntimeCompatibilityAttribute",
- "RuntimeHelpers",
- "RuntimeWrappedException",
- "ScopelessEnumAttribute",
- "SpecialNameAttribute",
- "StringFreezingAttribute",
- "SuppressIldasmAttribute",
- "TypeForwardedToAttribute",
- "UnsafeValueTypeAttribute",
- },
-
- new string[5] { // System.Runtime.ConstrainedExecution
- "Cer",
- "Consistency",
- "CriticalFinalizerObject",
- "PrePrepareMethodAttribute",
- "ReliabilityContractAttribute",
- },
-
- new string[2] { // System.Runtime.Hosting
- "ActivationArguments",
- "ApplicationActivator",
- },
-
- new string[166] { // System.Runtime.InteropServices
- "AllowReversePInvokeCallsAttribute",
- "ArrayWithOffset",
- "AssemblyRegistrationFlags",
- "AutomationProxyAttribute",
- "BINDPTR",
- "BIND_OPTS",
- "BStrWrapper",
- "BestFitMappingAttribute",
- "CALLCONV",
- "COMException",
- "CONNECTDATA",
- "CallingConvention",
- "CharSet",
- "ClassInterfaceAttribute",
- "ClassInterfaceType",
- "CoClassAttribute",
- "ComAliasNameAttribute",
- "ComCompatibleVersionAttribute",
- "ComConversionLossAttribute",
- "ComDefaultInterfaceAttribute",
- "ComEventInterfaceAttribute",
- "ComImportAttribute",
- "ComInterfaceType",
- "ComMemberType",
- "ComRegisterFunctionAttribute",
- "ComSourceInterfacesAttribute",
- "ComUnregisterFunctionAttribute",
- "ComVisibleAttribute",
- "CriticalHandle",
- "CurrencyWrapper",
- "DESCKIND",
- "DISPPARAMS",
- "DefaultCharSetAttribute",
- "DispIdAttribute",
- "DispatchWrapper",
- "DllImportAttribute",
- "ELEMDESC",
- "EXCEPINFO",
- "ErrorWrapper",
- "ExporterEventKind",
- "ExtensibleClassFactory",
- "ExternalException",
- "FILETIME",
- "FUNCDESC",
- "FUNCFLAGS",
- "FUNCKIND",
- "FieldOffsetAttribute",
- "GCHandle",
- "GCHandleType",
- "GuidAttribute",
- "HandleRef",
- "ICustomAdapter",
- "ICustomFactory",
- "ICustomMarshaler",
- "IDLDESC",
- "IDLFLAG",
- "IDispatchImplAttribute",
- "IDispatchImplType",
- "IMPLTYPEFLAGS",
- "INVOKEKIND",
- "IRegistrationServices",
- "ITypeLibConverter",
- "ITypeLibExporterNameProvider",
- "ITypeLibExporterNotifySink",
- "ITypeLibImporterNotifySink",
- "ImportedFromTypeLibAttribute",
- "ImporterEventKind",
- "InAttribute",
- "InterfaceTypeAttribute",
- "InvalidComObjectException",
- "InvalidOleVariantTypeException",
- "LCIDConversionAttribute",
- "LIBFLAGS",
- "LayoutKind",
- "Marshal",
- "MarshalAsAttribute",
- "MarshalDirectiveException",
- "ObjectCreationDelegate",
- "OptionalAttribute",
- "OutAttribute",
- "PARAMDESC",
- "PARAMFLAG",
- "PreserveSigAttribute",
- "PrimaryInteropAssemblyAttribute",
- "ProgIdAttribute",
- "RegistrationClassContext",
- "RegistrationConnectionType",
- "RegistrationServices",
- "RuntimeEnvironment",
- "SEHException",
- "STATSTG",
- "SYSKIND",
- "SafeArrayRankMismatchException",
- "SafeArrayTypeMismatchException",
- "SafeHandle",
- "SetWin32ContextInIDispatchAttribute",
- "StructLayoutAttribute",
- "TYPEATTR",
- "TYPEDESC",
- "TYPEFLAGS",
- "TYPEKIND",
- "TYPELIBATTR",
- "TypeLibConverter",
- "TypeLibExporterFlags",
- "TypeLibFuncAttribute",
- "TypeLibFuncFlags",
- "TypeLibImportClassAttribute",
- "TypeLibImporterFlags",
- "TypeLibTypeAttribute",
- "TypeLibTypeFlags",
- "TypeLibVarAttribute",
- "TypeLibVarFlags",
- "TypeLibVersionAttribute",
- "UCOMIBindCtx",
- "UCOMIConnectionPoint",
- "UCOMIConnectionPointContainer",
- "UCOMIEnumConnectionPoints",
- "UCOMIEnumConnections",
- "UCOMIEnumMoniker",
- "UCOMIEnumString",
- "UCOMIEnumVARIANT",
- "UCOMIMoniker",
- "UCOMIPersistFile",
- "UCOMIRunningObjectTable",
- "UCOMIStream",
- "UCOMITypeComp",
- "UCOMITypeInfo",
- "UCOMITypeLib",
- "UnknownWrapper",
- "UnmanagedFunctionPointerAttribute",
- "UnmanagedType",
- "VARDESC",
- "VARFLAGS",
- "VarEnum",
- "VariantWrapper",
- "_Activator",
- "_Assembly",
- "_AssemblyBuilder",
- "_AssemblyName",
- "_Attribute",
- "_ConstructorBuilder",
- "_ConstructorInfo",
- "_CustomAttributeBuilder",
- "_EnumBuilder",
- "_EventBuilder",
- "_EventInfo",
- "_Exception",
- "_FieldBuilder",
- "_FieldInfo",
- "_ILGenerator",
- "_LocalBuilder",
- "_MemberInfo",
- "_MethodBase",
- "_MethodBuilder",
- "_MethodInfo",
- "_MethodRental",
- "_Module",
- "_ModuleBuilder",
- "_ParameterBuilder",
- "_ParameterInfo",
- "_PropertyBuilder",
- "_PropertyInfo",
- "_SignatureHelper",
- "_Thread",
- "_Type",
- "_TypeBuilder",
- },
-
- new string[46] { // System.Runtime.InteropServices.ComTypes
- "BINDPTR",
- "BIND_OPTS",
- "CALLCONV",
- "CONNECTDATA",
- "DESCKIND",
- "DISPPARAMS",
- "ELEMDESC",
- "EXCEPINFO",
- "FILETIME",
- "FUNCDESC",
- "FUNCFLAGS",
- "FUNCKIND",
- "IBindCtx",
- "IConnectionPoint",
- "IConnectionPointContainer",
- "IDLDESC",
- "IDLFLAG",
- "IEnumConnectionPoints",
- "IEnumConnections",
- "IEnumMoniker",
- "IEnumString",
- "IEnumVARIANT",
- "IMPLTYPEFLAGS",
- "IMoniker",
- "INVOKEKIND",
- "IPersistFile",
- "IRunningObjectTable",
- "IStream",
- "ITypeComp",
- "ITypeInfo",
- "ITypeInfo2",
- "ITypeLib",
- "ITypeLib2",
- "LIBFLAGS",
- "PARAMDESC",
- "PARAMFLAG",
- "STATSTG",
- "SYSKIND",
- "TYPEATTR",
- "TYPEDESC",
- "TYPEFLAGS",
- "TYPEKIND",
- "TYPELIBATTR",
- "VARDESC",
- "VARFLAGS",
- "VARKIND",
- },
-
- new string[1] { // System.Runtime.InteropServices.Expando
- "IExpando",
- },
-
- new string[20] { // System.Runtime.Remoting
- "ActivatedClientTypeEntry",
- "ActivatedServiceTypeEntry",
- "CustomErrorsModes",
- "IChannelInfo",
- "IEnvoyInfo",
- "IObjectHandle",
- "IRemotingTypeInfo",
- "InternalRemotingServices",
- "ObjRef",
- "ObjectHandle",
- "RemotingConfiguration",
- "RemotingException",
- "RemotingServices",
- "RemotingTimeoutException",
- "ServerException",
- "SoapServices",
- "TypeEntry",
- "WellKnownClientTypeEntry",
- "WellKnownObjectMode",
- "WellKnownServiceTypeEntry",
- },
-
- new string[5] { // System.Runtime.Remoting.Activation
- "ActivatorLevel",
- "IActivator",
- "IConstructionCallMessage",
- "IConstructionReturnMessage",
- "UrlAttribute",
- },
-
- new string[29] { // System.Runtime.Remoting.Channels
- "BaseChannelObjectWithProperties",
- "BaseChannelSinkWithProperties",
- "BaseChannelWithProperties",
- "ChannelDataStore",
- "ChannelServices",
- "ClientChannelSinkStack",
- "IChannel",
- "IChannelDataStore",
- "IChannelReceiver",
- "IChannelReceiverHook",
- "IChannelSender",
- "IChannelSinkBase",
- "IClientChannelSink",
- "IClientChannelSinkProvider",
- "IClientChannelSinkStack",
- "IClientFormatterSink",
- "IClientFormatterSinkProvider",
- "IClientResponseChannelSinkStack",
- "ISecurableChannel",
- "IServerChannelSink",
- "IServerChannelSinkProvider",
- "IServerChannelSinkStack",
- "IServerFormatterSinkProvider",
- "IServerResponseChannelSinkStack",
- "ITransportHeaders",
- "ServerChannelSinkStack",
- "ServerProcessing",
- "SinkProviderData",
- "TransportHeaders",
- },
-
- new string[15] { // System.Runtime.Remoting.Contexts
- "Context",
- "ContextAttribute",
- "ContextProperty",
- "CrossContextDelegate",
- "IContextAttribute",
- "IContextProperty",
- "IContextPropertyActivator",
- "IContributeClientContextSink",
- "IContributeDynamicSink",
- "IContributeEnvoySink",
- "IContributeObjectSink",
- "IContributeServerContextSink",
- "IDynamicMessageSink",
- "IDynamicProperty",
- "SynchronizationAttribute",
- },
-
- new string[5] { // System.Runtime.Remoting.Lifetime
- "ClientSponsor",
- "ILease",
- "ISponsor",
- "LeaseState",
- "LifetimeServices",
- },
-
- new string[24] { // System.Runtime.Remoting.Messaging
- "AsyncResult",
- "CallContext",
- "ConstructionCall",
- "ConstructionResponse",
- "Header",
- "HeaderHandler",
- "ILogicalThreadAffinative",
- "IMessage",
- "IMessageCtrl",
- "IMessageSink",
- "IMethodCallMessage",
- "IMethodMessage",
- "IMethodReturnMessage",
- "IRemotingFormatter",
- "InternalMessageWrapper",
- "LogicalCallContext",
- "MessageSurrogateFilter",
- "MethodCall",
- "MethodCallMessageWrapper",
- "MethodResponse",
- "MethodReturnMessageWrapper",
- "OneWayAttribute",
- "RemotingSurrogateSelector",
- "ReturnMessage",
- },
-
- new string[7] { // System.Runtime.Remoting.Metadata
- "SoapAttribute",
- "SoapFieldAttribute",
- "SoapMethodAttribute",
- "SoapOption",
- "SoapParameterAttribute",
- "SoapTypeAttribute",
- "XmlFieldOrderOption",
- },
-
- new string[32] { // System.Runtime.Remoting.Metadata.W3cXsd2001
- "ISoapXsd",
- "SoapAnyUri",
- "SoapBase64Binary",
- "SoapDate",
- "SoapDateTime",
- "SoapDay",
- "SoapDuration",
- "SoapEntities",
- "SoapEntity",
- "SoapHexBinary",
- "SoapId",
- "SoapIdref",
- "SoapIdrefs",
- "SoapInteger",
- "SoapLanguage",
- "SoapMonth",
- "SoapMonthDay",
- "SoapName",
- "SoapNcName",
- "SoapNegativeInteger",
- "SoapNmtoken",
- "SoapNmtokens",
- "SoapNonNegativeInteger",
- "SoapNonPositiveInteger",
- "SoapNormalizedString",
- "SoapNotation",
- "SoapPositiveInteger",
- "SoapQName",
- "SoapTime",
- "SoapToken",
- "SoapYear",
- "SoapYearMonth",
- },
-
- new string[2] { // System.Runtime.Remoting.Proxies
- "ProxyAttribute",
- "RealProxy",
- },
-
- new string[3] { // System.Runtime.Remoting.Services
- "EnterpriseServicesHelper",
- "ITrackingHandler",
- "TrackingServices",
- },
-
- new string[26] { // System.Runtime.Serialization
- "Formatter",
- "FormatterConverter",
- "FormatterServices",
- "IDeserializationCallback",
- "IFormatter",
- "IFormatterConverter",
- "IObjectReference",
- "ISerializable",
- "ISerializationSurrogate",
- "ISurrogateSelector",
- "ObjectIDGenerator",
- "ObjectManager",
- "OnDeserializedAttribute",
- "OnDeserializingAttribute",
- "OnSerializedAttribute",
- "OnSerializingAttribute",
- "OptionalFieldAttribute",
- "SerializationBinder",
- "SerializationEntry",
- "SerializationException",
- "SerializationInfo",
- "SerializationInfoEnumerator",
- "SerializationObjectManager",
- "StreamingContext",
- "StreamingContextStates",
- "SurrogateSelector",
- },
-
- new string[10] { // System.Runtime.Serialization.Formatters
- "FormatterAssemblyStyle",
- "FormatterTypeStyle",
- "IFieldInfo",
- "ISoapMessage",
- "InternalRM",
- "InternalST",
- "ServerFault",
- "SoapFault",
- "SoapMessage",
- "TypeFilterLevel",
- },
-
- new string[1] { // System.Runtime.Serialization.Formatters.Binary
- "BinaryFormatter",
- },
-
- new string[4] { // System.Runtime.Versioning
- "ResourceConsumptionAttribute",
- "ResourceExposureAttribute",
- "ResourceScope",
- "VersioningHelper",
- },
-
- new string[29] { // System.Security
- "AllowPartiallyTrustedCallersAttribute",
- "CodeAccessPermission",
- "HostProtectionException",
- "HostSecurityManager",
- "HostSecurityManagerOptions",
- "IEvidenceFactory",
- "IPermission",
- "ISecurityEncodable",
- "ISecurityPolicyEncod…