/// <inheritdoc/> protected override Provider VisitLock(LockProvider provider) { OnRecursionEntrance(provider); var source = VisitCompilable(provider.Source); OnRecursionExit(provider); if (source == provider.Source) { return(provider); } return(new LockProvider(source, provider.LockMode, provider.LockBehavior)); }
/// <summary> /// Visits the <see cref="LockProvider"/>. /// </summary> /// <param name="provider">Lock provider.</param> /// <returns></returns> protected abstract Provider VisitLock(LockProvider provider);