writeMethodImpl method

void writeMethodImpl({
  1. required TypeDefIndex class$,
  2. required MethodDefOrRef methodBody,
  3. required MethodDefOrRef methodDeclaration,
})

Writes a MethodImpl row.

Implementation

void writeMethodImpl({
  required TypeDefIndex class$,
  required MethodDefOrRef methodBody,
  required MethodDefOrRef methodDeclaration,
}) {
  _tableStream[MetadataTableId.methodImpl].add(
    MethodImpl(
      class$: class$,
      methodBody: methodBody,
      methodDeclaration: methodDeclaration,
    ),
  );
}