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

Datei anzeigen Open project: dotnet/corefx

Public Methods

Method Description
InvalidInterfaceType_TestData ( ) : IEnumerable
TestData ( ) : IEnumerable
TypeAttributes_TestData ( ) : IEnumerable

Private Methods

Method Description
DefineNestedType ( string name, TypeAttributes attributes, Type parent, PackingSize packingSize, int typesize, Type implementedInterfaces ) : void
DefineNestedType_ByRefInterfaceType_ThrowsArgumentException ( ) : void
DefineNestedType_EmptyName_ThrowsArgumentException ( string fullname ) : void
DefineNestedType_InvalidAttributes_ThrowsArgumentException ( TypeAttributes attributes, string paramName ) : void
DefineNestedType_InvalidInterfaceType_ThrowsTypeLoadExceptionOnCreation ( Type interfaceType ) : void
DefineNestedType_InvalidParent_ThrowsArgumentException ( ) : void
DefineNestedType_LongName_ThrowsArgumentException ( ) : void
DefineNestedType_NullInterface_ThrowsArgumentNullException ( ) : void
DefineNestedType_NullName_ThrowsArgumentNullException ( ) : void
DefineNestedType_OpenGenericInterfaceType_ThrowsBadImageFormatExceptionOnCreation ( Type interfaceType ) : void
DefineNestedType_ParentHasNoDefaultConstructor_ThrowsNotSupportedExceptionOnCreation ( Type parentType ) : void
DefineNestedType_ParentNotInheritable_ThrowsTypeLoadExceptionOnCreation ( Type parentType ) : void
GetNestedType_TypeNotCreated_ThrowsNotSupportedException ( ) : void
GetNestedTypes_TypeNotCreated_ThrowsNotSupportedException ( ) : void

Method Details

InvalidInterfaceType_TestData() public static method

public static InvalidInterfaceType_TestData ( ) : IEnumerable
return IEnumerable

TestData() public static method

public static TestData ( ) : IEnumerable
return IEnumerable

TypeAttributes_TestData() public static method

public static TypeAttributes_TestData ( ) : IEnumerable
return IEnumerable