Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 658 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 Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslynator.CSharp.Refactorings
{
internal static class UnsafeStatementRefactoring
{
internal static void ComputeRefactorings(RefactoringContext context, UnsafeStatementSyntax node)
{
if (context.IsRefactoringEnabled(RefactoringIdentifiers.MoveUnsafeContextToContainingDeclaration))
MoveUnsafeContextToContainingDeclarationRefactoring.ComputeRefactoring(context, node);
}
}
}