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
MemoryMarshal.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
System.Runtime.InteropServices
5
{
6
// Token: 0x02000431 RID: 1073
7
public
static
class
MemoryMarshal
8
{
9
// Token: 0x06002151 RID: 8529 RVA: 0x0004BE74 File Offset: 0x0004A074
10
public
static
Span<byte>
AsBytes<T>
(
Span<T>
span
)
where
T
:
struct
11
{
12
throw
new
OverflowException
();
13
}
14
15
// Token: 0x06002152 RID: 8530 RVA: 0x0004BE94 File Offset: 0x0004A094
16
public
static
ReadOnlySpan<byte>
AsBytes<T>
(
ReadOnlySpan<T>
span
)
where
T
:
struct
17
{
18
throw
new
OverflowException
();
19
}
20
21
// Token: 0x06002153 RID: 8531 RVA: 0x0000207A File Offset: 0x0000027A
22
public
static
Memory<T>
AsMemory<T>
(
ReadOnlyMemory<T>
memory
)
23
{
24
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
25
}
26
27
// Token: 0x06002154 RID: 8532 RVA: 0x0000207A File Offset: 0x0000027A
28
public
static
T
GetReference<T>
(
Span<T>
span
)
29
{
30
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
31
}
32
33
// Token: 0x06002155 RID: 8533 RVA: 0x0000207A File Offset: 0x0000027A
34
public
static
T
GetReference<T>
(
ReadOnlySpan<T>
span
)
35
{
36
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
37
}
38
39
// Token: 0x06002156 RID: 8534 RVA: 0x0000207A File Offset: 0x0000027A
40
internal
static
T
GetNonNullPinnableReference<T>
(
Span<T>
span
)
41
{
42
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
43
}
44
45
// Token: 0x06002157 RID: 8535 RVA: 0x0000207A File Offset: 0x0000027A
46
internal
static
T
GetNonNullPinnableReference<T>
(
ReadOnlySpan<T>
span
)
47
{
48
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
49
}
50
51
// Token: 0x06002158 RID: 8536 RVA: 0x0000207A File Offset: 0x0000027A
52
public
static
ReadOnlySpan<T>
CreateReadOnlySpan<T>
(T
reference
,
int
length
)
53
{
54
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
55
}
56
57
// Token: 0x06002159 RID: 8537 RVA: 0x0004BEB4 File Offset: 0x0004A0B4
58
public
static
bool
TryGetArray<T>
(
ReadOnlyMemory<T>
memory
, [Out]
ArraySegment<T>
segment
)
59
{
60
if
(
memory
!=
null
)
61
{
62
}
63
long
num = 0
L
;
64
segment._array
= num;
65
segment._offset
=
memory
;
66
throw
new
InvalidCastException
();
67
}
68
}
69
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.OverflowException
Definition
OverflowException.cs:9
System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpan< T >
static ReadOnlySpan< T > CreateReadOnlySpan< T >(T reference, int length)
Definition
MemoryMarshal.cs:52
System.Runtime.InteropServices.MemoryMarshal.GetReference< T >
static T GetReference< T >(Span< T > span)
Definition
MemoryMarshal.cs:28
System.Runtime.InteropServices.MemoryMarshal.AsBytes< T >
static Span< byte > AsBytes< T >(Span< T > span)
Definition
MemoryMarshal.cs:10
System.Runtime.InteropServices.MemoryMarshal.GetNonNullPinnableReference< T >
static T GetNonNullPinnableReference< T >(Span< T > span)
Definition
MemoryMarshal.cs:40
System.Runtime.InteropServices.MemoryMarshal.AsMemory< T >
static Memory< T > AsMemory< T >(ReadOnlyMemory< T > memory)
Definition
MemoryMarshal.cs:22
System.Runtime.InteropServices.MemoryMarshal.TryGetArray< T >
static bool TryGetArray< T >(ReadOnlyMemory< T > memory, [Out] ArraySegment< T > segment)
Definition
MemoryMarshal.cs:58
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:8
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.length
@ length
System.ConsoleKey.T
@ T
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
System.ArraySegment
Definition
ArraySegment.cs:14
System.Memory
Definition
Memory.cs:12
System.ReadOnlyMemory
Definition
ReadOnlyMemory.cs:12
System.ReadOnlySpan
Definition
ReadOnlySpan.cs:15
System.Span
Definition
Span.cs:15
source
mscorlib
System
Runtime
InteropServices
MemoryMarshal.cs
Generated by
1.10.0