private void ThrowExceptionIfNotPocoWithProxy(InternalPicture source, Exception exception) { if (typeof(InternalPicture) == source.GetType()) { throw exception; } }