C# Class System.Reflection.Emit.Tests.ModuleBuilderDefineEnum

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
DefineEnum_TestData ( ) : IEnumerable

Private Methods

Method Description
DefineEnum ( string name, TypeAttributes visibility, Type underlyingType ) : void
DefineEnum_ByRefUnderlyingType_ThrowsCOMExceptionOnCreation ( ) : void
DefineEnum_DynamicUnderlyingType_Works ( ) : void
DefineEnum_EmptyName_ThrowsArgumentNullException ( string name ) : void
DefineEnum_EnumWithSameNameExists_ThrowsArgumentException ( ) : void
DefineEnum_IncorrectVisibilityAttributes_ThrowsArgumentException ( TypeAttributes visibility, string paramName ) : void
DefineEnum_InvalidUnderlyingType_ThrowsTypeLoadExceptionOnCreation ( Type underlyingType ) : void
DefineEnum_NullName_ThrowsArgumentNullException ( ) : void
DefineEnum_NullUnderlyingType_ThrowsArgumentNullException ( ) : void
DefineEnum_VoidUnderlyingType_ThrowsArgumentException ( ) : void

Method Details

DefineEnum_TestData() public static method

public static DefineEnum_TestData ( ) : IEnumerable
return IEnumerable