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

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
DefineLiteral_InvalidLiteralValue_ThrowsArgumentException_TestData ( ) : IEnumerable
DefineLiteral_InvalidLiteralValue_ThrowsTypeLoadExceptionOnCreation_TestData ( ) : IEnumerable
DefineLiteral_TestData ( ) : IEnumerable

Private Methods

Method Description
DefineLiteral ( Type underlyingType, object literalValue ) : void
DefineLiteral_EmptyLiteralName_ThrowsArgumentException ( string literalName ) : void
DefineLiteral_InvalidLiteralValue_ThrowsArgumentException ( Type underlyingType, object literalValue ) : void
DefineLiteral_InvalidLiteralValue_ThrowsTypeLoadExceptionOnCreation ( Type underlyingType, object literalValue ) : void
DefineLiteral_NullLiteralName_ThrowsArgumentNullException ( ) : void
GetElementType_ThrowsNotSupportedException ( ) : void
IsAssignableFrom ( ) : void
MakeArrayType ( ) : void
MakeArrayType_Int ( int rank ) : void
MakeArrayType_Int_RankLessThanOne_ThrowsIndexOutOfRange ( int rank ) : void
MakeByRefType ( ) : void
MakePointerType ( ) : void
SetCustomAttribute_ConstructorInfo_ByteArray ( ) : void
SetCustomAttribute_CustomAttributeBuilder ( ) : void

Method Details

DefineLiteral_InvalidLiteralValue_ThrowsArgumentException_TestData() public static method

public static DefineLiteral_InvalidLiteralValue_ThrowsArgumentException_TestData ( ) : IEnumerable
return IEnumerable

DefineLiteral_InvalidLiteralValue_ThrowsTypeLoadExceptionOnCreation_TestData() public static method

public static DefineLiteral_InvalidLiteralValue_ThrowsTypeLoadExceptionOnCreation_TestData ( ) : IEnumerable
return IEnumerable

DefineLiteral_TestData() public static method

public static DefineLiteral_TestData ( ) : IEnumerable
return IEnumerable