Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DecoderFallbackException.cs
Go to the documentation of this file.
3
4namespace System.Text;
5
7[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
9{
10 private readonly byte[] _bytesUnknown;
11
12 private readonly int _index;
13
14 public byte[]? BytesUnknown => _bytesUnknown;
15
16 public int Index => _index;
17
19 : base(SR.Arg_ArgumentException)
20 {
21 base.HResult = -2147024809;
22 }
23
24 public DecoderFallbackException(string? message)
25 : base(message)
26 {
27 base.HResult = -2147024809;
28 }
29
31 : base(message, innerException)
32 {
33 base.HResult = -2147024809;
34 }
35
36 public DecoderFallbackException(string? message, byte[]? bytesUnknown, int index)
37 : base(message)
38 {
40 _index = index;
41 }
42
47}
Definition SR.cs:7
DecoderFallbackException(string? message, Exception? innerException)
DecoderFallbackException(string? message, byte[]? bytesUnknown, int index)
DecoderFallbackException(SerializationInfo serializationInfo, StreamingContext streamingContext)