1 type derived from ComObject
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs (1)
79
internal sealed class IDispatchComObject :
ComObject
, IDynamicMetaObjectProvider
1 instantiation of ComObject
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComObject.cs (1)
97
return new
ComObject
(rcw);
17 references to ComObject
Microsoft.CSharp (17)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (2)
243
return
ComObject
.ObjectToComObject(value).GetMemberNames(true);
260
return
ComObject
.ObjectToComObject(value).GetMembers(names);
Microsoft\CSharp\RuntimeBinder\ComInterop\ComFallbackMetaObject.cs (2)
57
ComObject
.RcwFromComObject(Expression),
59
((
ComObject
)Value).RuntimeCallableWrapper
Microsoft\CSharp\RuntimeBinder\ComInterop\ComMetaObject.cs (1)
58
ComObject
.RcwToComObject(Expression),
Microsoft\CSharp\RuntimeBinder\ComInterop\ComObject.cs (10)
31
/// Gets a <see cref="
ComObject
"/> that wraps the runtime-callable-wrapper, or creates one if none currently exists.
36
public static
ComObject
ObjectToComObject(object rcw)
43
return (
ComObject
)data;
51
return (
ComObject
)data;
54
ComObject
comObjectInfo = CreateComObject(rcw);
67
Debug.Assert(comObject != null && (typeof(
ComObject
).IsAssignableFrom(comObject.Type) || comObject.Type == typeof(object)), "must be ComObject");
70
Helpers.Convert(comObject, typeof(
ComObject
)),
71
typeof(
ComObject
).GetProperty(nameof(RuntimeCallableWrapper), BindingFlags.NonPublic | BindingFlags.Instance)
80
typeof(
ComObject
).GetMethod(nameof(ObjectToComObject)),
88
private static
ComObject
CreateComObject(object rcw)
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchMetaObject.cs (2)
130
ComObject
.RcwFromComObject(Expression),
263
ComObject
.RcwFromComObject(Expression),