public DelegateMarshallingMethodThunk(MetadataType delegateType, TypeDesc owningType,
                                       InteropStateManager interopStateManager, DelegateMarshallingMethodThunkKind kind)
 {
     _owningType          = owningType;
     _delegateType        = delegateType;
     _invokeMethod        = delegateType.GetMethod("Invoke", null);
     _interopStateManager = interopStateManager;
     Kind = kind;
 }
Example #2
0
 public DelegateMarshallingStubHashtableKey(MetadataType type, DelegateMarshallingMethodThunkKind kind)
 {
     DelegateType = type;
     Kind         = kind;
 }