2 // BaseMetadataVisitor.cs
5 // Jb Evain (jbevain@gmail.com)
7 // Generated by /CodeGen/cecil-gen.rb do not edit
8 // Thu Feb 22 14:39:38 CET 2007
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 namespace Mono
.Cecil
.Metadata
{
34 public abstract class BaseMetadataVisitor
: IMetadataVisitor
{
36 public virtual void VisitMetadataRoot (MetadataRoot root
)
40 public virtual void VisitMetadataRootHeader (MetadataRoot
.MetadataRootHeader header
)
44 public virtual void VisitMetadataStreamCollection (MetadataStreamCollection streams
)
48 public virtual void VisitMetadataStream (MetadataStream stream
)
52 public virtual void VisitMetadataStreamHeader (MetadataStream
.MetadataStreamHeader header
)
56 public virtual void VisitGuidHeap (GuidHeap heap
)
60 public virtual void VisitStringsHeap (StringsHeap heap
)
64 public virtual void VisitTablesHeap (TablesHeap heap
)
68 public virtual void VisitBlobHeap (BlobHeap heap
)
72 public virtual void VisitUserStringsHeap (UserStringsHeap heap
)
76 public virtual void TerminateMetadataRoot (MetadataRoot root
)
81 public abstract class BaseMetadataTableVisitor
: IMetadataTableVisitor
{
83 public virtual void VisitTableCollection (TableCollection coll
)
87 public virtual void VisitAssemblyTable (AssemblyTable table
)
91 public virtual void VisitAssemblyOSTable (AssemblyOSTable table
)
95 public virtual void VisitAssemblyProcessorTable (AssemblyProcessorTable table
)
99 public virtual void VisitAssemblyRefTable (AssemblyRefTable table
)
103 public virtual void VisitAssemblyRefOSTable (AssemblyRefOSTable table
)
107 public virtual void VisitAssemblyRefProcessorTable (AssemblyRefProcessorTable table
)
111 public virtual void VisitClassLayoutTable (ClassLayoutTable table
)
115 public virtual void VisitConstantTable (ConstantTable table
)
119 public virtual void VisitCustomAttributeTable (CustomAttributeTable table
)
123 public virtual void VisitDeclSecurityTable (DeclSecurityTable table
)
127 public virtual void VisitEventTable (EventTable table
)
131 public virtual void VisitEventMapTable (EventMapTable table
)
135 public virtual void VisitEventPtrTable (EventPtrTable table
)
139 public virtual void VisitExportedTypeTable (ExportedTypeTable table
)
143 public virtual void VisitFieldTable (FieldTable table
)
147 public virtual void VisitFieldLayoutTable (FieldLayoutTable table
)
151 public virtual void VisitFieldMarshalTable (FieldMarshalTable table
)
155 public virtual void VisitFieldPtrTable (FieldPtrTable table
)
159 public virtual void VisitFieldRVATable (FieldRVATable table
)
163 public virtual void VisitFileTable (FileTable table
)
167 public virtual void VisitGenericParamTable (GenericParamTable table
)
171 public virtual void VisitGenericParamConstraintTable (GenericParamConstraintTable table
)
175 public virtual void VisitImplMapTable (ImplMapTable table
)
179 public virtual void VisitInterfaceImplTable (InterfaceImplTable table
)
183 public virtual void VisitManifestResourceTable (ManifestResourceTable table
)
187 public virtual void VisitMemberRefTable (MemberRefTable table
)
191 public virtual void VisitMethodTable (MethodTable table
)
195 public virtual void VisitMethodImplTable (MethodImplTable table
)
199 public virtual void VisitMethodPtrTable (MethodPtrTable table
)
203 public virtual void VisitMethodSemanticsTable (MethodSemanticsTable table
)
207 public virtual void VisitMethodSpecTable (MethodSpecTable table
)
211 public virtual void VisitModuleTable (ModuleTable table
)
215 public virtual void VisitModuleRefTable (ModuleRefTable table
)
219 public virtual void VisitNestedClassTable (NestedClassTable table
)
223 public virtual void VisitParamTable (ParamTable table
)
227 public virtual void VisitParamPtrTable (ParamPtrTable table
)
231 public virtual void VisitPropertyTable (PropertyTable table
)
235 public virtual void VisitPropertyMapTable (PropertyMapTable table
)
239 public virtual void VisitPropertyPtrTable (PropertyPtrTable table
)
243 public virtual void VisitStandAloneSigTable (StandAloneSigTable table
)
247 public virtual void VisitTypeDefTable (TypeDefTable table
)
251 public virtual void VisitTypeRefTable (TypeRefTable table
)
255 public virtual void VisitTypeSpecTable (TypeSpecTable table
)
259 public virtual void TerminateTableCollection (TableCollection coll
)
263 public abstract IMetadataRowVisitor
GetRowVisitor();
266 public abstract class BaseMetadataRowVisitor
: IMetadataRowVisitor
{
268 public virtual void VisitRowCollection (RowCollection coll
)
272 public virtual void VisitAssemblyRow (AssemblyRow row
)
276 public virtual void VisitAssemblyOSRow (AssemblyOSRow row
)
280 public virtual void VisitAssemblyProcessorRow (AssemblyProcessorRow row
)
284 public virtual void VisitAssemblyRefRow (AssemblyRefRow row
)
288 public virtual void VisitAssemblyRefOSRow (AssemblyRefOSRow row
)
292 public virtual void VisitAssemblyRefProcessorRow (AssemblyRefProcessorRow row
)
296 public virtual void VisitClassLayoutRow (ClassLayoutRow row
)
300 public virtual void VisitConstantRow (ConstantRow row
)
304 public virtual void VisitCustomAttributeRow (CustomAttributeRow row
)
308 public virtual void VisitDeclSecurityRow (DeclSecurityRow row
)
312 public virtual void VisitEventRow (EventRow row
)
316 public virtual void VisitEventMapRow (EventMapRow row
)
320 public virtual void VisitEventPtrRow (EventPtrRow row
)
324 public virtual void VisitExportedTypeRow (ExportedTypeRow row
)
328 public virtual void VisitFieldRow (FieldRow row
)
332 public virtual void VisitFieldLayoutRow (FieldLayoutRow row
)
336 public virtual void VisitFieldMarshalRow (FieldMarshalRow row
)
340 public virtual void VisitFieldPtrRow (FieldPtrRow row
)
344 public virtual void VisitFieldRVARow (FieldRVARow row
)
348 public virtual void VisitFileRow (FileRow row
)
352 public virtual void VisitGenericParamRow (GenericParamRow row
)
356 public virtual void VisitGenericParamConstraintRow (GenericParamConstraintRow row
)
360 public virtual void VisitImplMapRow (ImplMapRow row
)
364 public virtual void VisitInterfaceImplRow (InterfaceImplRow row
)
368 public virtual void VisitManifestResourceRow (ManifestResourceRow row
)
372 public virtual void VisitMemberRefRow (MemberRefRow row
)
376 public virtual void VisitMethodRow (MethodRow row
)
380 public virtual void VisitMethodImplRow (MethodImplRow row
)
384 public virtual void VisitMethodPtrRow (MethodPtrRow row
)
388 public virtual void VisitMethodSemanticsRow (MethodSemanticsRow row
)
392 public virtual void VisitMethodSpecRow (MethodSpecRow row
)
396 public virtual void VisitModuleRow (ModuleRow row
)
400 public virtual void VisitModuleRefRow (ModuleRefRow row
)
404 public virtual void VisitNestedClassRow (NestedClassRow row
)
408 public virtual void VisitParamRow (ParamRow row
)
412 public virtual void VisitParamPtrRow (ParamPtrRow row
)
416 public virtual void VisitPropertyRow (PropertyRow row
)
420 public virtual void VisitPropertyMapRow (PropertyMapRow row
)
424 public virtual void VisitPropertyPtrRow (PropertyPtrRow row
)
428 public virtual void VisitStandAloneSigRow (StandAloneSigRow row
)
432 public virtual void VisitTypeDefRow (TypeDefRow row
)
436 public virtual void VisitTypeRefRow (TypeRefRow row
)
440 public virtual void VisitTypeSpecRow (TypeSpecRow row
)
444 public virtual void TerminateRowCollection (RowCollection coll
)