terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetObjectData()

virtual void System.Exception.GetObjectData ( SerializationInfo info,
StreamingContext context )
inlinevirtualinherited

Implements System.Runtime.Serialization.ISerializable.

Reimplemented in System.AggregateException, System.ArgumentException, System.ArgumentOutOfRangeException, System.BadImageFormatException, System.Globalization.CultureNotFoundException, System.IO.FileLoadException, System.IO.FileNotFoundException, System.MissingMemberException, System.ObjectDisposedException, System.Reflection.ReflectionTypeLoadException, System.Runtime.CompilerServices.RuntimeWrappedException, System.Security.SecurityException, System.TypeInitializationException, System.TypeLoadException, System.Xml.Schema.XmlSchemaException, System.Xml.XmlException, System.ComponentModel.LicenseException, System.ComponentModel.WarningException, System.ComponentModel.Win32Exception, System.Text.RegularExpressions.RegexMatchTimeoutException, System.Net.CookieException, System.Net.CookieException, System.Net.ProtocolViolationException, System.Net.ProtocolViolationException, System.Net.WebException, System.Net.WebException, and System.UriFormatException.

Definition at line 266 of file Exception.cs.

267 {
268 while (info == null)
269 {
270 }
271 string stackTrace;
272 if (this._stackTraceString == null && this._stackTrace != null)
273 {
274 stackTrace = Environment.GetStackTrace(this, true);
275 }
276 if (this._source == null)
277 {
278 this._source = this;
279 }
280 string className = this.GetClassName();
281 Type type;
282 info.AddValue("ClassName", className, type);
283 string message = this._message;
284 Type type2;
285 info.AddValue("Message", message, type2);
286 IDictionary data = this._data;
288 Type type3;
289 info.AddValue("InnerException", innerException, type3);
290 string helpURL = this._helpURL;
291 Type type4;
292 info.AddValue("HelpURL", helpURL, type4);
293 Type type5;
294 info.AddValue("StackTraceString", stackTrace, type5);
296 Type type6;
297 info.AddValue("RemoteStackTraceString", remoteStackTraceString, type6);
299 long num = 0L;
300 info.AddValue("ExceptionMethod", num);
301 int hresult = this._HResult;
302 info.AddValue("HResult", hresult);
303 string source = this._source;
304 Type type7;
305 info.AddValue("Source", source, type7);
307 if (safeSerializationManager != null)
308 {
311 Type type8;
312 info.AddValue("SafeSerializationManager", safeSerializationManager2, type8);
314 }
315 }
class f__AnonymousType0<< Count > j__TPar
static string GetStackTrace(Exception e, bool needFileInfo)
IDictionary _data
Definition Exception.cs:415
Exception _innerException
Definition Exception.cs:418
string _stackTraceString
Definition Exception.cs:427
SafeSerializationManager _safeSerializationManager
Definition Exception.cs:446
string GetClassName()
Definition Exception.cs:134
string _remoteStackTraceString
Definition Exception.cs:430
void AddValue(string name, object value, Type type)

References System.Exception._data, System.Exception._helpURL, System.Exception._HResult, System.Exception._innerException, System.Exception._message, System.Exception._remoteStackIndex, System.Exception._remoteStackTraceString, System.Exception._safeSerializationManager, System.Exception._source, System.Exception._stackTrace, System.Exception._stackTraceString, System.Runtime.Serialization.SerializationInfo.AddValue(), System.Exception.GetClassName(), System.Environment.GetStackTrace(), System.info, System.Runtime.Serialization.SafeSerializationManager.IsActive, j__TPar, System.L, and System.source.