13[
TypeForwardedFrom(
"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
71 private readonly
int _xcode = -532462766;
173 [
Obsolete(
"BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId =
"SYSLIB0011", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
377 info.AddValue(
"RemoteStackIndex", 0,
typeof(
int));
378 info.AddValue(
"ExceptionMethod",
null,
typeof(
string));
394 if (!
string.IsNullOrEmpty(message))
396 num += 2 + message.Length;
406 string text2 =
string.FastAllocateString(num);
409 if (!
string.IsNullOrEmpty(message))
virtual ? MethodBase GetMethod()
static void GetMessageFromNativeResources(ExceptionMessageKind kind, StringHandleOnStack retMesg)
string CreateSourceName()
string? SerializationStackTraceString
void RestoreDispatchState(in DispatchState dispatchState)
override string ToString()
Exception(SerializationInfo info, StreamingContext context)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
void SetCurrentStackTrace()
MethodBase GetExceptionMethodFromStackTrace()
MethodBase _exceptionMethod
const string InnerExceptionPrefix
Exception(string? message)
Exception(string? message, Exception? innerException)
void SetRemoteStackTrace(string stackTrace)
virtual ? string StackTrace
object? SerializationWatsonBuckets
virtual Exception GetBaseException()
UIntPtr _ipForWatsonBuckets
static uint GetExceptionCount()
DispatchState CaptureDispatchState()
readonly Exception _innerException
EventHandler< SafeSerializationEventArgs >? SerializeObjectState
const int _COMPlusExceptionCode
void OnDeserialized(StreamingContext context)
readonly object[] _dynamicMethods
IDictionary CreateDataContainer()
bool CanSetRemoteStackTrace()
static void PrepareForForeignExceptionRaise()
string _remoteStackTraceString
Exception? InnerException
virtual ? string HelpLink
static string GetMessageFromNativeResources(ExceptionMessageKind kind)
static bool IsImmutableAgileException(Exception e)
static void SaveStackTracesFromDeepCopy(Exception exception, byte[] currentStackTrace, object[] dynamicMethodArray)
static void GetStackTracesDeepCopy(Exception exception, out byte[] currentStackTrace, out object[] dynamicMethodArray)
void RestoreRemoteStackTrace(SerializationInfo info, StreamingContext context)
static IRuntimeMethodInfo GetMethodFromStackTrace(object stackTrace)
void InternalPreserveStackTrace()
static MethodBase GetMethodBase(RuntimeModule scope, int typeMetadataToken)
static string Exception_WasThrown
static string Format(string resourceFormat, object p1)
static string Argument_MustBeRuntimeReflectionObject
static string Exception_EndOfInnerExceptionStack
static string PlatformNotSupported_SecureBinarySerialization
static string Exception_EndStackTraceFromPreviousThrow
static void ThrowInvalidOperationException()
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
override string ToString()
DispatchState(byte[] stackTrace, object[] dynamicMethods, string remoteStackTrace, UIntPtr ipForWatsonBuckets, byte[] watsonBuckets)
readonly UIntPtr IpForWatsonBuckets
readonly byte[] WatsonBuckets
readonly string RemoteStackTrace
readonly object[] DynamicMethods
readonly byte[] StackTrace
StreamingContextStates State
static readonly UIntPtr Zero