I need to create interface "on-the-fly" so it "reflects" some class (mainly it's properties). Here's how I do this:

Code:
	public class Transformer
	{
		private const TypeAttributes INTERFACE_TYPE_ATTRIBUTES =
			TypeAttributes.Public |
			TypeAttributes.Interface |
			TypeAttributes.Abstract |
			TypeAttributes.AutoClass |
			TypeAttributes.AnsiClass;
...