1 instantiation of TableInfo
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (1)
20return new IIUnknownCacheStrategy.TableInfo()
17 references to TableInfo
System.Runtime.InteropServices (17)
System\Runtime\InteropServices\Marshalling\ComObject.cs (3)
95if (!LookUpVTableInfo(interfaceType, out IIUnknownCacheStrategy.TableInfo info, out int qiResult)) 116private bool LookUpVTableInfo(RuntimeTypeHandle handle, out IIUnknownCacheStrategy.TableInfo result, out int qiHResult) 153if (!LookUpVTableInfo(type.TypeHandle, out IIUnknownCacheStrategy.TableInfo result, out int qiHResult))
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (5)
15private readonly ConcurrentDictionary<RuntimeTypeHandle, IIUnknownCacheStrategy.TableInfo> _cache = new(concurrencyLevel: 1, capacity: 16); 17IIUnknownCacheStrategy.TableInfo IIUnknownCacheStrategy.ConstructTableInfo(RuntimeTypeHandle handle, IIUnknownDerivedDetails details, void* ptr) 28bool IIUnknownCacheStrategy.TryGetTableInfo(RuntimeTypeHandle handle, out IIUnknownCacheStrategy.TableInfo info) 33bool IIUnknownCacheStrategy.TrySetTableInfo(RuntimeTypeHandle handle, IIUnknownCacheStrategy.TableInfo info) 40foreach (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> 41TableInfo ConstructTableInfo(RuntimeTypeHandle handle, IIUnknownDerivedDetails interfaceDetails, void* ptr); 44/// Get associated <see cref="TableInfo"/>. 47/// <param name="info">A <see cref="TableInfo"/> instance</param> 49bool TryGetTableInfo(RuntimeTypeHandle handle, out TableInfo info); 52/// Set associated <see cref="TableInfo"/>. 55/// <param name="info">A <see cref="TableInfo"/> instance</param> 57bool TrySetTableInfo(RuntimeTypeHandle handle, TableInfo info);