We need you! We're working hard on the next version of Developer Fusion -
Let us know what you think we should be up to!
-
Expand
Microsoft.Win32
-
Expand
Microsoft.Win32.SafeHandles
-
Expand
System
-
Expand
System.Runtime.Hosting
-
Expand
System.Runtime.InteropServices
-
Expand
System.Runtime.CompilerServices
-
Expand
System.Collections
-
Expand
System.Collections.Generic
-
Expand
System.Collections.ObjectModel
-
Expand
System.Configuration.Assemblies
-
Expand
System.Diagnostics
-
Expand
System.Diagnostics.CodeAnalysis
-
Expand
System.Diagnostics.SymbolStore
-
Expand
System.Globalization
-
Expand
System.IO
-
Expand
System.IO.IsolatedStorage
-
Expand
System.Reflection
-
Expand
System.Reflection.Cache
-
Expand
System.Reflection.Emit
-
Expand
__ExceptionInfo
-
Expand
__ExceptionInstance
-
Expand
__FixupData
-
Expand
AssemblyBuilder
-
Expand
AssemblyBuilderAccess
-
Expand
AssemblyBuilderData
-
Expand
ConstructorBuilder
-
Expand
ConstructorOnTypeBuilderInstantiation
-
Expand
CustAttr
-
Expand
CustomAttributeBuilder
-
Expand
DestroyScout
-
Expand
DynamicILGenerator
-
Expand
DynamicILInfo
-
Expand
DynamicMethod
-
Expand
DynamicResolver
-
Expand
DynamicScope
-
Expand
EmptyCAHolder
-
Expand
Entry
-
Expand
EnumBuilder
-
Assembly()
-
AssemblyQualifiedName()
-
BaseType()
-
CreateType()
-
DeclaringType()
-
DefineLiteral(string, object)
-
EnumBuilder()
-
EnumBuilder(string, Type, TypeAttributes, Module)
-
FullName()
-
GetAttributeFlagsImpl()
-
GetConstructorImpl(BindingFlags, Binder, CallingConventions, Type, ParameterModifier)
-
GetConstructors(BindingFlags)
-
GetCustomAttributes(bool)
-
GetCustomAttributes(Type, bool)
-
GetElementType()
-
GetEvent(string, BindingFlags)
-
GetEvents()
-
GetEvents(BindingFlags)
-
GetField(string, BindingFlags)
-
GetFields(BindingFlags)
-
GetIDsOfNames(Guid, IntPtr, uint, uint, IntPtr)
-
GetInterface(string, bool)
-
GetInterfaceMap(Type)
-
GetInterfaces()
-
GetMember(string, MemberTypes, BindingFlags)
-
GetMembers(BindingFlags)
-
GetMethodImpl(string, BindingFlags, Binder, CallingConventions, Type, ParameterModifier)
-
GetMethods(BindingFlags)
-
GetNestedType(string, BindingFlags)
-
GetNestedTypes(BindingFlags)
-
GetProperties(BindingFlags)
-
GetPropertyImpl(string, BindingFlags, Binder, Type, Type, ParameterModifier)
-
GetTypeInfo(uint, uint, IntPtr)
-
GetTypeInfoCount(uint)
-
GUID()
-
HasElementTypeImpl()
-
Invoke(uint, Guid, uint, short, IntPtr, IntPtr, IntPtr, IntPtr)
-
InvokeMember(string, BindingFlags, Binder, object, object, ParameterModifier, CultureInfo, string)
-
IsArrayImpl()
-
IsByRefImpl()
-
IsCOMObjectImpl()
-
IsDefined(Type, bool)
-
IsPointerImpl()
-
IsPrimitiveImpl()
-
IsValueTypeImpl()
-
MakeArrayType()
-
MakeArrayType(int)
-
MakeByRefType()
-
MakePointerType()
-
MetadataTokenInternal()
-
Module()
-
Name()
-
Namespace()
-
ReflectedType()
-
SetCustomAttribute(ConstructorInfo, byte)
-
SetCustomAttribute(CustomAttributeBuilder)
-
TypeHandle()
-
TypeToken()
-
UnderlyingField()
-
UnderlyingSystemType()
-
Expand
EventBuilder
-
Expand
EventToken
-
Expand
FieldBuilder
-
Expand
FieldOnTypeBuilderInstantiation
-
Expand
FieldToken
-
Expand
FlowControl
-
Expand
Format
-
Expand
GenericMethodInfo
-
Expand
GenericTypeParameterBuilder
-
Expand
ILGenerator
-
Expand
Label
-
Expand
LineNumberInfo
-
Expand
LocalBuilder
-
Expand
LocalSymInfo
-
Expand
MethodBuilder
-
Expand
MethodBuilderInstantiation
-
Expand
MethodOnTypeBuilderInstantiation
-
Expand
MethodRental
-
Expand
MethodToken
-
Expand
ModuleBuilder
-
Expand
ModuleBuilderData
-
Expand
OpCode
-
Expand
OpCodes
-
Expand
OpCodeType
-
Expand
OperandType
-
Expand
PackingSize
-
Expand
ParameterBuilder
-
Expand
ParameterToken
-
Expand
PEFileKinds
-
Expand
PropertyBuilder
-
Expand
PropertyToken
-
Expand
REDocument
-
Expand
ResWriterData
-
Expand
RTDynamicMethod
-
Expand
ScopeAction
-
Expand
ScopeTree
-
Expand
SecurityControlFlags
-
Expand
SignatureHelper
-
Expand
SignatureToken
-
Expand
StackBehaviour
-
Expand
StringToken
-
Expand
SymbolMethod
-
Expand
SymbolType
-
Expand
SymCustomAttr
-
Expand
TypeBuilder
-
Expand
TypeBuilderInstantiation
-
Expand
TypeKind
-
Expand
TypeNameBuilder
-
Expand
TypeToken
-
Expand
UnmanagedMarshal
-
Expand
VarArgMethod
-
Expand
System.Resources
-
Expand
System.Runtime
-
Expand
System.Runtime.InteropServices.Expando
-
Expand
System.Runtime.ConstrainedExecution
-
Expand
System.Runtime.Remoting.Activation
-
Expand
System.Runtime.Remoting.Messaging
-
Expand
System.Runtime.Remoting.Channels
-
Expand
System.Runtime.Remoting.Lifetime
-
Expand
System.Runtime.Remoting
-
Expand
System.Runtime.Remoting.Contexts
-
Expand
System.Runtime.Remoting.Proxies
-
Expand
System.Runtime.Remoting.Metadata
-
Expand
System.Runtime.Remoting.Metadata.W3cXsd2001
-
Expand
System.Runtime.Remoting.Services
-
Expand
System.Runtime.Serialization
-
Expand
System.Runtime.Serialization.Formatters
-
Expand
System.Runtime.Serialization.Formatters.Binary
-
Expand
System.Runtime.Versioning
-
Expand
System.Security
-
Expand
System.Security.Cryptography
-
Expand
System.Security.Cryptography.X509Certificates
-
Expand
System.Security.Permissions
-
Expand
System.Security.Policy
-
Expand
System.Security.Principal
-
Expand
System.Security.Util
-
Expand
System.Text
-
Expand
System.Threading
-
Expand
System.Runtime.Remoting.Channels.Http
-
Expand
System.Runtime.Remoting.Channels.Tcp
-
Expand
System.Runtime.Remoting.MetadataServices
-
Expand
System.Runtime.Serialization.Formatters.Soap.Xml
-
Expand
System.Runtime.Serialization.Formatters.Soap
-
Expand
Microsoft.Tools.Caspol
-
Expand
Microsoft.Tools.Build
-
Expand
Microsoft.CSharp
-
Expand
System.CodeDom
-
Expand
System.CodeDom.Compiler
-
Expand
System.Collections.Specialized
-
Expand
System.ComponentModel
-
Expand
System.ComponentModel.Design
-
Expand
System.ComponentModel.Design.Serialization
-
Expand
System.Configuration
-
Expand
System.Web
-
Expand
System.Configuration.Provider
-
Expand
System.Configuration.Internal
-
Expand
System.Internal
-
Expand
System.Windows.Forms
-
Expand
System.Net
-
Expand
System.Net.Sockets
-
Expand
System.Net.NetworkInformation
-
Expand
System.Net.ComImports
-
Expand
System.Net.Security
-
Expand
System.Net.Cache
-
Expand
System.Net.Configuration
-
Expand
System.Text.RegularExpressions
-
Expand
System.Tools
-
Expand
System.IO.Compression
-
Expand
System.IO.Ports
-
Expand
System.Security.AccessControl
-
Expand
System.Xml
-
Expand
System.Xml.XPath.DataBinding
-
Expand
System.Xml.Schema
-
Expand
System.Xml.Serialization
-
Expand
System.Xml.Serialization.Advanced
-
Expand
System.Xml.Serialization.Configuration
-
Expand
System.Xml.XPath
-
Expand
System.Xml.Xsl
-
Expand
System.Xml.Xsl.IlGen
-
Expand
System.Xml.Xsl.Qil
-
Expand
System.Xml.Xsl.Runtime
-
Expand
System.Xml.Xsl.XPath
-
Expand
System.Xml.Xsl.Xslt
-
Expand
System.Xml.Xsl.XsltOld
-
Expand
System.Xml.Xsl.XsltOld.Debugger
-
Expand
Microsoft.JScript
-
Expand
Microsoft.Vsa
-
Expand
Microsoft.JScript.Vsa
- namespace System.Reflection.Emit
- {
-
- using System;
- using System.Reflection;
- using System.Runtime.Remoting.Activation;
- using System.Runtime.InteropServices;
- using CultureInfo = System.Globalization.CultureInfo;
- using System.Security.Permissions;
-
-
- [HostProtection(MayLeakOnAbort = true)]
- [ClassInterface(ClassInterfaceType.None)]
- [ComDefaultInterface(typeof(_EnumBuilder))]
- [System.Runtime.InteropServices.ComVisible(true)]
- public sealed class EnumBuilder : Type, _EnumBuilder
- {
-
-
-
- public FieldBuilder DefineLiteral(string literalName, object literalValue)
- {
- BCLDebug.Log("DYNIL", "## DYNIL LOGGING: EnumBuilder.DefineLiteral( " + literalName + " )");
-
-
- FieldBuilder fieldBuilder = m_typeBuilder.DefineField(literalName, this, FieldAttributes.Public | FieldAttributes.Static | FieldAttributes.Literal);
- fieldBuilder.SetConstant(literalValue);
- return fieldBuilder;
- }
-
-
- public Type CreateType()
- {
- BCLDebug.Log("DYNIL", "## DYNIL LOGGING: EnumBuilder.CreateType() ");
- return m_typeBuilder.CreateType();
- }
-
-
- public TypeToken TypeToken {
- get { return m_typeBuilder.TypeToken; }
- }
-
-
-
- public FieldBuilder UnderlyingField {
- get { return m_underlyingField; }
- }
-
- public override string Name {
- get { return m_typeBuilder.Name; }
- }
-
-
- public override Guid GUID {
- get { return m_typeBuilder.GUID; }
- }
-
- public override object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters)
- {
- return m_typeBuilder.InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters);
- }
-
- public override Module Module {
- get { return m_typeBuilder.Module; }
- }
-
- public override Assembly Assembly {
- get { return m_typeBuilder.Assembly; }
- }
-
- public override RuntimeTypeHandle TypeHandle {
- get { return m_typeBuilder.TypeHandle; }
- }
-
- public override string FullName {
- get { return m_typeBuilder.FullName; }
- }
-
- public override string AssemblyQualifiedName {
- get { return m_typeBuilder.AssemblyQualifiedName; }
- }
-
- public override string Namespace {
- get { return m_typeBuilder.Namespace; }
- }
-
- public override Type BaseType {
- get { return m_typeBuilder.BaseType; }
- }
-
- protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
- {
- return m_typeBuilder.GetConstructor(bindingAttr, binder, callConvention, types, modifiers);
- }
-
- [System.Runtime.InteropServices.ComVisible(true)]
- public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetConstructors(bindingAttr);
- }
-
- protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
- {
- if (types == null)
- return m_typeBuilder.GetMethod(name, bindingAttr);
- else
- return m_typeBuilder.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
- }
-
- public override MethodInfo[] GetMethods(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetMethods(bindingAttr);
- }
-
- public override FieldInfo GetField(string name, BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetField(name, bindingAttr);
- }
-
- public override FieldInfo[] GetFields(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetFields(bindingAttr);
- }
-
- public override Type GetInterface(string name, bool ignoreCase)
- {
- return m_typeBuilder.GetInterface(name, ignoreCase);
- }
-
- public override Type[] GetInterfaces()
- {
- return m_typeBuilder.GetInterfaces();
- }
-
- public override EventInfo GetEvent(string name, BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetEvent(name, bindingAttr);
- }
-
- public override EventInfo[] GetEvents()
- {
- return m_typeBuilder.GetEvents();
- }
-
- protected override PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override PropertyInfo[] GetProperties(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetProperties(bindingAttr);
- }
-
- public override Type[] GetNestedTypes(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetNestedTypes(bindingAttr);
- }
-
- public override Type GetNestedType(string name, BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetNestedType(name, bindingAttr);
- }
-
- public override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetMember(name, type, bindingAttr);
- }
-
- public override MemberInfo[] GetMembers(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetMembers(bindingAttr);
- }
-
- [System.Runtime.InteropServices.ComVisible(true)]
- public override InterfaceMapping GetInterfaceMap(Type interfaceType)
- {
- return m_typeBuilder.GetInterfaceMap(interfaceType);
- }
-
- public override EventInfo[] GetEvents(BindingFlags bindingAttr)
- {
- return m_typeBuilder.GetEvents(bindingAttr);
- }
-
- protected override TypeAttributes GetAttributeFlagsImpl()
- {
- return m_typeBuilder.m_iAttr;
- }
-
- protected override bool IsArrayImpl()
- {
- return false;
- }
- protected override bool IsPrimitiveImpl()
- {
- return false;
- }
-
- protected override bool IsValueTypeImpl()
- {
- return true;
- }
-
- protected override bool IsByRefImpl()
- {
- return false;
- }
-
- protected override bool IsPointerImpl()
- {
- return false;
- }
-
- protected override bool IsCOMObjectImpl()
- {
- return false;
- }
-
-
- public override Type GetElementType()
- {
- return m_typeBuilder.GetElementType();
- }
-
- protected override bool HasElementTypeImpl()
- {
- return m_typeBuilder.HasElementType;
- }
-
- public override Type UnderlyingSystemType {
- get { return m_underlyingType; }
- }
-
-
- public override object[] GetCustomAttributes(bool inherit)
- {
- return m_typeBuilder.GetCustomAttributes(inherit);
- }
-
-
- public override object[] GetCustomAttributes(Type attributeType, bool inherit)
- {
- return m_typeBuilder.GetCustomAttributes(attributeType, inherit);
- }
-
-
- [System.Runtime.InteropServices.ComVisible(true)]
- public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
- {
- m_typeBuilder.SetCustomAttribute(con, binaryAttribute);
- }
-
-
- public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
- {
- m_typeBuilder.SetCustomAttribute(customBuilder);
- }
-
-
- public override Type DeclaringType {
- get { return m_typeBuilder.DeclaringType; }
- }
-
-
-
- public override Type ReflectedType {
- get { return m_typeBuilder.ReflectedType; }
- }
-
-
-
- public override bool IsDefined(Type attributeType, bool inherit)
- {
- return m_typeBuilder.IsDefined(attributeType, inherit);
- }
-
-
- internal override int MetadataTokenInternal {
- get { return m_typeBuilder.MetadataTokenInternal; }
- }
-
-
-
-
-
-
-
-
- private EnumBuilder()
- {
- }
-
- public override Type MakePointerType()
- {
- return SymbolType.FormCompoundType("*".ToCharArray(), this, 0);
- }
-
- public override Type MakeByRefType()
- {
- return SymbolType.FormCompoundType("&".ToCharArray(), this, 0);
- }
-
- public override Type MakeArrayType()
- {
- return SymbolType.FormCompoundType("[]".ToCharArray(), this, 0);
- }
-
- public override Type MakeArrayType(int rank)
- {
- if (rank <= 0)
- throw new IndexOutOfRangeException();
-
- string szrank = "";
- if (rank == 1) {
- szrank = "*";
- }
- else {
- for (int i = 1; i < rank; i++)
- szrank += ",";
- }
-
- string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank);
-
- return SymbolType.FormCompoundType((s).ToCharArray(), this, 0);
- }
-
-
-
-
-
-
-
- internal EnumBuilder(string name, Type underlyingType, TypeAttributes visibility, Module module)
- {
-
- if ((visibility & ~TypeAttributes.VisibilityMask) != 0)
- throw new ArgumentException(Environment.GetResourceString("Argument_ShouldOnlySetVisibilityFlags"), "name");
- m_typeBuilder = new TypeBuilder(name, visibility | TypeAttributes.Sealed, typeof(System.Enum), null, module, PackingSize.Unspecified, null);
- m_underlyingType = underlyingType;
-
-
-
-
- m_underlyingField = m_typeBuilder.DefineField("value__", underlyingType, FieldAttributes.Private | FieldAttributes.SpecialName);
- }
-
- void _EnumBuilder.GetTypeInfoCount(out uint pcTInfo)
- {
- throw new NotImplementedException();
- }
-
- void _EnumBuilder.GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
- {
- throw new NotImplementedException();
- }
-
- void _EnumBuilder.GetIDsOfNames( [In()]
- ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
- {
- throw new NotImplementedException();
- }
-
- void _EnumBuilder.Invoke(uint dispIdMember, [In()]
- ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
- {
- throw new NotImplementedException();
- }
-
-
-
- private Type m_underlyingType;
- internal TypeBuilder m_typeBuilder;
- private FieldBuilder m_underlyingField;
- internal Type m_runtimeType = null;
- }
- }