2 types derived from ComTypeDesc
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeClassDesc.cs (1)
14
internal sealed class ComTypeClassDesc :
ComTypeDesc
, IDynamicMetaObjectProvider
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeEnumDesc.cs (1)
13
internal sealed class ComTypeEnumDesc :
ComTypeDesc
, IDynamicMetaObjectProvider
2 instantiations of ComTypeDesc
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeDesc.cs (2)
40
ComTypeDesc typeDesc = new
ComTypeDesc
(typeInfo, null);
49
ComTypeDesc typeDesc = new
ComTypeDesc
(null, null)
23 references to ComTypeDesc
Microsoft.CSharp (23)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeDesc.cs (4)
30
internal static
ComTypeDesc
FromITypeInfo(ITypeInfo typeInfo, TYPEATTR typeAttr)
40
ComTypeDesc
typeDesc = new ComTypeDesc(typeInfo, null);
47
internal static
ComTypeDesc
CreateEmptyTypeDesc()
49
ComTypeDesc
typeDesc = new ComTypeDesc(null, null)
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs (16)
81
private
ComTypeDesc
_comTypeDesc;
82
private static readonly Dictionary<Guid,
ComTypeDesc
> s_cacheComTypeDesc = new Dictionary<Guid,
ComTypeDesc
>();
92
ComTypeDesc
ctd = _comTypeDesc;
108
public
ComTypeDesc
ComTypeDesc
349
_comTypeDesc =
ComTypeDesc
.CreateEmptyTypeDesc();
367
ComTypeDesc
typeDesc =
ComTypeDesc
.FromITypeInfo(typeInfo, typeAttr);
376
events =
ComTypeDesc
.EmptyEvents;
382
events =
ComTypeDesc
.EmptyEvents;
404
events =
ComTypeDesc
.EmptyEvents;
410
if (s_cacheComTypeDesc.TryGetValue(typeAttr.guid, out
ComTypeDesc
cachedTypeDesc))
524
_comTypeDesc =
ComTypeDesc
.CreateEmptyTypeDesc();
542
ComTypeDesc
typeDesc =
ComTypeDesc
.FromITypeInfo(typeInfo, typeAttr);
617
if (s_cacheComTypeDesc.TryGetValue(typeAttr.guid, out
ComTypeDesc
cachedTypeDesc))
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchMetaObject.cs (1)
243
internal static BindingRestrictions IDispatchRestriction(Expression expr,
ComTypeDesc
typeDesc)
Microsoft\CSharp\RuntimeBinder\ComInterop\TypeEnumMetaObject.cs (2)
45
typeof(
ComTypeDesc
).GetProperty(nameof(
ComTypeDesc
.TypeLib))),