8 references to TryGetConstructor
System.Reflection.MetadataLoadContext (8)
System\Reflection\MetadataLoadContext.KnownConstructors.cs (8)
11
internal ConstructorInfo? TryGetFieldOffsetCtor() => _lazyFieldOffset ??=
TryGetConstructor
(CoreType.FieldOffsetAttribute, CoreType.Int32);
14
internal ConstructorInfo? TryGetInCtor() => _lazyIn ??=
TryGetConstructor
(CoreType.InAttribute);
17
internal ConstructorInfo? TryGetOutCtor() => _lazyOut ??=
TryGetConstructor
(CoreType.OutAttribute);
20
internal ConstructorInfo? TryGetOptionalCtor() => _lazyOptional ??=
TryGetConstructor
(CoreType.OptionalAttribute);
23
internal ConstructorInfo? TryGetPreserveSigCtor() => _lazyPreserveSig ??=
TryGetConstructor
(CoreType.PreserveSigAttribute);
26
internal ConstructorInfo? TryGetComImportCtor() => _lazyComImport ??=
TryGetConstructor
(CoreType.ComImportAttribute);
29
internal ConstructorInfo? TryGetDllImportCtor() => _lazyDllImport ??=
TryGetConstructor
(CoreType.DllImportAttribute, CoreType.String);
32
internal ConstructorInfo? TryGetMarshalAsCtor() => _lazyMarshalAs ??=
TryGetConstructor
(CoreType.MarshalAsAttribute, CoreType.UnmanagedType);