Remove unnecessary Exception._exceptionMethodString field (#14992)
authorStefan Nikolei <stefan@nikolei.eu>
Sat, 11 Nov 2017 21:30:35 +0000 (22:30 +0100)
committerJan Kotas <jkotas@microsoft.com>
Sat, 11 Nov 2017 21:30:35 +0000 (13:30 -0800)
src/mscorlib/src/System/Exception.cs
src/vm/mscorlib.h
src/vm/object.h

index 79a5812..095b33a 100644 (file)
@@ -654,7 +654,6 @@ namespace System
 
         private String _className;  //Needed for serialization.  
         private MethodBase _exceptionMethod;  //Needed for serialization.  
-        private String _exceptionMethodString; //Needed for serialization.
         internal String _message;
         private IDictionary _data;
         private Exception _innerException;
index addcaf9..0039471 100644 (file)
@@ -362,7 +362,6 @@ DEFINE_CLASS(EVENT_INFO,            Reflection,             EventInfo)
 DEFINE_CLASS_U(System,                 Exception,      ExceptionObject)
 DEFINE_FIELD_U(_className,         ExceptionObject,    _className)
 DEFINE_FIELD_U(_exceptionMethod,   ExceptionObject,    _exceptionMethod)
-DEFINE_FIELD_U(_exceptionMethodString,ExceptionObject, _exceptionMethodString)
 DEFINE_FIELD_U(_message,           ExceptionObject,    _message)
 DEFINE_FIELD_U(_data,              ExceptionObject,    _data)
 DEFINE_FIELD_U(_innerException,    ExceptionObject,    _innerException)
index 84ed0a5..0fdcff3 100644 (file)
@@ -3540,7 +3540,6 @@ public:
 private:
     STRINGREF   _className;  //Needed for serialization.
     OBJECTREF   _exceptionMethod;  //Needed for serialization.
-    STRINGREF   _exceptionMethodString; //Needed for serialization.
     STRINGREF   _message;
     OBJECTREF   _data;
     OBJECTREF   _innerException;