提交 54cbfc3a 编写于 作者: C Cyrus Najmabadi

Remove

上级 11b851f2
......@@ -96,25 +96,6 @@ internal static class OperatorGenerator
return operatorDecl;
}
//private static OperatorDeclarationSyntax UseExpressionBodyIfDesired(
// CodeGenerationOptions options, OperatorDeclarationSyntax operatorDeclaration, ParseOptions parseOptions)
//{
// if (operatorDeclaration.ExpressionBody == null)
// {
// var expressionBodyPreference = options.Options.GetOption(CSharpCodeStyleOptions.PreferExpressionBodiedMethods).Value;
// if (operatorDeclaration.Body.TryConvertToArrowExpressionBody(
// operatorDeclaration.Kind(), parseOptions, expressionBodyPreference,
// out var expressionBody, out var semicolonToken))
// {
// return operatorDeclaration.WithBody(null)
// .WithExpressionBody(expressionBody)
// .WithSemicolonToken(semicolonToken);
// }
// }
// return operatorDeclaration;
//}
private static SyntaxTokenList GenerateModifiers()
{
return SyntaxFactory.TokenList(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册