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
ClaimsIdentity.cs
Go to the documentation of this file.
1using System;
10using Cpp2IlInjected;
11
13{
14 // Token: 0x0200032E RID: 814
15 [ComVisible(true)]
18 {
19 // Token: 0x06001B7B RID: 7035 RVA: 0x0003B018 File Offset: 0x00039218
21 {
22 }
23
24 // Token: 0x06001B7C RID: 7036 RVA: 0x0003B028 File Offset: 0x00039228
28
29 // Token: 0x06001B7D RID: 7037 RVA: 0x0003B038 File Offset: 0x00039238
31 {
32 }
33
34 // Token: 0x06001B7E RID: 7038 RVA: 0x0003B048 File Offset: 0x00039248
36 {
37 this.m_nameType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name";
38 this.m_roleType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role";
39 this.m_version = "1.0";
40 base..ctor();
41 if (identity != null)
42 {
43 bool flag = string.IsNullOrEmpty(authenticationType);
44 return;
45 }
47 }
48
49 // Token: 0x06001B7F RID: 7039 RVA: 0x0003B0D0 File Offset: 0x000392D0
51 {
52 do
53 {
54 this.m_nameType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name";
55 this.m_roleType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role";
56 this.m_version = "1.0";
57 base..ctor();
58 }
59 while (other == null);
61 if (actor != null)
62 {
64 }
65 string label = other.m_label;
66 this.m_label = label;
67 if (other.m_userSerializationData != null)
68 {
69 object obj;
71 }
72 List<Claim> instanceClaims = other.m_instanceClaims;
73 this.SafeAddClaims(instanceClaims);
74 }
75
76 // Token: 0x06001B80 RID: 7040 RVA: 0x0003B144 File Offset: 0x00039344
78 {
79 do
80 {
81 this.m_nameType = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name";
82 this.m_roleType = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role";
83 this.m_version = "1.0";
84 base..ctor();
85 }
86 while (info == null);
87 }
88
89 // Token: 0x1700031A RID: 794
90 // (get) Token: 0x06001B81 RID: 7041 RVA: 0x0003B17C File Offset: 0x0003937C
91 public virtual string AuthenticationType
92 {
93 get
94 {
95 return this.m_authenticationType;
96 }
97 }
98
99 // Token: 0x1700031B RID: 795
100 // (get) Token: 0x06001B82 RID: 7042 RVA: 0x0003B190 File Offset: 0x00039390
101 // (set) Token: 0x06001B83 RID: 7043 RVA: 0x0003B1A4 File Offset: 0x000393A4
103 {
104 get
105 {
106 return this.m_actor;
107 }
108 set
109 {
110 if (value != null && value.m_actor != null)
111 {
112 string resourceString = Environment.GetResourceString("Actor cannot be set so that circular directed graph will exist chaining the subjects together.");
113 }
114 }
115 }
116
117 // Token: 0x1700031C RID: 796
118 // (get) Token: 0x06001B84 RID: 7044 RVA: 0x0003B1C8 File Offset: 0x000393C8
119 public virtual IEnumerable<Claim> Claims
120 {
121 get
122 {
123 /*
124An exception occurred when decompiling this method (06001B84)
125
126ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerable`1<System.Security.Claims.Claim> System.Security.Claims.ClaimsIdentity::get_Claims()
127
128 ---> System.Exception: Basic block has to end with unconditional control flow.
129{
130 Block_0:
131 stloc:int32(var_1_07, callgetter:int32(Environment::get_CurrentManagedThreadId))
132}
133
134 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
135 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
136 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
137 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
138 --- End of inner exception stack trace ---
139 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
140 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
141*/;
142 }
143 }
144
145 // Token: 0x1700031D RID: 797
146 // (get) Token: 0x06001B85 RID: 7045 RVA: 0x0003B1DC File Offset: 0x000393DC
147 public virtual string Name
148 {
149 get
150 {
151 do
152 {
153 string nameType = this.m_nameType;
154 }
155 while (this == null);
156 return this.m_nameType;
157 }
158 }
159
160 // Token: 0x1700031E RID: 798
161 // (get) Token: 0x06001B86 RID: 7046 RVA: 0x0003B1FC File Offset: 0x000393FC
162 public string NameClaimType
163 {
164 get
165 {
166 return this.m_nameType;
167 }
168 }
169
170 // Token: 0x06001B87 RID: 7047 RVA: 0x0003B210 File Offset: 0x00039410
171 public virtual ClaimsIdentity Clone()
172 {
173 /*
174An exception occurred when decompiling this method (06001B87)
175
176ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.Claims.ClaimsIdentity System.Security.Claims.ClaimsIdentity::Clone()
177
178 ---> System.Exception: Basic block has to end with unconditional control flow.
179{
180 Block_1:
181 stloc:string(var_3_2A, call:string(Environment::GetResourceString, ldstr:string("Actor cannot be set so that circular directed graph will exist chaining the subjects together.")))
182}
183
184 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
185 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
186 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
187 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
188 --- End of inner exception stack trace ---
189 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
190 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
191*/;
192 }
193
194 // Token: 0x06001B88 RID: 7048 RVA: 0x0000207A File Offset: 0x0000027A
195 public virtual void AddClaim(Claim claim)
196 {
197 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
198 }
199
200 // Token: 0x06001B89 RID: 7049 RVA: 0x0000207A File Offset: 0x0000027A
202 {
203 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
204 }
205
206 // Token: 0x06001B8A RID: 7050 RVA: 0x0000207A File Offset: 0x0000027A
208 {
209 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
210 }
211
212 // Token: 0x06001B8B RID: 7051 RVA: 0x0003B248 File Offset: 0x00039448
213 public virtual Claim FindFirst(string type)
214 {
215 if (type != null)
216 {
217 while (this == null)
218 {
219 }
221 long num;
222 if (this == null)
223 {
224 num = 0L;
225 if (this != null)
226 {
227 }
228 }
229 if (num == 0L)
230 {
231 }
232 }
233 throw new OutOfMemoryException();
234 }
235
236 // Token: 0x06001B8C RID: 7052 RVA: 0x0003B284 File Offset: 0x00039484
237 [OnSerializing]
239 {
240 if (this == null)
241 {
242 string text = this.SerializeClaims();
244 }
245 }
246
247 // Token: 0x06001B8D RID: 7053 RVA: 0x0003B2A4 File Offset: 0x000394A4
248 [OnDeserialized]
250 {
251 if (this == null)
252 {
253 bool flag = string.IsNullOrEmpty(this.m_serializedClaims);
255 this.DeserializeClaims(serializedClaims);
256 bool flag2 = string.IsNullOrEmpty(this.m_serializedNameType);
257 bool flag3 = string.IsNullOrEmpty(this.m_serializedRoleType);
258 }
259 }
260
261 // Token: 0x06001B8E RID: 7054 RVA: 0x0003B2E8 File Offset: 0x000394E8
262 [OnDeserializing]
264 {
265 if (this == null)
266 {
267 }
268 }
269
270 // Token: 0x06001B8F RID: 7055 RVA: 0x0003B2F8 File Offset: 0x000394F8
271 protected virtual void GetObjectData(SerializationInfo info, StreamingContext context)
272 {
273 if (info == null)
274 {
275 throw new OutOfMemoryException();
276 }
277 string version = this.m_version;
278 info.AddValue("System.Security.ClaimsIdentity.version", version);
279 bool flag = string.IsNullOrEmpty(this.m_authenticationType);
281 info.AddValue("System.Security.ClaimsIdentity.authenticationType", authenticationType);
282 string nameType = this.m_nameType;
283 info.AddValue("System.Security.ClaimsIdentity.nameClaimType", nameType);
284 string roleType = this.m_roleType;
285 info.AddValue("System.Security.ClaimsIdentity.roleClaimType", roleType);
286 bool flag2 = string.IsNullOrEmpty(this.m_label);
287 string label = this.m_label;
288 info.AddValue("System.Security.ClaimsIdentity.label", label);
289 if (this.m_actor != null)
290 {
292 string text;
293 info.AddValue("System.Security.ClaimsIdentity.actor", text);
294 return;
295 }
296 string text2 = this.SerializeClaims();
297 info.AddValue("System.Security.ClaimsIdentity.claims", text2);
298 if (this.m_bootstrapContext != null)
299 {
301 string text3;
302 info.AddValue("System.Security.ClaimsIdentity.bootstrapContext", text3);
303 return;
304 }
305 }
306
307 // Token: 0x06001B90 RID: 7056 RVA: 0x0003B42C File Offset: 0x0003962C
309 {
310 bool flag = string.IsNullOrEmpty(serializedClaims);
312 object obj;
314 int size = this.m_instanceClaims._size;
315 if (size != 0)
316 {
317 }
318 }
319
320 // Token: 0x06001B91 RID: 7057 RVA: 0x0003B4A0 File Offset: 0x000396A0
321 private string SerializeClaims()
322 {
324 if (!false)
325 {
326 string text;
327 return text;
328 }
329 throw new OutOfMemoryException();
330 }
331
332 // Token: 0x06001B92 RID: 7058 RVA: 0x0003B4D4 File Offset: 0x000396D4
333 private bool IsCircular(ClaimsIdentity subject)
334 {
335 if (subject.m_actor != null)
336 {
337 return true;
338 }
339 }
340
341 // Token: 0x06001B93 RID: 7059 RVA: 0x0003B4EC File Offset: 0x000396EC
343 {
344 if (info != null)
345 {
346 return;
347 }
348 throw new OutOfMemoryException();
349 }
350
351 // Token: 0x04000E00 RID: 3584
354
355 // Token: 0x04000E01 RID: 3585
358
359 // Token: 0x04000E02 RID: 3586
362
363 // Token: 0x04000E03 RID: 3587
365 private string m_nameType;
366
367 // Token: 0x04000E04 RID: 3588
369 private string m_roleType;
370
371 // Token: 0x04000E05 RID: 3589
372 [OptionalField(VersionAdded = 2)]
373 private string m_version;
374
375 // Token: 0x04000E06 RID: 3590
376 [OptionalField(VersionAdded = 2)]
378
379 // Token: 0x04000E07 RID: 3591
380 [OptionalField(VersionAdded = 2)]
381 private string m_authenticationType;
382
383 // Token: 0x04000E08 RID: 3592
384 [OptionalField(VersionAdded = 2)]
385 private object m_bootstrapContext;
386
387 // Token: 0x04000E09 RID: 3593
388 [OptionalField(VersionAdded = 2)]
389 private string m_label;
390
391 // Token: 0x04000E0A RID: 3594
392 [OptionalField(VersionAdded = 2)]
393 private string m_serializedNameType;
394
395 // Token: 0x04000E0B RID: 3595
396 [OptionalField(VersionAdded = 2)]
397 private string m_serializedRoleType;
398
399 // Token: 0x04000E0C RID: 3596
400 [OptionalField(VersionAdded = 2)]
401 private string m_serializedClaims;
402
403 // Token: 0x0200032F RID: 815
406 {
407 // Token: 0x06001B94 RID: 7060 RVA: 0x0003B690 File Offset: 0x00039890
410 {
411 this.<>1__state = <>1__state;
413 this.<>l__initialThreadId = currentManagedThreadId;
414 }
415
416 // Token: 0x06001B95 RID: 7061 RVA: 0x0003B6BC File Offset: 0x000398BC
418 void IDisposable.Dispose()
419 {
420 int num = this.<>1__state;
421 this.<>m__Finally1();
422 }
423
424 // Token: 0x06001B96 RID: 7062 RVA: 0x0003B6D8 File Offset: 0x000398D8
425 private bool MoveNext()
426 {
427 int num = this.<>1__state;
429 long num2;
430 if (num == 0)
431 {
432 num2 = 0L;
433 this.<>1__state = num;
434 int num3 = this.<i>5__2;
435 this.<i>5__2 = (int)num2;
436 List<Claim> instanceClaims = claimsIdentity.m_instanceClaims;
437 int size = instanceClaims._size;
438 if (claimsIdentity.m_externalClaims == null)
439 {
440 throw new OutOfMemoryException();
441 }
442 IEnumerator<Claim> enumerator = this.<>7__wrap2;
443 this.<>1__state = instanceClaims;
444 }
445 if (claimsIdentity.m_externalClaims[(int)num2] != null)
446 {
447 IEnumerable<Claim> enumerable = claimsIdentity.m_externalClaims[(int)num2];
448 }
449 int count = claimsIdentity.m_externalClaims.Count;
450 throw new OutOfMemoryException();
451 }
452
453 // Token: 0x06001B97 RID: 7063 RVA: 0x0003B77C File Offset: 0x0003997C
454 private void <>m__Finally1()
455 {
456 int num = 1;
457 IEnumerator<Claim> enumerator = this.<>7__wrap2;
458 this.<>1__state = num;
459 if (enumerator != null)
460 {
461 return;
462 }
463 }
464
465 // Token: 0x1700031F RID: 799
466 // (get) Token: 0x06001B98 RID: 7064 RVA: 0x0003B7A0 File Offset: 0x000399A0
468 {
470 get
471 {
472 return this.<>2__current;
473 }
474 }
475
476 // Token: 0x06001B99 RID: 7065 RVA: 0x0000207A File Offset: 0x0000027A
478 void IEnumerator.Reset()
479 {
480 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
481 }
482
483 // Token: 0x17000320 RID: 800
484 // (get) Token: 0x06001B9A RID: 7066 RVA: 0x0003B7B4 File Offset: 0x000399B4
486 {
488 get
489 {
490 /*
491An exception occurred when decompiling this method (06001B9A)
492
493ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Security.Claims.ClaimsIdentity/<get_Claims>d__51::System.Collections.IEnumerator.get_Current()
494
495 ---> System.Exception: Basic block has to end with unconditional control flow.
496{
497 Block_0:
498 stloc:Claim(var_0_06, ldfld:Claim('<get_Claims>d__51'::<>2__current, ldloc:'<get_Claims>d__51'(this)))
499}
500
501 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
502 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
503 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
504 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
505 --- End of inner exception stack trace ---
506 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
507 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
508*/;
509 }
510 }
511
512 // Token: 0x06001B9B RID: 7067 RVA: 0x0003B7C8 File Offset: 0x000399C8
515 {
516 /*
517An exception occurred when decompiling this method (06001B9B)
518
519ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<System.Security.Claims.Claim> System.Security.Claims.ClaimsIdentity/<get_Claims>d__51::System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>.GetEnumerator()
520
521 ---> System.Exception: Basic block has to end with unconditional control flow.
522{
523 Block_0:
524 stloc:int32(var_0_06, ldfld:int32('<get_Claims>d__51'::<>1__state, ldloc:'<get_Claims>d__51'(this)))
525 stloc:int32(var_1_0D, ldfld:int32('<get_Claims>d__51'::<>l__initialThreadId, ldloc:'<get_Claims>d__51'(this)))
526 stloc:int32(var_3_15, callgetter:int32(Environment::get_CurrentManagedThreadId))
527 stloc:int32(var_5_1E, callgetter:int32(Environment::get_CurrentManagedThreadId))
528 stloc:ClaimsIdentity(var_6_26, ldfld:ClaimsIdentity('<get_Claims>d__51'::<>4__this, ldloc:'<get_Claims>d__51'(this)))
529}
530
531 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
532 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
533 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
534 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
535 --- End of inner exception stack trace ---
536 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
537 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
538*/;
539 }
540
541 // Token: 0x06001B9C RID: 7068 RVA: 0x0003B7FC File Offset: 0x000399FC
544 {
545 /*
546An exception occurred when decompiling this method (06001B9C)
547
548ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator System.Security.Claims.ClaimsIdentity/<get_Claims>d__51::System.Collections.IEnumerable.GetEnumerator()
549
550 ---> System.Exception: Basic block has to end with unconditional control flow.
551{
552 Block_0:
553 stloc:class System.Collections.Generic.IEnumerator`1<class System.Security.Claims.Claim>(var_0_06, call:IEnumerator`1[exp:class System.Collections.Generic.IEnumerator`1<class System.Security.Claims.Claim>]('<get_Claims>d__51'::System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>.GetEnumerator, ldloc:'<get_Claims>d__51'(this)))
554}
555
556 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
557 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
558 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
559 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
560 --- End of inner exception stack trace ---
561 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
562 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
563*/;
564 }
565
566 // Token: 0x04000E0D RID: 3597
567 private int <>1__state;
568
569 // Token: 0x04000E0E RID: 3598
570 private Claim <>2__current;
571
572 // Token: 0x04000E0F RID: 3599
573 private int <>l__initialThreadId;
574
575 // Token: 0x04000E10 RID: 3600
577
578 // Token: 0x04000E11 RID: 3601
579 private int <i>5__2;
580
581 // Token: 0x04000E12 RID: 3602
582 private IEnumerator<Claim> <>7__wrap2;
583 }
584 }
585}
class f__AnonymousType0<< Count > j__TPar
static byte[] FromBase64String(string s)
Definition Convert.cs:2736
static string GetResourceString(string key)
static int CurrentManagedThreadId
void AddValue(string name, object value, Type type)
void OnDeserializingMethod(StreamingContext context)
void OnSerializingMethod(StreamingContext context)
void SafeAddClaims(IEnumerable< Claim > claims)
ClaimsIdentity(IIdentity identity, IEnumerable< Claim > claims, string authenticationType, string nameType, string roleType)
ClaimsIdentity(SerializationInfo info, StreamingContext context)
void OnDeserializedMethod(StreamingContext context)
ClaimsIdentity(IEnumerable< Claim > claims)
virtual void AddClaim(Claim claim)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
bool IsCircular(ClaimsIdentity subject)
void Deserialize(SerializationInfo info, StreamingContext context, bool useContext)
Collection< IEnumerable< Claim > > m_externalClaims
virtual Claim FindFirst(string type)
void DeserializeClaims(string serializedClaims)
ClaimsIdentity(IIdentity identity, IEnumerable< Claim > claims, string authenticationType, string nameType, string roleType, bool checkAuthType)