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