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