<data name="NotSupported_CollectibleCOM" xml:space="preserve">
<value>COM Interop is not supported for collectible types.</value>
</data>
- <data name="NotSupported_CollectibleDelegateMarshal" xml:space="preserve">
- <value>Delegate marshaling for types within collectible assemblies is not supported.</value>
- </data>
<data name="NotSupported_CreateInstanceWithTypeBuilder" xml:space="preserve">
<value>CreateInstance cannot be used with an object of type TypeBuilder.</value>
</data>
if (pMT->HasInstantiation())
COMPlusThrowArgumentException(W("delegate"), W("Argument_NeedNonGenericType"));
- if (pMT->Collectible())
- COMPlusThrow(kNotSupportedException, W("NotSupported_CollectibleDelegateMarshal"));
-
// If we are a delegate originally created from an unmanaged function pointer, we will simply return
// that function pointer.
if (DELEGATE_MARKER_UNMANAGEDFPTR == pDelegate->GetInvocationCount())
DelegateEEClass* pClass = (DelegateEEClass*)pMT->GetClass();
MethodDesc* pMD = FindDelegateInvokeMethod(pMT);
- if (pMT->Collectible())
- COMPlusThrow(kNotSupportedException, W("NotSupported_CollectibleDelegateMarshal"));
-
PREFIX_ASSUME(pClass != NULL);
//////////////////////////////////////////////////////////////////////////////////////////////////////////
MethodDesc* pMD = FindDelegateInvokeMethod(pMT);
- if (pMT->Collectible())
- COMPlusThrow(kNotSupportedException, W("NotSupported_CollectibleDelegateMarshal"));
-
if (pMD->IsSharedByGenericInstantiations())
{
// we need an exact MD to represent the call
{
"name" : "System.Runtime.InteropServices.Tests.SafeBufferTests.Initialize_NumBytesTimesSizeOfEachElement_ThrowsOverflowException",
"reason" : "https://github.com/dotnet/coreclr/pull/20132"
+ },
+ {
+ "name" : "System.Runtime.InteropServices.Tests.GetFunctionPointerForDelegateTests.GetFunctionPointerForDelegate_DelegateCollectible_ThrowsNotSupportedException",
+ "reason" : "outdated"
+ }
+ ]
+ }
+ },
+ {
+ "name": "System.Runtime.Loader.Tests",
+ "enabled": true,
+ "exclusions": {
+ "namespaces": null,
+ "classes": null,
+ "methods": [
+ {
+ "name" : "System.Runtime.Loader.Tests.AssemblyLoadContextTest.Unsupported_DelegateMarshalling",
+ "reason" : "outdated"
+ },
+ {
+ "name" : "System.Runtime.Loader.Tests.AssemblyLoadContextTest.Unsupported_ThreadStaticAndFixedAddressValueType",
+ "reason" : "outdated"
}
]
}