Microsoft.Scripting.Metadata.xml
16.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Scripting.Metadata</name>
</assembly>
<members>
<member name="T:Microsoft.Scripting.Metadata.MemoryBlock">
<summary>
Represents a block in memory.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.MemoryReader">
<summary>
Reads data from a memory block. Maintains a position.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MemoryReader.ReadAscii(System.Int32)">
<summary>
Reads zero terminated sequence of bytes of given maximal length and converts it into an ASCII string.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.MetadataName">
<summary>
Zero terminated, UTF8 encoded sequence of bytes representing a name in metadata (a type name, a member name, etc).
The name is bound to the module it was retrieved from. The module is kept alive until all its metadata names are collected.
Doesn't cache hashcode, byte or character count.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MetadataTables.Module">
<summary>
Gets the module whose metadata tables this instance represents.
Null if the tables reflect unloaded module file.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MetadataTables.Path">
<summary>
Gets the path of the module whose metadata tables this instance represents.
Null for in-memory modules that are not backed by a file.
</summary>
<exception cref="T:System.Security.SecurityException">The path is not accessible in partial trust.</exception>
</member>
<member name="P:Microsoft.Scripting.Metadata.MetadataTables.AssemblyDef">
<summary>
Returns AssemblyDef for manifest modules, null token otherwise.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MetadataRecord.IsValid">
<summary>
Token is null or represents a row in a metadata table.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MetadataTableView.GetCount">
<summary>
Gets the number of records in the view.
If the view is over an entire table this operation is O(1),
otherwise it might take up to O(log(#records in the table)).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.ModuleDef">
<summary>
Module table entry (0x00 tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.TypeRef">
<summary>
TypeRef table entry (0x01 tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.TypeRef.ResolutionScope">
<summary>
AssemblyRef:
If the target type is defined in a different Assembly from the current module.
TypeRef:
Target type is nested in TypeRef.
ModuleRef:
Target type is defined in another module within the same Assembly as this one.
ModuleDef:
If the target type is defined in the current module (this should not occur in a CLI "compressed metadata" module).
Null token:
There shall be a row in the ExportedType table for this Type - its Implementation field shall contain
a File token or an AssemblyRef token that says where the type is defined.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.TypeDef">
<summary>
TypeDef table entry (0x02 tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.TypeDef.Attributes">
<summary>
Flags field in TypeDef table.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.TypeDef.FindDeclaringType">
<summary>
Finds a nesting type-def. The search time is logarithmic in the number of nested types defined in the owning module.
Returns a null token if this is not a nested type-def.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.TypeDef.GetGenericParameterCount">
<summary>
O(log(#generic parameters in module))
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.TypeDef.IsGlobal">
<summary>
This typedef represents a container of global functions and fields (manufactured <Module> type).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.FieldDef">
<summary>
Combines Field (0x04 tokens), FieldRVA (0x1d tokens) and Constant (0x0B) table entries.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.FieldDef.Attributes">
<summary>
Flags field in the Field table.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.FieldDef.GetDefaultValue">
<summary>
O(log(#fields, parameters and properties with default value)).
Returns <see cref="F:System.Reflection.Missing.Value"/> if the field doesn't have a default value.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.FieldDef.GetData(System.Int32)">
<summary>
Returns null reference iff the field has no RVA.
If size is 0 the memory block will span over the rest of the data section.
O(log(#fields with RVAs)).
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.FieldDef.FindDeclaringType">
<summary>
Finds type-def that declares this field. The search time is logarithmic in the number of types defined in the owning module.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.MethodDef">
<summary>
MethodDef table entry (0x06 tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MethodDef.ImplAttributes">
<summary>
ImplFlags field in the MethodDef table.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MethodDef.Attributes">
<summary>
Flags field in the MethodDef table.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MethodDef.GetBody">
<summary>
Returns a null reference iff the method has no body.
If size is 0 the memory block will span over the rest of the data section.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MethodDef.FindDeclaringType">
<summary>
Finds type-def that declares this method. The search time is logarithmic in the number of types defined in the owning module.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MethodDef.GetGenericParameterCount">
<summary>
O(log(#generic parameters in module))
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.ParamDef">
<summary>
Param table entry (0x08 tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.ParamDef.Index">
<summary>
Value greater or equal to zero and less than or equal to the number of parameters in owner method.
A value of 0 refers to the owner method's return type; its parameters are then numbered from 1 onwards.
Not all parameters need to have a corresponding ParamDef entry.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.ParamDef.GetDefaultValue">
<summary>
O(log(#fields, parameters and properties with default value)).
Returns <see cref="F:System.Reflection.Missing.Value"/> if the field doesn't have a default value.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.ParamDef.FindDeclaringMethod">
<summary>
Binary searches MethodDef table for a method that declares this parameter.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.InterfaceImpl">
<summary>
InterfaceImpl table entry (0x09 tokens).
TODO: we might not need this - TypeDef.ImplementedInterfaces might be a special enumerator that directly returns InterfaceType tokens.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.InterfaceImpl.ImplementingType">
<summary>
Could be a null token in EnC scenarios.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.InterfaceImpl.InterfaceType">
<summary>
TypeDef, TypeRef, or TypeSpec.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.MemberRef">
<summary>
MemberRef table entry (0x0A tokens).
Stores MethodRefs and FieldRefs.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MemberRef.Class">
<summary>
TypeRef or TypeDef:
If the class that defines the member is defined in another module.
Note that it is unusual, but valid, to use a TypeRef token when the member is defined in this same module,
in which case, its TypeDef token can be used instead.
ModuleRef:
If the member is defined, in another module of the same assembly, as a global function or variable.
MethodDef:
When used to supply a call-site signature for a vararg method that is defined in this module.
The Name shall match the Name in the corresponding MethodDef row.
The Signature shall match the Signature in the target method definition
TypeSpec:
If the member is a member of a generic type
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.CustomAttributeDef">
<summary>
CustomAttribute table entry (0x0C tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.CustomAttributeDef.Parent">
<summary>
Any token except the CustomAttribute.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.CustomAttributeDef.Constructor">
<summary>
Returns the value of Type column in the CustomAttribute table.
MethodDef or MemberRef.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.CustomAttributeDef.Value">
<summary>
Value blob.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.SignatureDef">
<summary>
StandAloneSig table entry (0x11 token).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.PropertyDef">
<summary>
Combines information from PropertyMap (0x15), MethodSemantics (0x18) and Property (0x17) tables.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.PropertyDef.GetDefaultValue">
<summary>
O(log(#fields, parameters and properties with default value)).
Returns <see cref="F:System.Reflection.Missing.Value"/> if the field doesn't have a default value.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.PropertyDef.FindDeclaringType">
<summary>
Finds type-def that declares this property. The search time is logarithmic in the number of types with properties defined in the owning module.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.EventDef">
<summary>
Combines information from EventMap (0x15), MethodSemantics (0x18) and Event (0x17) tables.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.EventDef.FindDeclaringType">
<summary>
Finds type-def that declares this event. The search time is logarithmic in the number of types with events defined in the owning module.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.ModuleRef">
<summary>
ModuleRef table entry (0x1A tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.TypeSpec">
<summary>
TypeSpec table entry (0x1B tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.AssemblyDef">
<summary>
Assembly table entry (0x20 tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.AssemblyRef">
<summary>
Assembly table entry (0x23 tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.FileDef">
<summary>
File table entry (0x26 tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.TypeExport">
<summary>
ExportedType table entry (0x27 tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.TypeExport.Implementation">
<summary>
Forwarded type: AssemblyRef
Nested types: ExportedType
Type in another module of this assembly: FileDef
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.ManifestResourceDef">
<summary>
ManifestResource table entry (0x28 tokens).
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.TypeNesting">
<summary>
NestedClass table entry (0x29 tokens).
TODO: Don't need if we exposed nested types enumeration on type-def directly and build TypeNesting mapping lazily.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.GenericParamDef">
<summary>
GenericParam table entry (0x2A tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.GenericParamDef.Index">
<summary>
Value greater or equal to zero and less than or equal to the number of parameters in owner method/type.
All generic parameters are listed in the table.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.GenericParamDef.Owner">
<summary>
TypeDef or MethodDef.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.GenericParamConstraint">
<summary>
GenericParamConstraint table entry (0x2C tokens).
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.GenericParamConstraint.Constraint">
<summary>
TypeDef, TypeRef, or TypeSpec.
</summary>
</member>
<member name="T:Microsoft.Scripting.Metadata.MethodSpec">
<summary>
MethodSpec table entry (0x2B tokens).
Used when decoding IL instructions.
</summary>
</member>
<member name="P:Microsoft.Scripting.Metadata.MethodSpec.GenericMethod">
<summary>
MethodDef or MethodRef.
</summary>
</member>
<member name="M:Microsoft.Scripting.Metadata.MetadataToken.#ctor(System.Int32)">
<summary>
We need to be able to construct tokens out of byte-code.
</summary>
</member>
</members>
</doc>