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
UnexceptionalStreamReader.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
System.Text
;
4
5
namespace
System.IO
6
{
7
// Token: 0x0200056F RID: 1391
8
internal
class
UnexceptionalStreamReader
:
StreamReader
9
{
10
// Token: 0x060029EB RID: 10731 RVA: 0x0005B280 File Offset: 0x00059480
11
static
UnexceptionalStreamReader
()
12
{
13
int
stringLength
=
Environment
.
NewLine
._stringLength;
14
string
newLine =
Environment
.
NewLine
;
15
int
stringLength2
= newLine._stringLength;
16
long
num = 0
L
;
17
char
c = newLine[(int)num];
18
}
19
20
// Token: 0x060029EC RID: 10732 RVA: 0x0005B2B8 File Offset: 0x000594B8
21
public
UnexceptionalStreamReader
(
Stream
stream,
Encoding
encoding)
22
{
23
if
(!
true
)
24
{
25
}
26
base
..ctor(stream, encoding);
27
}
28
29
// Token: 0x060029ED RID: 10733 RVA: 0x0005B2D0 File Offset: 0x000594D0
30
public
override
int
Peek
()
31
{
32
return
base
.Peek();
33
}
34
35
// Token: 0x060029EE RID: 10734 RVA: 0x0005B2E8 File Offset: 0x000594E8
36
public
override
int
Read
()
37
{
38
return
base
.Read();
39
}
40
41
// Token: 0x060029EF RID: 10735 RVA: 0x0005B300 File Offset: 0x00059500
42
public
override
int
Read
([In] [Out]
char
[]
dest_buffer
,
int
index
,
int
count
)
43
{
44
int
num = 1;
45
if
(
dest_buffer
!=
null
)
46
{
47
if
(num == 0)
48
{
49
}
50
return
base
.Read();
51
}
52
return
"index"
;
53
}
54
55
// Token: 0x060029F0 RID: 10736 RVA: 0x0005B328 File Offset: 0x00059528
56
private
bool
CheckEOL
(
char
current)
57
{
58
if
(!
true
)
59
{
60
}
61
if
(
Environment
.
NewLine
[(
int
)current] ==
'\0'
)
62
{
63
return
;
64
}
65
}
66
67
// Token: 0x060029F1 RID: 10737 RVA: 0x0005B350 File Offset: 0x00059550
68
public
override
string
ReadLine
()
69
{
70
return
base
.ReadLine();
71
}
72
73
// Token: 0x060029F2 RID: 10738 RVA: 0x0005B36C File Offset: 0x0005956C
74
public
override
string
ReadToEnd
()
75
{
76
return
base
.ReadToEnd();
77
}
78
79
// Token: 0x04001687 RID: 5767
80
private
static
bool
[]
newline
;
81
82
// Token: 0x04001688 RID: 5768
83
private
static
char
newlineChar
;
84
}
85
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Environment.NewLine
static string NewLine
Definition
Environment.cs:90
System.Environment
Definition
Environment.cs:17
System.IO.StreamReader
Definition
StreamReader.cs:12
System.IO.Stream
Definition
Stream.cs:15
System.IO.UnexceptionalStreamReader.UnexceptionalStreamReader
UnexceptionalStreamReader(Stream stream, Encoding encoding)
Definition
UnexceptionalStreamReader.cs:21
System.IO.UnexceptionalStreamReader.ReadLine
override string ReadLine()
Definition
UnexceptionalStreamReader.cs:68
System.IO.UnexceptionalStreamReader.Read
override int Read([In][Out] char[] dest_buffer, int index, int count)
Definition
UnexceptionalStreamReader.cs:42
System.IO.UnexceptionalStreamReader.Read
override int Read()
Definition
UnexceptionalStreamReader.cs:36
System.IO.UnexceptionalStreamReader.newline
static bool[] newline
Definition
UnexceptionalStreamReader.cs:80
System.IO.UnexceptionalStreamReader.UnexceptionalStreamReader
static UnexceptionalStreamReader()
Definition
UnexceptionalStreamReader.cs:11
System.IO.UnexceptionalStreamReader.Peek
override int Peek()
Definition
UnexceptionalStreamReader.cs:30
System.IO.UnexceptionalStreamReader.CheckEOL
bool CheckEOL(char current)
Definition
UnexceptionalStreamReader.cs:56
System.IO.UnexceptionalStreamReader.ReadToEnd
override string ReadToEnd()
Definition
UnexceptionalStreamReader.cs:74
System.IO.UnexceptionalStreamReader.newlineChar
static char newlineChar
Definition
UnexceptionalStreamReader.cs:83
System.IO.UnexceptionalStreamReader
Definition
UnexceptionalStreamReader.cs:9
System.Text.Encoding
Definition
Encoding.cs:15
System.IO
Definition
__Error.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Text
Definition
ASCIIEncoding.cs:7
System.ExceptionArgument.index
@ index
System.ExceptionArgument.count
@ count
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
IO
UnexceptionalStreamReader.cs
Generated by
1.10.0