private void AssertIsInterceptor(LexicalInfo info, Type type, String message) { if (!typeof (IInterceptor).IsAssignableFrom(type)) { Context.RaiseErrorEvent(info, message); } } }