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
RandomNumberGenerator.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020002E9 RID: 745
8 [ComVisible(true)]
9 public abstract class RandomNumberGenerator : IDisposable
10 {
11 // Token: 0x060018FE RID: 6398 RVA: 0x00035988 File Offset: 0x00033B88
13 {
14 }
15
16 // Token: 0x060018FF RID: 6399 RVA: 0x0000207A File Offset: 0x0000027A
18 {
19 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
20 }
21
22 // Token: 0x06001900 RID: 6400 RVA: 0x0003599C File Offset: 0x00033B9C
23 public static RandomNumberGenerator Create(string rngName)
24 {
25 if (!true)
26 {
27 }
28 object obj;
29 if (obj != null)
30 {
31 }
32 throw new InvalidCastException();
33 }
34
35 // Token: 0x06001901 RID: 6401 RVA: 0x000359B4 File Offset: 0x00033BB4
36 public void Dispose()
37 {
38 GC.SuppressFinalize(this);
39 }
40
41 // Token: 0x06001902 RID: 6402 RVA: 0x000359C8 File Offset: 0x00033BC8
42 protected virtual void Dispose(bool disposing)
43 {
44 }
45
46 // Token: 0x06001903 RID: 6403
47 public abstract void GetBytes(byte[] data);
48
49 // Token: 0x06001904 RID: 6404 RVA: 0x000359D8 File Offset: 0x00033BD8
50 public virtual void GetBytes(byte[] data, int offset, int count)
51 {
52 if (data != null)
53 {
54 return;
55 }
56 string resourceString = Environment.GetResourceString("Non-negative number required.");
57 }
58
59 // Token: 0x06001905 RID: 6405 RVA: 0x0000207A File Offset: 0x0000027A
60 public virtual void GetNonZeroBytes(byte[] data)
61 {
62 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
63 }
64
65 // Token: 0x06001906 RID: 6406 RVA: 0x00035A10 File Offset: 0x00033C10
66 public static void Fill(Span<byte> data)
67 {
69 }
70
71 // Token: 0x06001907 RID: 6407 RVA: 0x00035A24 File Offset: 0x00033C24
72 internal static void FillSpan(Span<byte> data)
73 {
74 }
75
76 // Token: 0x06001908 RID: 6408 RVA: 0x00035A34 File Offset: 0x00033C34
77 public virtual void GetBytes(Span<byte> data)
78 {
79 int num = 1;
80 if (num == 0)
81 {
82 }
83 if (num == 0)
84 {
85 }
86 if (this != null)
87 {
89 return;
90 }
92 }
93
94 // Token: 0x06001909 RID: 6409 RVA: 0x00035A60 File Offset: 0x00033C60
95 public virtual void GetNonZeroBytes(Span<byte> data)
96 {
97 int num = 1;
98 if (num == 0)
99 {
100 }
101 if (num == 0)
102 {
103 }
105 }
106
107 // Token: 0x0600190A RID: 6410 RVA: 0x00035A8C File Offset: 0x00033C8C
108 public static int GetInt32(int fromInclusive, int toExclusive)
109 {
110 return fromInclusive;
111 }
112
113 // Token: 0x0600190B RID: 6411 RVA: 0x00035A9C File Offset: 0x00033C9C
114 public static int GetInt32(int toExclusive)
115 {
117 }
118 }
119}
class f__AnonymousType0<< Count > j__TPar
static string GetResourceString(string key)
static void SuppressFinalize(object obj)
Definition GC.cs:116
static RandomNumberGenerator Create(string rngName)
virtual void GetBytes(byte[] data, int offset, int count)
static int GetInt32(int fromInclusive, int toExclusive)
static void ThrowArgumentOutOfRangeException()