| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,7 +89,6 @@ static TypeOffset() | |||
| 89 | 89 | internal static class ManagedDataOffsets | |
| 90 | 90 | { | |
| 91 | 91 | public static int Magic { get; private set; } | |
| 92 | - public static readonly Dictionary<string, int> NameMapping = new Dictionary<string, int>(); | ||
| 93 | 92 | ||
| 94 | 93 | static class DataOffsets | |
| 95 | 94 | { | |
@@ -108,11 +107,6 @@ static DataOffsets() | |||
| 108 | 107 | ||
| 109 | 108 | static ManagedDataOffsets() | |
| 110 | 109 | { | |
| 111 | - Type type = typeof(TypeOffset); | ||
| 112 | - foreach (FieldInfo fi in type.GetFields()) | ||
| 113 | - { | ||
| 114 | - NameMapping[fi.Name] = (int)fi.GetValue(null); | ||
| 115 | - } | ||
| 116 | 110 | Magic = TypeOffset.members; | |
| 117 | 111 | FieldInfo[] fields = typeof(DataOffsets).GetFields(BindingFlags.Static | BindingFlags.Public); | |
| 118 | 112 | size = fields.Length * IntPtr.Size; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments