4 types derived from RuntimeConstructorInfo
System.Private.CoreLib (4)
System\Reflection\Runtime\General\Dispensers.cs (2)
107
internal sealed partial class RuntimePlainConstructorInfo<TRuntimeMethodCommon> :
RuntimeConstructorInfo
118
internal sealed partial class RuntimeSyntheticConstructorInfo :
RuntimeConstructorInfo
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (1)
20
internal sealed partial class RuntimePlainConstructorInfo<TRuntimeMethodCommon> :
RuntimeConstructorInfo
where TRuntimeMethodCommon : IRuntimeMethodCommon<TRuntimeMethodCommon>, IEquatable<TRuntimeMethodCommon>
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticConstructorInfo.cs (1)
19
internal sealed partial class RuntimeSyntheticConstructorInfo :
RuntimeConstructorInfo
, IRuntimeMemberInfoWithNoMetadataDefinition
21 references to RuntimeConstructorInfo
System.Private.CoreLib (21)
Internal\Reflection\Augments\ReflectionAugments.cs (1)
377
case
RuntimeConstructorInfo
constructorInfo:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (10)
25
using IRuntimeMethodInfo = System.Reflection.Runtime.MethodInfos.
RuntimeConstructorInfo
;
66
internal static IList<CustomAttributeData> GetCustomAttributesInternal(
RuntimeConstructorInfo
target)
1238
RuntimeConstructorInfo
constructor = (
RuntimeConstructorInfo
)RuntimeCustomAttributeData.ResolveAttributeConstructor(decoratedModule, customAttribute, attributeType);
1239
IRuntimeMethodInfo
? ctorWithParameters = constructor.GetParametersAsSpan().IsEmpty ? null : constructor;
1243
RuntimeConstructorInfo
.CheckCanCreateInstance(attributeType, isVarArg);
1332
private static object CreateCustomAttributeInstance(ResolutionScope module, RuntimeType type,
IRuntimeMethodInfo
ctor, ref IntPtr blob, IntPtr blobEnd, out int namedArgs)
1335
RuntimeConstructorInfo
constructor = ctor;
1732
internal static bool IsDefined(
RuntimeConstructorInfo
ctor, RuntimeType caType)
1890
internal static object[] GetCustomAttributes(
RuntimeConstructorInfo
ctor, RuntimeType caType)
System\Reflection\ConstructorInvoker.cs (2)
16
internal ConstructorInvoker(
RuntimeConstructorInfo
constructor)
23
if (constructor is not
RuntimeConstructorInfo
runtimeConstructor)
System\Reflection\MethodInvoker.cs (2)
21
internal MethodInvoker(
RuntimeConstructorInfo
constructor)
35
if (method is
RuntimeConstructorInfo
rci)
System\Reflection\Runtime\TypeInfos\RuntimeArrayTypeInfo.cs (1)
45
internal sealed override IEnumerable<
RuntimeConstructorInfo
> SyntheticConstructors
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.CoreGetDeclared.cs (2)
42
Debug.Assert(object.ReferenceEquals(SyntheticConstructors, Array.Empty<
RuntimeConstructorInfo
>()));
52
foreach (
RuntimeConstructorInfo
syntheticConstructor in SyntheticConstructors)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
667
internal virtual IEnumerable<
RuntimeConstructorInfo
> SyntheticConstructors
671
return Array.Empty<
RuntimeConstructorInfo
>();
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (1)
39
public QCustomAttributeList(
RuntimeConstructorInfo
target)