Skip to content

Commit 93342ec

Browse files
committed
remove dead resources
1 parent 4fc6d4c commit 93342ec

2 files changed

Lines changed: 0 additions & 30 deletions

File tree

src/coreclr/dlls/mscorrc/mscorrc.rc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ BEGIN
293293
#endif // FEATURE_COMINTEROP
294294

295295
#if defined(FEATURE_COMINTEROP) || defined(FEATURE_COMWRAPPERS)
296-
IDS_EE_NATIVE_COM_WEAKREF_BAD_TYPE "The object resolved by a native IWeakReference has an incompatible type for its managed WeakReference instance.\r\nExpected WeakReference target type: '%1'\r\nNative IWeakReference returned type: '%2'"
297296
#endif // FEATURE_COMINTEROP || FEATURE_COMWRAPPERS
298297

299298
IDS_CLASSLOAD_TYPEWRONGNUMGENERICARGS "The generic type '%1' was used with the wrong number of generic arguments in assembly '%2'."
@@ -367,7 +366,6 @@ BEGIN
367366
IDS_CLASSLOAD_UNSUPPORTED_DISPATCH "Could not make constrained call to method '%1' on interface '%2' with type '%3' from assembly '%4'. Dispatch to default interface methods is not supported in this situation."
368367
IDS_CLASSLOAD_METHOD_NOT_IMPLEMENTED "Could not call method '%1' on type '%2' with an instance of '%3' from assembly '%4' because there is no implementation for the method."
369368

370-
IDS_CLASSLOAD_MISSINGMETHODRVA "Could not load type '%1' from assembly '%2' because the method '%3' has no implementation (no RVA)."
371369
IDS_CLASSLOAD_BAD_FIELD "Type '%1' from assembly '%2' has a field of an illegal type."
372370
IDS_CLASSLOAD_MI_ILLEGAL_BODY "Body referenced in a method implementation must be defined in the same type. Type: '%1'. Assembly: '%2'."
373371
IDS_CLASSLOAD_MI_ILLEGAL_TOKEN_BODY "Body token used in a method implementation is out of range. Type: '%1'. Assembly: '%2'."
@@ -420,7 +418,6 @@ BEGIN
420418
IDS_EE_SIZECONTROLBADTYPE "Array size control parameter type not supported."
421419
IDS_EE_SAFEARRAYSZARRAYMISMATCH "SafeArray cannot be marshaled to this array type because it has either nonzero lower bounds or more than one dimension."
422420

423-
IDS_EE_NEEDS_ASSEMBLY_SPEC "Typename needs an assembly qualifier."
424421

425422
IDS_EE_FILELOAD_ERROR_GENERIC "Could not load file or assembly '%1'. %2"
426423

@@ -569,7 +566,6 @@ END
569566
// General prompt strings.
570567
STRINGTABLE DISCARDABLE
571568
BEGIN
572-
IDS_RTL "RTL_False" // change this to RTL_True on Arabic/Hebrew system
573569
END
574570

575571
// BAD_FORMAT_ASSERT error messages
@@ -672,14 +668,12 @@ BEGIN
672668
IDS_E_PROF_NO_CLSID "Loading profiler failed. CORECLR_ENABLE_PROFILING was set properly, but CORECLR_PROFILER was not. CORECLR_PROFILER must be set to the CLSID of the profiler to load.\n"
673669
IDS_E_PROF_INTERNAL_INIT "Loading profiler failed due to an internal profiling services initialization failure. Profiler CLSID: '%s'. HRESULT: 0x%x.\n"
674670
IDS_E_PROF_BAD_CLSID "Loading profiler failed. CORECLR_PROFILER is set to an invalid CLSID: '%s'. HRESULT: 0x%x.\n"
675-
IDS_E_PROF_NO_CALLBACK_IFACE "Loading profiler failed. CORECLR_PROFILER is set to a CLSID of a COM object that does not implement the interface GUID (IID) requested by the CLR. This often indicates that the profiler does not support this version of the CLR. Profiler CLSID: '%s'. Requested IID: '%s'.\n"
676671
IDS_E_PROF_CCI_FAILED "Loading profiler failed during instantiation. Profiler CLSID: '%s'. HRESULT: 0x%x.\n"
677672
IDS_E_PROF_INIT_CALLBACK_FAILED "Loading profiler failed. The profiler was instantiated, but the profiler failed during its initialization callback. Profiler CLSID: '%s'. HRESULT: 0x%x.\n"
678673
IDS_PROF_SUPPLEMENTARY_INFO "Process ID (decimal): %d. Message ID: [0x%x].\n"
679674
IDS_PROF_LOAD_COMPLETE "The profiler was loaded successfully. Profiler CLSID: '%s'.\n"
680675
IDS_E_PROF_NOT_ATTACHABLE "Loading profiler failed. The profiler was instantiated, but the profiler does not support attaching to a live process. The profiler must be loaded at application startup by using a launcher program included with the profiler (if any) or by setting the CORECLR_ENABLE_PROFILING and CORECLR_PROFILER environment variables before launching the application to be profiled. Profiler CLSID: '%s'\n"
681676
IDS_E_PROF_UNHANDLED_EXCEPTION_ON_LOAD "Loading profiler failed. There was an unhandled exception while trying to instantiate the profiler. Please ensure the CLSID is associated with a valid profiler designed to work with this version of the runtime. Profiler CLSID: '%s'.\n"
682-
IDS_PROF_ATTACH_REQUEST_RECEIVED "The CLR received a request to attach a profiler. Profiler CLSID: '%s'.\n"
683677
IDS_PROF_DETACH_INITIATED "The profiler currently in use has requested to be detached from the process. The CLR has disabled communication with the profiler and will unload the profiler when it is safe to do so.\n"
684678
IDS_PROF_DETACH_COMPLETE "The CLR has fully detached and unloaded the profiler.\n"
685679
IDS_PROF_DETACH_THREAD_ERROR "There was an internal failure in the profiling API detach infrastructure. The profiler will not be able to be detached. Error code: %d.\n"

src/coreclr/dlls/mscorrc/resource.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@
2424
// Resource strings for MDA descriptions.
2525
//-----------------------------------------------------------------------------
2626

27-
#define IDS_RTL 0x01F5
2827

29-
#define IDS_DS_ACTIVESESSIONS 0x1701
30-
#define IDS_DS_DATASOURCENAME 0x1702
31-
#define IDS_DS_DATASOURCEREADONLY 0x1703
32-
#define IDS_DS_DBMSNAME 0x1704
33-
#define IDS_DS_DBMSVER 0x1705
34-
#define IDS_DS_IDENTIFIERCASE 0x1706
35-
#define IDS_DS_DSOTHREADMODEL 0x1707
3628

3729
#define IDS_EE_NDIRECT_UNSUPPORTED_SIG 0x1708
3830
#define IDS_EE_NDIRECT_BADNATL 0x170a
@@ -64,7 +56,6 @@
6456
#define IDS_EE_ILLEGAL_TOKEN_FOR_MAIN 0x1723
6557
#define IDS_EE_MAIN_METHOD_MUST_BE_STATIC 0x1724
6658
#define IDS_EE_MAIN_METHOD_HAS_INVALID_RTN 0x1725
67-
#define IDS_EE_VTABLECALLSNOTSUPPORTED 0x1726
6859

6960
#define IDS_EE_BADMARSHALFIELD_STRING 0x1727
7061
#define IDS_EE_BADMARSHALFIELD_NOCUSTOMMARSH 0x1728
@@ -112,7 +103,6 @@
112103
#define IDS_EE_BADMARSHAL_ARGITERATORRESTRICTION 0x1765
113104
#define IDS_EE_BADMARSHAL_HANDLEREFRESTRICTION 0x1766
114105

115-
#define IDS_EE_ADUNLOAD_NOT_ALLOWED 0x1767
116106

117107
#define IDS_CANNOT_MARSHAL 0x1770
118108
#define IDS_CANNOT_MARSHAL_RECURSIVE_DEF 0x1771
@@ -149,7 +139,6 @@
149139
#define IDS_CLASSLOAD_MI_BADSIGNATURE 0x1793
150140
#define IDS_CLASSLOAD_MI_NOTIMPLEMENTED 0x1794
151141
#define IDS_CLASSLOAD_MI_MUSTBEVIRTUAL 0x1796
152-
#define IDS_CLASSLOAD_MISSINGMETHODRVA 0x1797
153142
#define IDS_CLASSLOAD_FIELDTOOLARGE 0x1798
154143
#define IDS_CLASSLOAD_CANTEXTEND 0x179a
155144
#define IDS_CLASSLOAD_ZEROSIZE 0x179b
@@ -177,17 +166,11 @@
177166
#define IDS_CLASSLOAD_BYREF_OF_BYREF 0x17af
178167
#define IDS_CLASSLOAD_POINTER_OF_BYREF 0x17b0
179168

180-
#define IDS_DEBUG_USERBREAKPOINT 0x17b6
181169

182-
#define IDS_PERFORMANCEMON_FUNCNOTFOUND 0x17bb
183-
#define IDS_PERFORMANCEMON_FUNCNOTFOUND_TITLE 0x17bc
184-
#define IDS_PERFORMANCEMON_PSAPINOTFOUND 0x17bd
185-
#define IDS_PERFORMANCEMON_PSAPINOTFOUND_TITLE 0x17be
186170

187171
#define IDS_INVALID_REDIM 0x17c3
188172
#define IDS_INVALID_PINVOKE_CALLCONV 0x17c4
189173
#define IDS_CLASSLOAD_NSTRUCT_EXPLICIT_OFFSET 0x17c7
190-
#define IDS_EE_BADPINVOKEFIELD_NOTMARSHALABLE 0x17c9
191174

192175
#define IDS_EE_INVALIDLCIDPARAM 0x17cd
193176
#define IDS_EE_BADMARSHAL_NESTEDARRAY 0x17ce
@@ -274,12 +257,10 @@
274257

275258
#define IDS_CLASSLOAD_INVALIDINSTANTIATION 0x1a59
276259

277-
#define IDS_EE_CLASSLOAD_INVALIDINSTANTIATION 0x1a59
278260
#define IDS_EE_BADMARSHALFIELD_ZEROLENGTHFIXEDSTRING 0x1a5a
279261

280262
#define IDS_EE_BADMARSHAL_CRITICALHANDLENATIVETOCOM 0x1a62
281263
#define IDS_EE_BADMARSHAL_ABSTRACTOUTCRITICALHANDLE 0x1a63
282-
#define IDS_EE_BADMARSHAL_RETURNCHCOMTONATIVE 0x1a64
283264
#define IDS_EE_BADMARSHAL_CRITICALHANDLE 0x1a65
284265
#define IDS_EE_BADMARSHAL_INT128_RESTRICTION 0x1a66
285266

@@ -296,7 +277,6 @@
296277

297278
#define IDS_CLASSLOAD_VARIANCE_IN_METHOD_ARG 0x1a79
298279
#define IDS_CLASSLOAD_VARIANCE_IN_METHOD_RESULT 0x1a7a
299-
#define IDS_CLASSLOAD_VARIANCE_IN_BASE 0x1a7b
300280
#define IDS_CLASSLOAD_VARIANCE_IN_INTERFACE 0x1a7c
301281
#define IDS_CLASSLOAD_VARIANCE_IN_CONSTRAINT 0x1a7d
302282
#define IDS_CLASSLOAD_VARIANCE_CLASS 0x1a7e
@@ -305,7 +285,6 @@
305285
#define IDS_CLASSLOAD_OVERLAPPING_INTERFACES 0x1a80
306286
#define IDS_CLASSLOAD_32BITCLRLOADING64BITASSEMBLY 0x1a81
307287

308-
#define IDS_EE_NEEDS_ASSEMBLY_SPEC 0x1a87
309288

310289
#define IDS_EE_FILELOAD_ERROR_GENERIC 0x1a88
311290

@@ -507,7 +486,6 @@
507486
#define IDS_E_PROF_NO_CLSID 0x2500
508487
#define IDS_E_PROF_INTERNAL_INIT 0x2501
509488
#define IDS_E_PROF_BAD_CLSID 0x2502
510-
#define IDS_E_PROF_NO_CALLBACK_IFACE 0x2503
511489
#define IDS_E_PROF_CCI_FAILED 0x2504
512490
#define IDS_E_PROF_INIT_CALLBACK_FAILED 0x2505
513491
#define IDS_PROF_SUPPLEMENTARY_INFO 0x2506
@@ -518,7 +496,6 @@
518496
#define IDS_E_PROF_NOTIFICATION_LIMIT_EXCEEDED 0x250B
519497
#define IDS_E_PROF_NOT_ATTACHABLE 0x250E
520498
#define IDS_E_PROF_UNHANDLED_EXCEPTION_ON_LOAD 0x250F
521-
#define IDS_PROF_ATTACH_REQUEST_RECEIVED 0x2512
522499
#define IDS_PROF_DETACH_INITIATED 0x2513
523500
#define IDS_PROF_DETACH_COMPLETE 0x2514
524501
#define IDS_PROF_DETACH_THREAD_ERROR 0x2515
@@ -534,7 +511,6 @@
534511

535512
#define IDS_EE_CANNOTCAST_NOMARSHAL 0x2629
536513
#if defined(FEATURE_COMINTEROP) || defined(FEATURE_COMWRAPPERS)
537-
#define IDS_EE_NATIVE_COM_WEAKREF_BAD_TYPE 0x262e
538514
#endif // FEATURE_COMINTEROP || FEATURE_COMWRAPPERS
539515

540516
#define IDS_HOST_ASSEMBLY_RESOLVER_ASSEMBLY_ALREADY_LOADED_IN_CONTEXT 0x2636

0 commit comments

Comments
 (0)