1 instantiation of TableInfo
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (1)
20
return new IIUnknownCacheStrategy.
TableInfo
()
17 references to TableInfo
System.Runtime.InteropServices (17)
System\Runtime\InteropServices\Marshalling\ComObject.cs (3)
97
if (!LookUpVTableInfo(interfaceType, out IIUnknownCacheStrategy.
TableInfo
info, out int qiResult))
118
private bool LookUpVTableInfo(RuntimeTypeHandle handle, out IIUnknownCacheStrategy.
TableInfo
result, out int qiHResult)
155
if (!LookUpVTableInfo(type.TypeHandle, out IIUnknownCacheStrategy.
TableInfo
result, out int qiHResult))
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (5)
15
private readonly ConcurrentDictionary<RuntimeTypeHandle, IIUnknownCacheStrategy.
TableInfo
> _cache = new(concurrencyLevel: 1, capacity: 16);
17
IIUnknownCacheStrategy.
TableInfo
IIUnknownCacheStrategy.ConstructTableInfo(RuntimeTypeHandle handle, IIUnknownDerivedDetails details, void* ptr)
28
bool IIUnknownCacheStrategy.TryGetTableInfo(RuntimeTypeHandle handle, out IIUnknownCacheStrategy.
TableInfo
info)
33
bool IIUnknownCacheStrategy.TrySetTableInfo(RuntimeTypeHandle handle, IIUnknownCacheStrategy.
TableInfo
info)
40
foreach (
var
info in _cache.Values)
System\Runtime\InteropServices\Marshalling\IIUnknownCacheStrategy.cs (9)
35
/// Construct a <see cref="
TableInfo
"/> instance.
40
/// <returns>The constructed <see cref="
TableInfo
"/> instance for the provided information.</returns>
41
TableInfo
ConstructTableInfo(RuntimeTypeHandle handle, IIUnknownDerivedDetails interfaceDetails, void* ptr);
44
/// Get associated <see cref="
TableInfo
"/>.
47
/// <param name="info">A <see cref="
TableInfo
"/> instance</param>
49
bool TryGetTableInfo(RuntimeTypeHandle handle, out
TableInfo
info);
52
/// Set associated <see cref="
TableInfo
"/>.
55
/// <param name="info">A <see cref="
TableInfo
"/> instance</param>
57
bool TrySetTableInfo(RuntimeTypeHandle handle,
TableInfo
info);