K
Keith Patrick
How does one declare a method to be "hidebysig"? I am trying to make some
type-specific collections, mirroring
System.Window.Forms.Control.ControlCollection, but I cannot figure out how
to get past the requirements of IList. For instance, if I implement IList,
I must have:
public void Add(Object item)
but I can't figure out how to hide it with
public void Add(Subclass Item)
using ildasm, I see that ControlCollection gets around it by having the
following signature:
public hidebysig newslot virtual
but I can't figure out how to set those middle two.
type-specific collections, mirroring
System.Window.Forms.Control.ControlCollection, but I cannot figure out how
to get past the requirements of IList. For instance, if I implement IList,
I must have:
public void Add(Object item)
but I can't figure out how to hide it with
public void Add(Subclass Item)
using ildasm, I see that ControlCollection gets around it by having the
following signature:
public hidebysig newslot virtual
but I can't figure out how to set those middle two.