1 implementation of IDynamicInterfaceCastable
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComObject.cs (1)
17
public sealed unsafe class ComObject :
IDynamicInterfaceCastable
, IUnmanagedVirtualMethodTableProvider, ComImportInteropInterfaceDetailsStrategy.IComImportAdapter
8 references to IDynamicInterfaceCastable
System.Private.CoreLib (4)
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.
src\System\Runtime\InteropServices\DynamicInterfaceCastableHelpers.cs (2)
16
internal static bool IsInterfaceImplemented(
IDynamicInterfaceCastable
castable, RuntimeType interfaceType, bool throwIfNotImplemented)
26
internal static RuntimeType? GetInterfaceImplementation(
IDynamicInterfaceCastable
castable, RuntimeType interfaceType)
System.Runtime.InteropServices (4)
artifacts\obj\System.Runtime.InteropServices\Debug\net10.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)
95
RuntimeTypeHandle
IDynamicInterfaceCastable
.GetInterfaceImplementation(RuntimeTypeHandle interfaceType)
105
bool
IDynamicInterfaceCastable
.IsInterfaceImplemented(RuntimeTypeHandle interfaceType, bool throwIfNotImplemented)