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

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
SetParent_TestData ( ) : IEnumerable

Private Methods

Method Description
ParentHasNoDefaultConstructor_ThrowsNotSupportedExceptionOnCreation ( Type parentType ) : void
ParentNotCreated_ThrowsNotSupportedExceptionOnCreation ( ) : void
ParentNotInheritable_ThrowsTypeLoadExceptionOnCreation ( Type parentType ) : void
ParentOpenGenericClass_ThrowsBadImageFormatExceptionOnCreation ( ) : void
SetParent ( TypeAttributes attributes, Type parent, Type expected ) : void
SetParent_ByRefType_ThrowsArgumentExceptionOnCreation ( ) : void
SetParent_GenericParameter_ThrowsNotSupportedExceptionOnCreation ( ) : void
SetParent_InterfaceType_ThrowsArgumentException ( TypeAttributes attributes ) : void
SetParent_ThisIsInterface_ThrowsTypeLoadExceptionOnLoad ( ) : void
SetParent_This_LoopsForever ( ) : void
SetParent_TypeCreated_ThrowsInvalidOperationException ( ) : void

Method Details

SetParent_TestData() public static method

public static SetParent_TestData ( ) : IEnumerable
return IEnumerable