final class · System.Reflection

ConstructorInfo

public final class ConstructorInfo : MethodBase

A constructor: makes objects through Invoke(arguments).

Kind
final class
Namespace
System.Reflection
Assembly
System.Core
Access
public, final
Source file
Reflection.ant

Inheritance

Base classes
Any MemberInfo MethodBase ConstructorInfo

Methods

Invoke(any?[] arguments) : any
#

A new object (a value type's comes boxed).

override ToString() : str
#

override

Private and internal members (1)

new(Type declaring, i32 flags, TypeDescriber describer, i32 index, ParameterInfo[] parameters)
#

internal

Inherited members (12)

Source

ConstructorInfo as Antril, decompiled from its Larva HIR.

System.Reflection.ConstructorInfo.ant
// System.Reflection.ConstructorInfo — System.Core (decompiled from Larva HIR)

import System;

into namespace System.Reflection
{
	/// A constructor: makes objects through `Invoke(arguments)`.
	public final class ConstructorInfo : MethodBase
	{
		internal:
			new(Type declaring, i32 flags, TypeDescriber describer, i32 index, ParameterInfo[] parameters) : base(declaring, ".ctor", flags, describer, index, parameters)
			{
			}

		public:
			/// A new object (a value type's comes boxed).
			Invoke(any?[] arguments) : any
			{
				Check(arguments);
				return Describer.Construct(Index, arguments);
			}

			override ToString() : str => "Void .ctor(" + Parameters.Text(GetParameters()) + ")";
	}
}
Esc