terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
StringReaderWrapExtension.cs
Go to the documentation of this file.
1using System;
4using System.IO;
5using System.Linq;
6using System.Text;
9
10namespace ReLogic.Text
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000B1A")]
13 internal static class StringReaderWrapExtension
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6005328")]
16 [global::Cpp2ILInjected.Address(RVA = "0x9418A4", Offset = "0x9418A4", Length = "0x78")]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Contains", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
19 {
21 typeof(object)
22 }, ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6005329")]
30 [global::Cpp2ILInjected.Address(RVA = "0x94191C", Offset = "0x94191C", Length = "0x1C")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 internal static bool IsIgnoredCharacter(char character)
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x600532A")]
39 [global::Cpp2ILInjected.Address(RVA = "0x941938", Offset = "0x941938", Length = "0x110")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringReaderWrapExtension), Member = "ReadUntilBreakable", MemberParameters = new object[]
42 {
45 }, ReturnType = typeof(string))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<>), Member = "Contains", MemberParameters = new object[] { "T" }, ReturnType = typeof(bool))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
49 internal static bool CanBreakBetween(char previousChar, char nextChar, CultureInfo culture)
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x600532B")]
55 [global::Cpp2ILInjected.Address(RVA = "0x941A48", Offset = "0x941A48", Length = "0x8C")]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringReaderWrapExtension), Member = "ReadUntilBreakable", MemberParameters = new object[]
58 {
61 }, ReturnType = typeof(string))]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600532C")]
70 [global::Cpp2ILInjected.Address(RVA = "0x94150C", Offset = "0x94150C", Length = "0x1AC")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WrappedTextBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringReaderWrapExtension), Member = "GetModeForCharacter", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(StringReaderWrapExtension.WrapScanMode))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringReaderWrapExtension), Member = "CanBreakBetween", MemberParameters = new object[]
78 {
79 typeof(char),
80 typeof(char),
82 }, ReturnType = typeof(bool))]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(StringBuilder))]
84 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
85 internal static string ReadUntilBreakable(this StringReader reader, CultureInfo culture)
86 {
87 throw null;
88 }
89
90 // Note: this type is marked as 'beforefieldinit'.
91 [global::Cpp2ILInjected.Token(Token = "0x600532D")]
92 [global::Cpp2ILInjected.Address(RVA = "0x941AD4", Offset = "0x941AD4", Length = "0x830")]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<>), Member = ".ctor", ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<>), Member = "Add", MemberParameters = new object[] { "T" }, ReturnType = typeof(bool))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 39)]
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x4008B00")]
105
106 [global::Cpp2ILInjected.Token(Token = "0x4008B01")]
108
109 [global::Cpp2ILInjected.Token(Token = "0x4008B02")]
111
112 [global::Cpp2ILInjected.Token(Token = "0x4008B03")]
114
115 [global::Cpp2ILInjected.Token(Token = "0x2000B1B")]
116 internal enum WrapScanMode
117 {
118 [global::Cpp2ILInjected.Token(Token = "0x4008B05")]
119 Space,
120 [global::Cpp2ILInjected.Token(Token = "0x4008B06")]
121 NewLine,
122 [global::Cpp2ILInjected.Token(Token = "0x4008B07")]
123 Word,
124 [global::Cpp2ILInjected.Token(Token = "0x4008B08")]
125 None
126 }
127 }
128}
class f__AnonymousType0<< Count > j__TPar
static bool CanBreakBetween(char previousChar, char nextChar, CultureInfo culture)
static StringReaderWrapExtension.WrapScanMode GetModeForCharacter(char character)
static readonly HashSet< char > InvalidCharactersForLineEnd
static bool IsCultureSupported(CultureInfo culture)
static string ReadUntilBreakable(this StringReader reader, CultureInfo culture)
static readonly HashSet< char > InvalidCharactersForLineStart