未验证 提交 fef9b592 编写于 作者: E Elinor Fung 提交者: GitHub

Remove unused functions in MarshalInfo (#51907)

上级 38ecfc39
此差异已折叠。
...@@ -182,8 +182,6 @@ struct NativeTypeParamInfo ...@@ -182,8 +182,6 @@ struct NativeTypeParamInfo
#endif // FEATURE_COMINTEROP #endif // FEATURE_COMINTEROP
}; };
HRESULT CheckForCompressedData(PCCOR_SIGNATURE pvNativeTypeStart, PCCOR_SIGNATURE pvNativeType, ULONG cbNativeType);
BOOL ParseNativeTypeInfo(mdToken token, BOOL ParseNativeTypeInfo(mdToken token,
IMDInternalImport* pScope, IMDInternalImport* pScope,
NativeTypeParamInfo* pParamInfo); NativeTypeParamInfo* pParamInfo);
...@@ -460,10 +458,6 @@ public: ...@@ -460,10 +458,6 @@ public:
// Helper functions used to map the specified type to its interface marshalling info. // Helper functions used to map the specified type to its interface marshalling info.
static void GetItfMarshalInfo(TypeHandle th, BOOL fDispItf, MarshalScenario ms, ItfMarshalInfo *pInfo); static void GetItfMarshalInfo(TypeHandle th, BOOL fDispItf, MarshalScenario ms, ItfMarshalInfo *pInfo);
static HRESULT TryGetItfMarshalInfo(TypeHandle th, BOOL fDispItf, ItfMarshalInfo *pInfo);
VOID MarshalTypeToString(SString& strMarshalType, BOOL fSizeIsSpecified);
static VOID VarTypeToString(VARTYPE vt, SString& strVarType);
// Returns true if the specified marshaler requires COM to have been started. // Returns true if the specified marshaler requires COM to have been started.
bool MarshalerRequiresCOM(); bool MarshalerRequiresCOM();
...@@ -701,9 +695,6 @@ VOID ThrowInteropParamException(UINT resID, UINT paramIdx); ...@@ -701,9 +695,6 @@ VOID ThrowInteropParamException(UINT resID, UINT paramIdx);
VOID CollateParamTokens(IMDInternalImport *pInternalImport, mdMethodDef md, ULONG numargs, mdParamDef *aParams); VOID CollateParamTokens(IMDInternalImport *pInternalImport, mdMethodDef md, ULONG numargs, mdParamDef *aParams);
bool IsUnsupportedTypedrefReturn(MetaSig& msig); bool IsUnsupportedTypedrefReturn(MetaSig& msig);
void FindCopyCtor(Module *pModule, MethodTable *pMT, MethodDesc **pMDOut);
void FindDtor(Module *pModule, MethodTable *pMT, MethodDesc **pMDOut);
// We'll cap the total native size at a (somewhat) arbitrary limit to ensure // We'll cap the total native size at a (somewhat) arbitrary limit to ensure
// that we don't expose some overflow bug later on. // that we don't expose some overflow bug later on.
#define MAX_SIZE_FOR_INTEROP 0x7ffffff0 #define MAX_SIZE_FOR_INTEROP 0x7ffffff0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册