Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 762 Bytes
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslynator.CSharp.Refactorings
{
internal static class ConditionalAccessExpressionRefactoring
{
public static async Task ComputeRefactoringAsync(RefactoringContext context, ConditionalAccessExpressionSyntax conditionalAccessExpression)
{
if (context.IsRefactoringEnabled(RefactoringIdentifiers.FormatExpressionChain))
await FormatExpressionChainRefactoring.ComputeRefactoringsAsync(context, conditionalAccessExpression).ConfigureAwait(false);
}
}
}