public void DefineField(
SymbolToken parent,
string name,
FieldAttributes attributes,
byte[] signature ,
SymAddressKind addrKind,
int addr1,
int addr2,
int addr3)
{
int hr;
COMException Exception;
hr = SymWriter_DefineField(
m_Writer, parent.GetToken(), name,
attributes.GetHashCode(), signature , (int)addrKind,
addr1, addr2, addr3);
if (hr < 0)
{
Exception = new COMException("Call to DefineField failed.", hr);
throw Exception;
}
}