ConstructorBuilder
Defines and represents a constructor of a dynamic class.
using System.Globalization;
namespace System.Reflection.Emit
{
public sealed class ConstructorBuilder : ConstructorInfo
{
public override MethodAttributes Attributes {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override CallingConventions CallingConvention {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override Type DeclaringType {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public bool InitLocals {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override RuntimeMethodHandle MethodHandle {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override Module Module {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override string Name {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
public override Type ReflectedType {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
internal ConstructorBuilder()
{
}
public ParameterBuilder DefineParameter(int iSequence, ParameterAttributes attributes, string strParamName)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override object[] GetCustomAttributes(bool inherit)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public ILGenerator GetILGenerator()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public ILGenerator GetILGenerator(int streamSize)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override MethodImplAttributes GetMethodImplementationFlags()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override ParameterInfo[] GetParameters()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override object Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override bool IsDefined(Type attributeType, bool inherit)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public void SetImplementationFlags(MethodImplAttributes attributes)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
public override string ToString()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmit);
}
}
}