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)
45
public 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)
91
if (
_message
== null && HResult == HResults.COR_E_ARGUMENT)
src\libraries\System.Private.CoreLib\src\System\BadImageFormatException.cs (2)
75
return
_message
!;
81
if (
_message
== null)
src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
61
public virtual string Message =>
_message
?? SR.Format(SR.Exception_WasThrown, GetClassName());
111
info.AddValue("Message",
_message
, typeof(string)); // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (3)
53
Debug.Assert(
_message
!= null, "_message was null after calling SetMessageField");
54
return
_message
;
60
if (
_message
== null)
src\libraries\System.Private.CoreLib\src\System\TypeLoadException.cs (1)
37
return
_message
!;
src\System\TypeLoadException.CoreCLR.cs (1)
31
if (
_message
== null)