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

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
TestData ( ) : IEnumerable

Private Methods

Method Description
DefineConstructor ( MethodAttributes attributes, Type parameterTypes, CallingConventions callingConvention ) : void
DefineConstructor_CalledTwice_Works ( ) : void
DefineConstructor_ConstructorNotCreated_ThrowsInvalidOperationExceptionOnCreation ( ) : void
DefineConstructor_HasThisCallingConventionsForStaticMethod_ThrowsTypeLoadExceptionOnCreation ( CallingConventions conventions ) : void
DefineConstructor_InstanceOnInterface_ThrowsInvalidOperationException ( ) : void
DefineConstructor_NullRequiredAndOptionalCustomModifiers ( MethodAttributes attributes, Type parameterTypes, CallingConventions callingConvention ) : void
DefineConstructor_StaticConstructorOnInterface ( ) : void
DefineConstructor_TypeAlreadyCreated_ThrowsInvalidOperationException ( ) : void
GetConstructor_TypeNotCreated_ThrowsNotSupportedException ( ) : void
GetConstructors_TypeNotCreated_ThrowsNotSupportedException ( ) : void

Method Details

TestData() public static method

public static TestData ( ) : IEnumerable
return IEnumerable