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
DirectoryInfo.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
System.Runtime.Serialization
;
4
5
namespace
System.IO
6
{
7
// Token: 0x0200054B RID: 1355
8
[
Serializable
]
9
public
sealed
class
DirectoryInfo
:
FileSystemInfo
10
{
11
// Token: 0x06002844 RID: 10308 RVA: 0x000576DC File Offset: 0x000558DC
12
public
DirectoryInfo
(
string
path)
13
{
14
if
(!
true
)
15
{
16
}
17
string
fullPath
=
Path
.
GetFullPath
(path);
18
}
19
20
// Token: 0x06002845 RID: 10309 RVA: 0x000576FC File Offset: 0x000558FC
21
internal
DirectoryInfo
(
string
originalPath
, [Optional]
string
fullPath
, [Optional]
string
fileName,
bool
isNormalized
=
false
)
22
{
23
this.
Init
(originalPath,
fullPath
, fileName,
isNormalized
);
24
}
25
26
// Token: 0x06002846 RID: 10310 RVA: 0x0005771C File Offset: 0x0005591C
27
private
void
Init
(
string
originalPath
, [Optional]
string
fullPath
, [Optional]
string
fileName,
bool
isNormalized
=
false
)
28
{
29
while
(
originalPath
==
null
)
30
{
31
}
32
this.OriginalPath
=
originalPath
;
33
if
(!
true
)
34
{
35
}
36
string
fullPath2
=
Path
.
GetFullPath
(
fullPath
);
37
if
(fileName !=
null
)
38
{
39
ReadOnlySpan<char>
readOnlySpan
;
40
this._name
=
readOnlySpan
;
41
this.FullPath
=
fullPath
;
42
return
;
43
}
44
if
(
fullPath
!=
null
)
45
{
46
char
rawStringData
=
fullPath
.GetRawStringData();
47
int
stringLength
=
fullPath
._stringLength;
48
return
;
49
}
50
if
(!
true
)
51
{
52
}
53
if
(
fullPath
!=
null
)
54
{
55
char
rawStringData2
=
fullPath
.GetRawStringData();
56
int
stringLength2
=
fullPath
._stringLength;
57
return
;
58
}
59
}
60
61
// Token: 0x06002847 RID: 10311 RVA: 0x000577A8 File Offset: 0x000559A8
62
public
void
Create
()
63
{
64
FileSystem
.
CreateDirectory
(this.
FullPath
);
65
}
66
67
// Token: 0x06002848 RID: 10312 RVA: 0x000577C0 File Offset: 0x000559C0
68
private
DirectoryInfo
(
SerializationInfo
info
,
StreamingContext
context)
69
:
base
(
info
, context)
70
{
71
}
72
}
73
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.IO.DirectoryInfo.Create
void Create()
Definition
DirectoryInfo.cs:62
System.IO.DirectoryInfo.DirectoryInfo
DirectoryInfo(string originalPath, [Optional] string fullPath, [Optional] string fileName, bool isNormalized=false)
Definition
DirectoryInfo.cs:21
System.IO.DirectoryInfo.Init
void Init(string originalPath, [Optional] string fullPath, [Optional] string fileName, bool isNormalized=false)
Definition
DirectoryInfo.cs:27
System.IO.DirectoryInfo.DirectoryInfo
DirectoryInfo(SerializationInfo info, StreamingContext context)
Definition
DirectoryInfo.cs:68
System.IO.DirectoryInfo.DirectoryInfo
DirectoryInfo(string path)
Definition
DirectoryInfo.cs:12
System.IO.DirectoryInfo
Definition
DirectoryInfo.cs:10
System.IO.FileSystemInfo.FullPath
string FullPath
Definition
FileSystemInfo.cs:356
System.IO.FileSystemInfo
Definition
FileSystemInfo.cs:10
System.IO.FileSystem.CreateDirectory
static void CreateDirectory(string fullPath)
Definition
FileSystem.cs:108
System.IO.FileSystem
Definition
FileSystem.cs:8
System.IO.Path.GetFullPath
static string GetFullPath(string path)
Definition
Path.cs:170
System.IO.Path
Definition
Path.cs:13
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.IO
Definition
__Error.cs:4
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.ReadOnlySpan
Definition
ReadOnlySpan.cs:15
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
IO
DirectoryInfo.cs
Generated by
1.10.0