C# Class System.Reflection.Tests.ConstructorInfoTests

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
Equals_TestData ( ) : IEnumerable
GetConstructors ( Type type ) : ConstructorInfo[]

Private Methods

Method Description
ConstructorName ( ) : void
Equals ( ConstructorInfo constructorInfo1, ConstructorInfo constructorInfo2, bool expected ) : void
GetHashCodeTest ( ) : void
Invoke ( ) : void
Invoke_AbstractClass_ThrowsMemberAccessException ( ) : void
Invoke_ExistingInstance ( ) : void
Invoke_NoParameters_ThowsTargetParameterCountException ( ) : void
Invoke_OneDimensionalArray ( ) : void
Invoke_OneDimensionalArray_NegativeLengths_ThrowsOverflowException ( ) : void
Invoke_OneParameter ( ) : void
Invoke_ParameterMismatch_ThrowsTargetParameterCountException ( ) : void
Invoke_ParameterWrongType_ThrowsArgumentException ( ) : void
Invoke_StaticConstructor_NullObject_NullParameters ( ) : void
Invoke_StaticConstructor_ThrowsMemberAccessException ( ) : void
Invoke_Struct ( ) : void
Invoke_SubClass ( ) : void
Invoke_TwoParameters ( ) : void
IsConstructor_ReturnsTrue ( ) : void
IsPublic ( ) : void

Method Details

Equals_TestData() public static method

public static Equals_TestData ( ) : IEnumerable
return IEnumerable

GetConstructors() public static method

public static GetConstructors ( Type type ) : ConstructorInfo[]
type Type
return ConstructorInfo[]