5 references to UnmanagedType
System.Reflection.MetadataLoadContext (5)
System\Reflection\MetadataLoadContext.KnownConstructors.cs (1)
32
internal ConstructorInfo? TryGetMarshalAsCtor() => _lazyMarshalAs ??= TryGetConstructor(CoreType.MarshalAsAttribute, CoreType.
UnmanagedType
);
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (3)
92
ct[CoreType.
UnmanagedType
] == null ||
112
CustomAttributeTypedArgument[] cats = { new CustomAttributeTypedArgument(ct[CoreType.
UnmanagedType
]!, (int)(ma.Value)) };
116
attributeType.ToCustomAttributeNamedArgument(nameof(MarshalAsAttribute.ArraySubType), ct[CoreType.
UnmanagedType
], (int)ma.ArraySubType),
System\Reflection\TypeLoading\General\CoreType.cs (1)
121
case CoreType.
UnmanagedType
: ns = Utf8Constants.SystemRuntimeInteropServices; name = Utf8Constants.UnmanagedType; return;