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
CustomAttributeExtensions.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Reflection
6{
7 // Token: 0x020004FB RID: 1275
8 public static class CustomAttributeExtensions
9 {
10 // Token: 0x060024F3 RID: 9459 RVA: 0x00051C04 File Offset: 0x0004FE04
12 {
13 Attribute attribute;
14 return attribute;
15 }
16
17 // Token: 0x060024F4 RID: 9460 RVA: 0x00051C14 File Offset: 0x0004FE14
18 public static T GetCustomAttribute<T>(this Assembly element) where T : Attribute
19 {
20 Attribute attribute;
21 while (attribute != null)
22 {
23 if (attribute == null)
24 {
25 throw new InvalidCastException();
26 }
27 }
28 }
29
30 // Token: 0x060024F5 RID: 9461 RVA: 0x0000207A File Offset: 0x0000027A
32 {
33 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
34 }
35
36 // Token: 0x060024F6 RID: 9462 RVA: 0x00051C30 File Offset: 0x0004FE30
38 {
40 do
41 {
42 Type type;
44 if (customAttributes == null)
45 {
46 return;
47 }
48 }
49 while (customAttributes != null);
50 throw new InvalidCastException();
51 }
52
53 // Token: 0x060024F7 RID: 9463 RVA: 0x00051C54 File Offset: 0x0004FE54
54 public static bool IsDefined(this MemberInfo element, Type attributeType)
55 {
56 bool flag;
57 return flag;
58 }
59 }
60}
class f__AnonymousType0<< Count > j__TPar
static T GetCustomAttribute< T >(this Assembly element)
static bool IsDefined(this MemberInfo element, Type attributeType)
static Attribute GetCustomAttribute(this Assembly element, Type attributeType)
static IEnumerable< T > GetCustomAttributes< T >(this MemberInfo element)
static IEnumerable< Attribute > GetCustomAttributes(this MemberInfo element, Type attributeType)