1 implementation of IDynamicInterfaceCastable
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComObject.cs (1)
17public sealed unsafe class ComObject : IDynamicInterfaceCastable, IUnmanagedVirtualMethodTableProvider, ComImportInteropInterfaceDetailsStrategy.IComImportAdapter
13 references to IDynamicInterfaceCastable
System.Private.CoreLib (9)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\CachedInterfaceDispatch.cs (2)
136pTargetCode = IDynamicInterfaceCastable.GetDynamicInterfaceImplementation((IDynamicInterfaceCastable)pObject, cellInfo.InterfaceType, cellInfo.InterfaceSlot);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (1)
472return ((IDynamicInterfaceCastable)obj).IsInterfaceImplemented(new RuntimeTypeHandle(pTargetType), throwing);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (2)
52/// Attribute required by any type that is returned by <see cref="IDynamicInterfaceCastable.GetInterfaceImplementation(RuntimeTypeHandle)"/>. 56/// <see cref="IDynamicInterfaceCastable" /> scenarios trimming friendly.
System\InvokeUtils.cs (1)
72(dstEEType->IsInterface && srcObject is Runtime.InteropServices.IDynamicInterfaceCastable castable
System\Reflection\DynamicInvokeInfo.cs (2)
629(dstEEType->IsInterface && arg is System.Runtime.InteropServices.IDynamicInterfaceCastable castable 697(dstEEType->IsInterface && arg is System.Runtime.InteropServices.IDynamicInterfaceCastable castable
System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (1)
21internal static nint GetDynamicInterfaceImplementation(IDynamicInterfaceCastable instance, MethodTable* interfaceType, ushort slot)
System.Runtime.InteropServices (4)
src\runtime\artifacts\obj\System.Runtime.InteropServices\Release\net11.0\System.Runtime.InteropServices.Forwards.cs (1)
99[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.IDynamicInterfaceCastable))]
System\Runtime\InteropServices\Marshalling\ComInterfaceOptions.cs (1)
29/// to support <see cref="System.Runtime.InteropServices.IDynamicInterfaceCastable"/> casts. In such a scenario,
System\Runtime\InteropServices\Marshalling\ComObject.cs (2)
95RuntimeTypeHandle IDynamicInterfaceCastable.GetInterfaceImplementation(RuntimeTypeHandle interfaceType) 105bool IDynamicInterfaceCastable.IsInterfaceImplemented(RuntimeTypeHandle interfaceType, bool throwIfNotImplemented)