public override void VisitMethodSemanticsRow(MethodSemanticsRow row) { row.Semantics = (Mono.Cecil.MethodSemanticsAttributes)m_binaryReader.ReadUInt16(); row.Method = ReadByIndexSize(GetIndexSize(MethodTable.RId)); row.Association = Utilities.GetMetadataToken(CodedIndex.HasSemantics, ReadByIndexSize(GetCodedIndexSize(CodedIndex.HasSemantics))); }
public MethodSemanticsRow CreateMethodSemanticsRow(MethodSemanticsAttributes _semantics, uint _method, MetadataToken _association) { MethodSemanticsRow row = new MethodSemanticsRow(); row.Semantics = _semantics; row.Method = _method; row.Association = _association; return(row); }
public override void VisitMethodSemanticsRow(MethodSemanticsRow row) { m_binaryWriter.Write ((ushort) row.Semantics); WriteTablePointer (row.Method, MethodTable.RId); WriteMetadataToken (row.Association, CodedIndex.HasSemantics); }
public MethodSemanticsRow CreateMethodSemanticsRow(MethodSemanticsAttributes _semantics, uint _method, MetadataToken _association) { MethodSemanticsRow row = new MethodSemanticsRow (); row.Semantics = _semantics; row.Method = _method; row.Association = _association; return row; }
public override void VisitMethodSemanticsRow(MethodSemanticsRow row) { m_binaryWriter.Write((ushort)row.Semantics); WriteTablePointer(row.Method, MethodTable.RId); WriteMetadataToken(row.Association, CodedIndex.HasSemantics); }
public override void VisitMethodSemanticsRow(MethodSemanticsRow row) { row.Semantics = (Mono.Cecil.MethodSemanticsAttributes) m_binaryReader.ReadUInt16 (); row.Method = ReadByIndexSize (GetIndexSize (MethodTable.RId)); row.Association = Utilities.GetMetadataToken (CodedIndex.HasSemantics, ReadByIndexSize (GetCodedIndexSize (CodedIndex.HasSemantics))); }