12 writes to _message
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\ArgumentException.cs (1)
93_message = SR.Arg_ArgumentException;
src\libraries\System.Private.CoreLib\src\System\BadImageFormatException.cs (2)
85_message = SR.Arg_BadImageFormatException; 87_message = FileLoadException.FormatFileLoadExceptionMessage(_fileName, HResult);
src\libraries\System.Private.CoreLib\src\System\Exception.cs (3)
28_message = message; 39_message = message; 49_message = info.GetString("Message"); // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\IO\FileLoadException.cs (1)
45public override string Message => _message ??= FormatFileLoadExceptionMessage(FileName, HResult);
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (2)
64_message = SR.IO_FileNotFound; 66_message = FileLoadException.FormatFileLoadExceptionMessage(FileName, HResult);
src\System\IO\FileLoadException.CoreCLR.cs (1)
17_message = FormatFileLoadExceptionMessage(FileName, HResult);
src\System\TypeLoadException.CoreCLR.cs (2)
35_message = SR.Arg_TypeLoadException; 44_message = string.Format(format!, _className, _assemblyName, _messageArg);
10 references to _message
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\ArgumentException.cs (1)
91if (_message == null && HResult == HResults.COR_E_ARGUMENT)
src\libraries\System.Private.CoreLib\src\System\BadImageFormatException.cs (2)
75return _message!; 81if (_message == null)
src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
61public virtual string Message => _message ?? SR.Format(SR.Exception_WasThrown, GetClassName()); 111info.AddValue("Message", _message, typeof(string)); // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (3)
53Debug.Assert(_message != null, "_message was null after calling SetMessageField"); 54return _message; 60if (_message == null)
src\libraries\System.Private.CoreLib\src\System\TypeLoadException.cs (1)
37return _message!;
src\System\TypeLoadException.CoreCLR.cs (1)
31if (_message == null)