Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 926 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.
namespace Roslynator.CSharp.Refactorings.ReplaceEqualsExpression
{
internal sealed class ReplaceEqualsExpressionWithStringIsNullOrWhiteSpaceRefactoring : ReplaceEqualsExpressionRefactoring
{
private ReplaceEqualsExpressionWithStringIsNullOrWhiteSpaceRefactoring()
{
}
public static ReplaceEqualsExpressionWithStringIsNullOrWhiteSpaceRefactoring Instance { get; } = new ReplaceEqualsExpressionWithStringIsNullOrWhiteSpaceRefactoring();
public override string MethodName
{
get { return "IsNullOrWhiteSpace"; }
}
public override string GetEquivalenceKey()
{
return RefactoringIdentifiers.ReplaceEqualsExpressionWithStringIsNullOrWhiteSpace;
}
}
}