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
StringFacetsChecker.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Xml.Schema
7{
8 // Token: 0x02000124 RID: 292
10 {
11 // Token: 0x170002AE RID: 686
12 // (get) Token: 0x060009F7 RID: 2551 RVA: 0x00003FFD File Offset: 0x000021FD
13 private static Regex LanguagePattern
14 {
15 get
16 {
17 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18 }
19 }
20
21 // Token: 0x060009F8 RID: 2552 RVA: 0x0001CB38 File Offset: 0x0001AD38
22 internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
23 {
24 Exception ex;
25 return ex;
26 }
27
28 // Token: 0x060009F9 RID: 2553 RVA: 0x0001CB48 File Offset: 0x0001AD48
29 internal override Exception CheckValueFacets(string value, XmlSchemaDatatype datatype)
30 {
31 return this.CheckValueFacets(value, datatype, true);
32 }
33
34 // Token: 0x060009FA RID: 2554 RVA: 0x0001CB60 File Offset: 0x0001AD60
36 {
37 /*
38An exception occurred when decompiling this method (060009FA)
39
40ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.Xml.Schema.StringFacetsChecker::CheckValueFacets(System.String,System.Xml.Schema.XmlSchemaDatatype,System.Boolean)
41
42 ---> System.Exception: Basic block has to end with unconditional control flow.
43{
44 Block_0:
45 brtrue(IL_0000, logicnot:bool(ldloc:int64[exp:bool](var_1_0B)))
46}
47
48 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
49 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
50 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
51 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
52 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
53 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
54 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
55 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
56 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
57 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
58 --- End of inner exception stack trace ---
59 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
60 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
61*/;
62 }
63
64 // Token: 0x060009FB RID: 2555 RVA: 0x0001CB80 File Offset: 0x0001AD80
65 internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
66 {
67 bool flag;
68 return flag;
69 }
70
71 // Token: 0x060009FC RID: 2556 RVA: 0x0001CB90 File Offset: 0x0001AD90
73 {
74 if (enumeration != null)
75 {
76 }
77 string text;
78 bool flag = value.Equals(text);
79 if (enumeration != null)
80 {
81 }
82 throw new InvalidCastException();
83 }
84
85 // Token: 0x060009FD RID: 2557 RVA: 0x0001CBC0 File Offset: 0x0001ADC0
86 private Exception CheckBuiltInFacets(string s, XmlTypeCode typeCode, bool verifyUri)
87 {
88 return "'{0}' is an invalid language identifier.";
89 }
90
91 // Token: 0x060009FE RID: 2558 RVA: 0x0001CC08 File Offset: 0x0001AE08
93 {
94 }
95
96 // Token: 0x04000511 RID: 1297
97 private static Regex languagePattern;
98 }
99}
class f__AnonymousType0<< Count > j__TPar
Exception CheckBuiltInFacets(string s, XmlTypeCode typeCode, bool verifyUri)
override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
override Exception CheckValueFacets(string value, XmlSchemaDatatype datatype)
Exception CheckValueFacets(string value, XmlSchemaDatatype datatype, bool verifyUri)
override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
bool MatchEnumeration(string value, ArrayList enumeration, XmlSchemaDatatype datatype)