1 instantiation of EnumBuilder
mscorlib (1)
system\reflection\emit\modulebuilder.cs (1)
1277return new EnumBuilder(name, underlyingType, visibility, this);
19 references to EnumBuilder
mscorlib (18)
system\reflection\emit\cominterfaces.cs (1)
75[TypeLibImportClassAttribute(typeof(System.Reflection.Emit.EnumBuilder))]
system\reflection\emit\ilgenerator.cs (2)
1210if (cls is TypeBuilder || cls is EnumBuilder) { 1248if (cls is TypeBuilder || cls is EnumBuilder) {
system\reflection\emit\modulebuilder.cs (11)
418EnumBuilder enumBuilder = (EnumBuilder)item; 845EnumBuilder enumBldr = builder as EnumBuilder; 1252public EnumBuilder DefineEnum(String name, TypeAttributes visibility, Type underlyingType) 1254Contract.Ensures(Contract.Result<EnumBuilder>() != null); 1259EnumBuilder enumBuilder = DefineEnumNoLock(name, visibility, underlyingType); 1273private EnumBuilder DefineEnumNoLock(String name, TypeAttributes visibility, Type underlyingType) 1275Contract.Ensures(Contract.Result<EnumBuilder>() != null); 1730EnumBuilder enumBuilder = type as EnumBuilder;
system\reflection\emit\signaturehelper.cs (2)
412else if (clsArgument is EnumBuilder) 414TypeBuilder clsBuilder = ((EnumBuilder)clsArgument).m_typeBuilder;
system\reflection\emit\typebuilder.cs (2)
436EnumBuilder enumBldr; 438if ((enumBldr = destType as EnumBuilder) != null)
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
856EnumBuilder enumBuilder = ModuleBuilder.DefineEnum(enumName, TypeAttributes.Public, enumType);