summaryrefslogtreecommitdiff
path: root/src/dlls
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-02-11 23:23:32 -0500
committerGitHub <noreply@github.com>2019-02-11 23:23:32 -0500
commit1c28b497ff2d49141f6a63e3f293095161e40d00 (patch)
treea8e073b5be4c9c0d69e398d41a52ec645104fda0 /src/dlls
parent8e5f65c4ec87cc58ea80c7473cb2946118c6ade9 (diff)
downloadcoreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.tar.gz
coreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.tar.bz2
coreclr-1c28b497ff2d49141f6a63e3f293095161e40d00.zip
Delete mda.cs and related dead code (#22535)
Diffstat (limited to 'src/dlls')
-rw-r--r--src/dlls/mscorrc/mscorrc.rc32
-rw-r--r--src/dlls/mscorrc/resource.h4
2 files changed, 0 insertions, 36 deletions
diff --git a/src/dlls/mscorrc/mscorrc.rc b/src/dlls/mscorrc/mscorrc.rc
index a0616a2e67..6717d68703 100644
--- a/src/dlls/mscorrc/mscorrc.rc
+++ b/src/dlls/mscorrc/mscorrc.rc
@@ -242,11 +242,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
L"from unmanaged to managed where an LCID was used to specify the culture for the call. This will " \
L"cause the thread's culture to remain set to the one associated with the LCID. The cause of the failure was: %1$s"
-#define MDARC_MARSHALCLEANUPERROR_SAFEHANDLERELEASE_MSG \
- L"The CLR marshaler encountered an error while attempting to release the reference to a SafeHandle " \
- L"it acquired in order to marshal the SafeHandle to an unmanaged pointer during a call from managed to unmanaged. " \
- L"This may cause the unmanaged resource the SafeHandle represents to be leaked. The cause of the failure was: %1$s"
-
#define MDARC_MARSHALCLEANUPERROR_SAFEHANDLEPROP_MSG \
L"The CLR marshaler encountered an error while attempting to associate a SafeHandle with an unmanaged resource. " \
L"This may cause the unmanaged resource to be leaked. The cause of the failure was: %1$s"
@@ -265,9 +260,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
L"Function DllMain, called with reason DLL_PROCESS_ATTACH, returned FALSE. DLL initialization failed. " \
L"To ignore the DllMain return, set Registry value " \
L"HKEY_LOCAL_MACHINE\\Software\\Microsoft\\.NETFramework\\IgnoreDllMainReturn to 1"
-
-#define MDARC_REFLECTION_PERFORMANCE_MEMBERINFOCACHECREATION_MSG \
- L"Reflection has created a memberInfo cache."
#define MDARC_INVALID_MEMBER_DECLARATION_MSG \
L"The following error occurred while determining how to marshal the parameters of member '%1$s' of type '%2$s': " \
@@ -288,16 +280,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#define MDARC_DANGEROUS_THREADINGAPI_MSG \
L"User code has attempted to call the following API: '%1$s'. This may result in a deadlock in the process."
-#define MDARC_DATETIME_INVALID_LOCAL_FORMAT_MSG \
- L"A UTC DateTime is being converted to text in a format that is only correct for local times. " \
- L"This can happen when calling DateTime.ToString using the 'z' format specifier, which will " \
- L"include a local time zone offset in the output. In that case, either use the 'Z' format specifier, " \
- L"which designates a UTC time, or use the 'o' format string, which is the recommended way to persist " \
- L"a DateTime in text. This can also occur when passing a DateTime to be serialized by " \
- L"XmlConvert or DataSet. If using XmlConvert.ToString, pass in " \
- L"XmlDateTimeSerializationMode.RoundtripKind to serialize correctly. If using DataSet, set the " \
- L"DateTimeMode on the DataColumn object to DataSetDateTime.Utc. "
-
#define MDARC_NON_COMVISIBLE_BASE_CLASS_CLASSITF_MSG \
L"A QueryInterface call was made requesting the class interface of COM visible managed class '%1$s'. " \
L"However since this class derives from non COM visible class '%2$s', the QueryInterface call will fail. " \
@@ -310,16 +292,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
L"COM visible class '%2$s', the QueryInterface call will fail. This is done to prevent the non COM " \
L"visible base class from being constrained by the COM versioning rules."
-#define MDARC_INVALID_GCHANDLE_COOKIE_MSG \
- L"An attempt was made to retrieve a GCHandle from an invalid IntPtr cookie (0x%1$x). " \
- L"The cookie was most likely invalid because the cookie does not represent a GCHandle, " \
- L"the GCHandle has already been freed, " \
- L"the retrieval was attempted in the wrong AppDomain, " \
- L"or the GCHandle was marshaled to native code as a GCHandle but passed back into " \
- L"managed code as an IntPtr where a cast was attempted. " \
- L"Attempting to use an invalid pointer to reclaim a GC handle can cause unexpected exceptions, crashes, " \
- L"corruption or data loss. "
-
#define MDARC_FATAL_EXECUTION_ENGINE_ERROR_MSG \
L"The runtime has encountered a fatal error. The address of the error was at 0x%1$08x, on thread 0x%2$x. "\
L"The error code is 0x%3$08x. This error may be a bug in the CLR or in the unsafe " \
@@ -366,7 +338,6 @@ BEGIN
MDARC_DISCONNECTED_CONTEXT_2 MDARC_DISCONNECTED_CONTEXT_2_MSG
MDARC_NOTMARSHALABLE MDARC_NOTMARSHALABLE_MSG
MDARC_MARSHALCLEANUPERROR_THREADCULTURE MDARC_MARSHALCLEANUPERROR_THREADCULTURE_MSG
- MDARC_MARSHALCLEANUPERROR_SAFEHANDLERELEASE MDARC_MARSHALCLEANUPERROR_SAFEHANDLERELEASE_MSG
MDARC_MARSHALCLEANUPERROR_SAFEHANDLEPROP MDARC_MARSHALCLEANUPERROR_SAFEHANDLEPROP_MSG
MDARC_MARSHALCLEANUPERROR_CUSTOMCLEANUP MDARC_MARSHALCLEANUPERROR_CUSTOMCLEANUP_MSG
MDARC_INVALID_IUNKNOWN MDARC_INVALID_IUNKNOWN_MSG
@@ -380,14 +351,11 @@ BEGIN
MDARC_OPENGENERIC_CER_CALL MDARC_OPENGENERIC_CER_CALL_MSG
MDARC_ILLEGAL_PCR MDARC_ILLEGAL_PCR_MSG
MDARC_SAFEHANDLE_CRITICAL_FAILURE MDARC_SAFEHANDLE_CRITICAL_FAILURE_MSG
- MDARC_REFLECTION_PERFORMANCE_MEMBERINFOCACHECREATION MDARC_REFLECTION_PERFORMANCE_MEMBERINFOCACHECREATION_MSG
- MDARC_DATETIME_INVALID_LOCAL_FORMAT MDARC_DATETIME_INVALID_LOCAL_FORMAT_MSG
MDARC_DLLMAIN_RETURNS_FALSE MDARC_DLLMAIN_RETURNS_FALSE_MSG
MDARC_INVALID_MEMBER_DECLARATION MDARC_INVALID_MEMBER_DECLARATION_MSG
MDARC_EXCEPTION_SWALLOWED_COM_TO_CLR MDARC_EXCEPTION_SWALLOWED_COM_TO_CLR_MSG
MDARC_NON_COMVISIBLE_BASE_CLASS_CLASSITF MDARC_NON_COMVISIBLE_BASE_CLASS_CLASSITF_MSG
MDARC_NON_COMVISIBLE_BASE_CLASS_IDISPATCH MDARC_NON_COMVISIBLE_BASE_CLASS_IDISPATCH_MSG
- MDARC_INVALID_GCHANDLE_COOKIE MDARC_INVALID_GCHANDLE_COOKIE_MSG
MDARC_PINVOKE_LOG MDARC_PINVOKE_LOG_MSG
MDARC_FATAL_EXECUTION_ENGINE_ERROR MDARC_FATAL_EXECUTION_ENGINE_ERROR_MSG
MDARC_INVALID_OVERLAPPED_TO_PINVOKE MDARC_INVALID_OVERLAPPED_TO_PINVOKE_MSG
diff --git a/src/dlls/mscorrc/resource.h b/src/dlls/mscorrc/resource.h
index 6d137f75bd..cbd03b6271 100644
--- a/src/dlls/mscorrc/resource.h
+++ b/src/dlls/mscorrc/resource.h
@@ -46,25 +46,21 @@
#define MDARC_OPENGENERIC_CER_CALL 0x1913
#define MDARC_ILLEGAL_PCR 0x1914
#define MDARC_MARSHALCLEANUPERROR_THREADCULTURE 0x1915
-#define MDARC_MARSHALCLEANUPERROR_SAFEHANDLERELEASE 0x1916
#define MDARC_MARSHALCLEANUPERROR_SAFEHANDLEPROP 0x1917
#define MDARC_MARSHALCLEANUPERROR_CUSTOMCLEANUP 0x1918
#define MDARC_SAFEHANDLE_CRITICAL_FAILURE 0x1919
#define MDARC_DLLMAIN_RETURNS_FALSE 0x191A
-#define MDARC_REFLECTION_PERFORMANCE_MEMBERINFOCACHECREATION 0x191B
#define MDARC_DOCUMENTATION 0x191E
#define MDARC_ASYNCHRONOUS_THREADABORT 0x191F
#define MDARC_LOAD_FROM_CONTEXT 0x1920
#define MDARC_CONTEXT_SWITCH_DEADLOCK 0x1921
#define MDARC_RCW_CLEANUP_RACE 0x1923
-#define MDARC_DATETIME_INVALID_LOCAL_FORMAT 0x1924
#define MDARC_INVALID_MEMBER_DECLARATION 0x1925
#define MDARC_EXCEPTION_SWALLOWED_COM_TO_CLR 0x1926
#define MDARC_REENTRANCY 0x1928
#define MDARC_NON_COMVISIBLE_BASE_CLASS_CLASSITF 0x1929
#define MDARC_NON_COMVISIBLE_BASE_CLASS_IDISPATCH 0x192A
#define MDARC_BINDING_FAILURE 0x192B
-#define MDARC_INVALID_GCHANDLE_COOKIE 0x192C
#define MDARC_REPORT_AV_ON_COM_RELEASE_WITH_VTABLE 0x192D
#define MDARC_PINVOKE_LOG 0x192E
#define MDARC_FATAL_EXECUTION_ENGINE_ERROR 0x192F