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