1 instantiation of DispCallable
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (1)
222
return new
DispCallable
(dispatch, method.Name, method.DispId);
14 references to DispCallable
Microsoft.CSharp (14)
Microsoft\CSharp\RuntimeBinder\ComInterop\BoundDispEvent.cs (1)
64
if (handler is
DispCallable
)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (1)
220
public static
DispCallable
CreateDispCallable(IDispatchComObject dispatch, ComMethodDesc method)
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallable.cs (1)
42
return obj is
DispCallable
other && other.DispatchComObject == DispatchComObject && other.DispId == DispId;
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallableMetaObject.cs (11)
14
private readonly
DispCallable
_callable;
16
internal DispCallableMetaObject(Expression expression,
DispCallable
callable)
76
Expression dispCall = Helpers.Convert(callable, typeof(
DispCallable
));
86
typeof(
DispCallable
).GetProperty(nameof(
DispCallable
.DispatchObject))
96
BindingRestrictions callableTypeRestrictions = BindingRestrictions.GetTypeRestriction(callable, typeof(
DispCallable
));
97
Expression dispCall = Helpers.Convert(callable, typeof(
DispCallable
));
98
MemberExpression dispatch = Expression.Property(dispCall, typeof(
DispCallable
).GetProperty(nameof(
DispCallable
.DispatchComObject)));
99
MemberExpression dispId = Expression.Property(dispCall, typeof(
DispCallable
).GetProperty(nameof(
DispCallable
.DispId)));