Added new .NET 4.0 overload of TypeBuilder.DefineProperty().

This commit is contained in:
jfrijters 2012-10-11 09:21:59 +00:00
Родитель 955a5ba566
Коммит 36d26160c7
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -397,6 +397,11 @@ namespace IKVM.Reflection.Emit
return DefineProperty(name, attributes, returnType, null, null, parameterTypes, null, null); return DefineProperty(name, attributes, returnType, null, null, parameterTypes, null, null);
} }
public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes)
{
return DefineProperty(name, attributes, callingConvention, returnType, null, null, parameterTypes, null, null);
}
public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, public PropertyBuilder DefineProperty(string name, PropertyAttributes attributes, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers,
Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers)
{ {