1 | // Licensed to the .NET Foundation under one or more agreements. |
2 | // The .NET Foundation licenses this file to you under the MIT license. |
3 | // See the LICENSE file in the project root for more information. |
4 | |
5 | // |
6 | |
7 | #include "stdafx.h" |
8 | |
9 | const BYTE CMiniMdBase::s_ModuleCol[] = {2, |
10 | 97,0,2, 101,2,2, 102,4,2, 102,6,2, 102,8,2, |
11 | 97,0,2, 101,2,4, 102,6,2, 102,8,2, 102,10,2, |
12 | }; |
13 | const BYTE CMiniMdBase::s_TypeRefCol[] = {2, |
14 | 75,0,2, 101,2,2, 101,4,2, |
15 | 75,0,2, 101,2,4, 101,6,4, |
16 | }; |
17 | const BYTE CMiniMdBase::s_TypeDefCol[] = {2, |
18 | 99,0,4, 101,4,2, 101,6,2, 64,8,2, 4,10,2, 6,12,2, |
19 | 99,0,4, 101,4,4, 101,8,4, 64,12,2, 4,14,2, 6,16,2, |
20 | }; |
21 | const BYTE CMiniMdBase::s_FieldPtrCol[] = {1, |
22 | 4,0,2, |
23 | }; |
24 | const BYTE CMiniMdBase::s_FieldCol[] = {3, |
25 | 97,0,2, 101,2,2, 103,4,2, |
26 | 97,0,2, 101,2,4, 103,6,4, |
27 | 97,0,2, 101,2,4, 103,6,2, |
28 | }; |
29 | const BYTE CMiniMdBase::s_MethodPtrCol[] = {1, |
30 | 6,0,2, |
31 | }; |
32 | const BYTE CMiniMdBase::s_MethodCol[] = {3, |
33 | 99,0,4, 97,4,2, 97,6,2, 101,8,2, 103,10,2, 8,12,2, |
34 | 99,0,4, 97,4,2, 97,6,2, 101,8,4, 103,12,4, 8,16,2, |
35 | 99,0,4, 97,4,2, 97,6,2, 101,8,4, 103,12,2, 8,14,2, |
36 | }; |
37 | const BYTE CMiniMdBase::s_ParamPtrCol[] = {1, |
38 | 8,0,2, |
39 | }; |
40 | const BYTE CMiniMdBase::s_ParamCol[] = {2, |
41 | 97,0,2, 97,2,2, 101,4,2, |
42 | 97,0,2, 97,2,2, 101,4,4, |
43 | }; |
44 | const BYTE CMiniMdBase::s_InterfaceImplCol[] = {1, |
45 | 2,0,2, 64,2,2, |
46 | }; |
47 | const BYTE CMiniMdBase::s_MemberRefCol[] = {3, |
48 | 69,0,2, 101,2,2, 103,4,2, |
49 | 69,0,4, 101,4,4, 103,8,4, |
50 | 69,0,2, 101,2,4, 103,6,2, |
51 | }; |
52 | const BYTE CMiniMdBase::s_ConstantCol[] = {3, |
53 | 100,0,1, 65,2,2, 103,4,2, |
54 | 100,0,1, 65,2,4, 103,6,4, |
55 | 100,0,1, 65,2,2, 103,4,4, |
56 | }; |
57 | const BYTE CMiniMdBase::s_CustomAttributeCol[] = {3, |
58 | 66,0,2, 74,2,2, 103,4,2, |
59 | 66,0,4, 74,4,4, 103,8,4, |
60 | 66,0,4, 74,4,2, 103,6,2, |
61 | }; |
62 | const BYTE CMiniMdBase::s_FieldMarshalCol[] = {2, |
63 | 67,0,2, 103,2,2, |
64 | 67,0,2, 103,2,4, |
65 | }; |
66 | const BYTE CMiniMdBase::s_DeclSecurityCol[] = {3, |
67 | 96,0,2, 68,2,2, 103,4,2, |
68 | 96,0,2, 68,2,4, 103,6,4, |
69 | 96,0,2, 68,2,2, 103,4,4, |
70 | }; |
71 | const BYTE CMiniMdBase::s_ClassLayoutCol[] = {1, |
72 | 97,0,2, 99,2,4, 2,6,2, |
73 | }; |
74 | const BYTE CMiniMdBase::s_FieldLayoutCol[] = {1, |
75 | 99,0,4, 4,4,2, |
76 | }; |
77 | const BYTE CMiniMdBase::s_StandAloneSigCol[] = {2, |
78 | 103,0,2, |
79 | 103,0,4, |
80 | }; |
81 | const BYTE CMiniMdBase::s_EventMapCol[] = {1, |
82 | 2,0,2, 20,2,2, |
83 | }; |
84 | const BYTE CMiniMdBase::s_EventPtrCol[] = {1, |
85 | 20,0,2, |
86 | }; |
87 | const BYTE CMiniMdBase::s_EventCol[] = {2, |
88 | 97,0,2, 101,2,2, 64,4,2, |
89 | 97,0,2, 101,2,4, 64,6,2, |
90 | }; |
91 | const BYTE CMiniMdBase::s_PropertyMapCol[] = {1, |
92 | 2,0,2, 23,2,2, |
93 | }; |
94 | const BYTE CMiniMdBase::s_PropertyPtrCol[] = {1, |
95 | 23,0,2, |
96 | }; |
97 | const BYTE* CMiniMdBase::s_PropertyCol = s_FieldCol; |
98 | const BYTE CMiniMdBase::s_MethodSemanticsCol[] = {1, |
99 | 97,0,2, 6,2,2, 70,4,2, |
100 | }; |
101 | const BYTE CMiniMdBase::s_MethodImplCol[] = {1, |
102 | 2,0,2, 71,2,2, 71,4,2, |
103 | }; |
104 | const BYTE CMiniMdBase::s_ModuleRefCol[] = {2, |
105 | 101,0,2, |
106 | 101,0,4, |
107 | }; |
108 | const BYTE* CMiniMdBase::s_TypeSpecCol = s_StandAloneSigCol; |
109 | const BYTE CMiniMdBase::s_ImplMapCol[] = {2, |
110 | 97,0,2, 72,2,2, 101,4,2, 26,6,2, |
111 | 97,0,2, 72,2,2, 101,4,4, 26,8,2, |
112 | }; |
113 | const BYTE* CMiniMdBase::s_FieldRVACol = s_FieldLayoutCol; |
114 | const BYTE CMiniMdBase::s_ENCLogCol[] = {1, |
115 | 99,0,4, 99,4,4, |
116 | }; |
117 | const BYTE CMiniMdBase::s_ENCMapCol[] = {1, |
118 | 99,0,4, |
119 | }; |
120 | const BYTE CMiniMdBase::s_AssemblyCol[] = {3, |
121 | 99,0,4, 97,4,2, 97,6,2, 97,8,2, 97,10,2, 99,12,4, 103,16,2, 101,18,2, 101,20,2, |
122 | 99,0,4, 97,4,2, 97,6,2, 97,8,2, 97,10,2, 99,12,4, 103,16,4, 101,20,4, 101,24,4, |
123 | 99,0,4, 97,4,2, 97,6,2, 97,8,2, 97,10,2, 99,12,4, 103,16,2, 101,18,4, 101,22,4, |
124 | }; |
125 | const BYTE* CMiniMdBase::s_AssemblyProcessorCol = s_ENCMapCol; |
126 | const BYTE CMiniMdBase::s_AssemblyOSCol[] = {1, |
127 | 99,0,4, 99,4,4, 99,8,4, |
128 | }; |
129 | const BYTE CMiniMdBase::s_AssemblyRefCol[] = {3, |
130 | 97,0,2, 97,2,2, 97,4,2, 97,6,2, 99,8,4, 103,12,2, 101,14,2, 101,16,2, 103,18,2, |
131 | 97,0,2, 97,2,2, 97,4,2, 97,6,2, 99,8,4, 103,12,4, 101,16,4, 101,20,4, 103,24,4, |
132 | 97,0,2, 97,2,2, 97,4,2, 97,6,2, 99,8,4, 103,12,2, 101,14,4, 101,18,4, 103,22,2, |
133 | }; |
134 | const BYTE CMiniMdBase::s_AssemblyRefProcessorCol[] = {1, |
135 | 99,0,4, 35,4,2, |
136 | }; |
137 | const BYTE CMiniMdBase::s_AssemblyRefOSCol[] = {1, |
138 | 99,0,4, 99,4,4, 99,8,4, 35,12,2, |
139 | }; |
140 | const BYTE CMiniMdBase::s_FileCol[] = {3, |
141 | 99,0,4, 101,4,2, 103,6,2, |
142 | 99,0,4, 101,4,4, 103,8,4, |
143 | 99,0,4, 101,4,4, 103,8,2, |
144 | }; |
145 | const BYTE CMiniMdBase::s_ExportedTypeCol[] = {2, |
146 | 99,0,4, 99,4,4, 101,8,2, 101,10,2, 73,12,2, |
147 | 99,0,4, 99,4,4, 101,8,4, 101,12,4, 73,16,2, |
148 | }; |
149 | const BYTE CMiniMdBase::s_ManifestResourceCol[] = {2, |
150 | 99,0,4, 99,4,4, 101,8,2, 73,10,2, |
151 | 99,0,4, 99,4,4, 101,8,4, 73,12,2, |
152 | }; |
153 | const BYTE CMiniMdBase::s_NestedClassCol[] = {1, |
154 | 2,0,2, 2,2,2, |
155 | }; |
156 | const BYTE CMiniMdBase::s_GenericParamCol[] = {2, |
157 | 97,0,2, 97,2,2, 76,4,2, 101,6,2, 64,8,2, 64,10,2, |
158 | 97,0,2, 97,2,2, 76,4,2, 101,6,4, 64,10,2, 64,12,2, |
159 | }; |
160 | const BYTE CMiniMdBase::s_MethodSpecCol[] = {2, |
161 | 71,0,2, 103,2,2, |
162 | 71,0,2, 103,2,4, |
163 | }; |
164 | const BYTE CMiniMdBase::s_GenericParamConstraintCol[] = {1, |
165 | 42,0,2, 64,2,2, |
166 | }; |
167 | |
168 | const BYTE* const CMiniMdBase::s_TableColumnDescriptors[] = { |
169 | s_ModuleCol, |
170 | s_TypeRefCol, |
171 | s_TypeDefCol, |
172 | s_FieldPtrCol, |
173 | s_FieldCol, |
174 | s_MethodPtrCol, |
175 | s_MethodCol, |
176 | s_ParamPtrCol, |
177 | s_ParamCol, |
178 | s_InterfaceImplCol, |
179 | s_MemberRefCol, |
180 | s_ConstantCol, |
181 | s_CustomAttributeCol, |
182 | s_FieldMarshalCol, |
183 | s_DeclSecurityCol, |
184 | s_ClassLayoutCol, |
185 | s_FieldLayoutCol, |
186 | s_StandAloneSigCol, |
187 | s_EventMapCol, |
188 | s_EventPtrCol, |
189 | s_EventCol, |
190 | s_PropertyMapCol, |
191 | s_PropertyPtrCol, |
192 | s_FieldCol, |
193 | s_MethodSemanticsCol, |
194 | s_MethodImplCol, |
195 | s_ModuleRefCol, |
196 | s_StandAloneSigCol, |
197 | s_ImplMapCol, |
198 | s_FieldLayoutCol, |
199 | s_ENCLogCol, |
200 | s_ENCMapCol, |
201 | s_AssemblyCol, |
202 | s_ENCMapCol, |
203 | s_AssemblyOSCol, |
204 | s_AssemblyRefCol, |
205 | s_AssemblyRefProcessorCol, |
206 | s_AssemblyRefOSCol, |
207 | s_FileCol, |
208 | s_ExportedTypeCol, |
209 | s_ManifestResourceCol, |
210 | s_NestedClassCol, |
211 | s_GenericParamCol, |
212 | s_MethodSpecCol, |
213 | s_GenericParamConstraintCol |
214 | }; |
215 | |