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

Datei anzeigen Open project: dotnet/corefx

Public Methods

Method Description
TestData ( ) : IEnumerable

Private Methods

Method Description
DefineProperty ( string name, PropertyAttributes attributes, Type returnType, Type parameterTypes, string expectedName, PropertyAttributes expectedPropertyAttributes ) : void
DefineProperty_CalledMultipleTimes_Works ( ) : void
DefineProperty_DynamicParameterTypeNotCreated_ThrowsTypeLoadException ( ) : void
DefineProperty_DynamicPropertyTypeNotCreated_ThrowsTypeLoadException ( ) : void
DefineProperty_GetAccessor_NoCustomModifiers ( ) : void
DefineProperty_GetAccessor_NullCustomModifiers ( ) : void
DefineProperty_InvalidName_ThrowsArgumentException ( string name ) : void
DefineProperty_NullCustomModifiers ( ) : void
DefineProperty_NullParameterType_ThrowsArgumentNullException ( ) : void
DefineProperty_NullString_ThrowsArgumentNullException ( ) : void
DefineProperty_OpenGenericParameterType_ThrowsBadImageFormatExceptionGettingCreatedPropertyType ( ) : void
DefineProperty_OpenGenericReturnType_ThrowsBadImageFormatExceptionGettingCreatedPropertyType ( ) : void
DefineProperty_TypeCreated_ThrowsInvalidOperationException ( ) : void
GetProperties_TypeNotCreated_ThrowsNotSupportedException ( ) : void
GetProperty_TypeCreated_ThrowsNotSupportedException ( ) : void
GetProperty_TypeNotCreated_ThrowsNotSupportedException ( ) : void

Method Details

TestData() public static method

public static TestData ( ) : IEnumerable
return IEnumerable