diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-02-11 23:23:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-11 23:23:32 -0500 |
commit | 1c28b497ff2d49141f6a63e3f293095161e40d00 (patch) | |
tree | a8e073b5be4c9c0d69e398d41a52ec645104fda0 /src/vm/mdaassistants.h | |
parent | 8e5f65c4ec87cc58ea80c7473cb2946118c6ade9 (diff) | |
download | coreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.tar.gz coreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.tar.bz2 coreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.zip |
Delete mda.cs and related dead code (#22535)
Diffstat (limited to 'src/vm/mdaassistants.h')
-rw-r--r-- | src/vm/mdaassistants.h | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/src/vm/mdaassistants.h b/src/vm/mdaassistants.h index 1a23f30eb8..03454cb2bb 100644 --- a/src/vm/mdaassistants.h +++ b/src/vm/mdaassistants.h @@ -47,20 +47,6 @@ See the other report functions for an example (eg, MdaLoaderLock::ReportViolatio #ifdef MDA_SUPPORTED -// Until Mda offers first class support for managed code we'll just make targetd ecalls. -class MdaManagedSupport -{ -public: - static FCDECL0(void, MemberInfoCacheCreation); - static FCDECL0(void, DateTimeInvalidLocalFormat); - static FCDECL1(void, ReportStreamWriterBufferedDataLost, StringObject * pString); - static FCDECL0(FC_BOOL_RET, IsStreamWriterBufferedDataLostEnabled); - static FCDECL0(FC_BOOL_RET, IsStreamWriterBufferedDataLostCaptureAllocatedCallStack); - static FCDECL0(FC_BOOL_RET, IsInvalidGCHandleCookieProbeEnabled); - static FCDECL1(void, FireInvalidGCHandleCookieProbe, LPVOID cookie); - static FCDECL1(void, ReportErrorSafeHandleRelease, ExceptionObject * pException); -}; - // MDA classes do not derive from MdaAssistant in the type system, but, rather, use this macro to // ensure that their layout is identical to what it would be had they derived from MdaAssistant. // This allows them to be "aggregates", which C++ will allow to be initialized at compile time. @@ -145,19 +131,6 @@ public: // -// MdaReflection -// -class MdaMemberInfoCacheCreation -{ -public: - void Initialize(MdaXmlElement* pXmlInput) { WRAPPER_NO_CONTRACT; } - void MemberInfoCacheCreation(); - - MDA_ASSISTANT_BASE_MEMBERS; -}; - - -// // MdaPInvokeLog // class MdaPInvokeLog @@ -582,9 +555,6 @@ class MdaMarshalCleanupError { public: void Initialize(MdaXmlElement* pXmlInput) { LIMITED_METHOD_CONTRACT; } - void ReportErrorThreadCulture(OBJECTREF *pExceptionObj); - void ReportErrorSafeHandleRelease(OBJECTREF *pExceptionObj); - void ReportErrorSafeHandleProp(OBJECTREF *pExceptionObj); void ReportErrorCustomMarshalerCleanup(TypeHandle typeCustomMarshaler, OBJECTREF *pExceptionObj); MDA_ASSISTANT_BASE_MEMBERS; @@ -761,19 +731,6 @@ public: MDA_ASSISTANT_BASE_MEMBERS; }; - - -// -// InvalidGCHandleCookie -// -class MdaInvalidGCHandleCookie -{ -public: - void Initialize(MdaXmlElement* pXmlInput) { LIMITED_METHOD_CONTRACT; } - void ReportError(LPVOID cookie); - - MDA_ASSISTANT_BASE_MEMBERS; -}; // // MdaXmlValidator @@ -818,44 +775,6 @@ public: MDA_ASSISTANT_BASE_MEMBERS; }; -// -// MdaDateTimeInvalidLocalFormat -// -class MdaDateTimeInvalidLocalFormat -{ -public: - void Initialize(MdaXmlElement* pXmlInput) { LIMITED_METHOD_CONTRACT; } - void ReportError(); - - MDA_ASSISTANT_BASE_MEMBERS; -}; - -// -// MdaStreamWriterBufferedDataLost -// -class MdaStreamWriterBufferedDataLost -{ -public: - void Initialize(MdaXmlElement* pXmlInput) - { - CONTRACTL - { - THROWS; - GC_NOTRIGGER; - MODE_ANY; - } - CONTRACTL_END; - m_captureAllocatedCallStack = pXmlInput->GetAttribute(MdaAttrDecl(CaptureAllocatedCallStack))->GetValueAsBool(); - } - - BOOL CaptureAllocatedCallStack() { LIMITED_METHOD_CONTRACT; return m_captureAllocatedCallStack; } - - void ReportError(SString text); - - MDA_ASSISTANT_BASE_MEMBERS; - BOOL m_captureAllocatedCallStack; -}; - class ValidateMdaAssistantLayout { static_assert_no_msg(sizeof(MdaAssistant) == 3); |