18 references to MethodDef
System.AddIn (18)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (12)
130
Names[(Int32)Tables.
MethodDef
] = "MethodDef";
199
new Tables[] { Tables.
MethodDef
, Tables.FieldDef, Tables.TypeRef, Tables.TypeDef,
209
new Tables[] { Tables.TypeDef, Tables.
MethodDef
, Tables.XAssembly }),
212
new Tables[] { Tables.TypeDef, Tables.TypeRef, Tables.ModuleRef, Tables.
MethodDef
, Tables.TypeSpec }),
216
new Tables[] { Tables.
MethodDef
, Tables.MemberRef }),
218
new Tables[] { Tables.FieldDef, Tables.
MethodDef
}),
222
new Tables[] { Tables.Invalid, Tables.Invalid, Tables.
MethodDef
, Tables.MemberRef }),
226
new Tables[] { Tables.TypeDef, Tables.
MethodDef
})
331
lengths[(Int32)Tables.
MethodDef
] = 4 + 2 + 2 + stringIndex +
334
lengths[(Int32)Tables.MethodSemantics] = 2 + RowSize(Tables.
MethodDef
) + MetadataTokenSize(Encodings.HasSemantics);
343
RowSize(Tables.FieldDef) + RowSize(Tables.
MethodDef
);
348
lengths[(Int32)Tables.MethodPtr] = RowSize(Tables.
MethodDef
);
System\Addin\MiniReflection\MiniModule.cs (1)
153
System.Diagnostics.Contracts.Contract.Assert(caType.Table == MDTables.Tables.
MethodDef
);
System\Addin\MiniReflection\TypeInfo.cs (5)
497
uint firstMethodIndex = MetaData.ReadRowIndex(MDTables.Tables.
MethodDef
); // Method list
503
lastMethodIndex = MetaData.RowsInTable(MDTables.Tables.
MethodDef
);
513
uint firstMethodOfNextType = MetaData.ReadRowIndex(MDTables.Tables.
MethodDef
); // method list
520
MetadataToken method = new MetadataToken(MDTables.Tables.
MethodDef
, i);
976
System.Diagnostics.Contracts.Contract.Assert(caType.Table == MDTables.Tables.
MethodDef
);