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
BinaryFacetsChecker.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml.Schema
5{
6 // Token: 0x02000127 RID: 295
8 {
9 // Token: 0x06000A05 RID: 2565 RVA: 0x0001CCA4 File Offset: 0x0001AEA4
10 internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
11 {
12 while (value == null || value != null)
13 {
14 }
15 throw new InvalidCastException();
16 }
17
18 // Token: 0x06000A06 RID: 2566 RVA: 0x0001CCBC File Offset: 0x0001AEBC
19 internal override Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
20 {
21 /*
22An exception occurred when decompiling this method (06000A06)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.Xml.Schema.BinaryFacetsChecker::CheckValueFacets(System.Byte[],System.Xml.Schema.XmlSchemaDatatype)
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 IL_0000:
29 brtrue(IL_0000, logicnot:bool(ldloc:XmlSchemaDatatype[exp:bool](datatype)))
30}
31
32 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
33 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
34 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
35 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
36 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
37 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
38 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
39 --- End of inner exception stack trace ---
40 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
41 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
42*/;
43 }
44
45 // Token: 0x06000A07 RID: 2567 RVA: 0x0001CCCC File Offset: 0x0001AECC
46 internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
47 {
48 if (value != null && value == null)
49 {
50 throw new InvalidCastException();
51 }
52 bool flag;
53 return flag;
54 }
55
56 // Token: 0x06000A08 RID: 2568 RVA: 0x0001CCE8 File Offset: 0x0001AEE8
58 {
59 if (enumeration == null || enumeration == null)
60 {
61 }
62 if (datatype != null)
63 {
64 }
65 throw new InvalidCastException();
66 }
67
68 // Token: 0x06000A09 RID: 2569 RVA: 0x0001CD0C File Offset: 0x0001AF0C
70 {
71 }
72 }
73}
class f__AnonymousType0<< Count > j__TPar
override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
override Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
bool MatchEnumeration(byte[] value, ArrayList enumeration, XmlSchemaDatatype datatype)