public static async Task <Document> RefactorAsync( Document document, TypeDeclarationSyntax typeDeclaration, CancellationToken cancellationToken) { return(await RemoveModifierRefactoring.RemovePartialModifierAsync(document, typeDeclaration, cancellationToken).ConfigureAwait(false)); }
public static async Task <Document> RefactorAsync( Document document, MemberDeclarationSyntax memberDeclaration, CancellationToken cancellationToken = default(CancellationToken)) { return(await RemoveModifierRefactoring.RemoveSealedModifierAsync(document, memberDeclaration, cancellationToken).ConfigureAwait(false)); }