dotnet/roslyn

Variable naming suggestions should prefer long form

Open

#20,927 创建于 2017年7月17日

在 GitHub 查看
 (10 评论) (0 反应) (2 负责人)C# (20,414 star) (4,257 fork)batch import
Area-IDEBughelp wanted

描述

Version Used: 15.3 Preview 4

Steps to Reproduce:

  1. Open a file with an existing method, which also has an import to System.Threading
  2. In the method, start to declare a local variable by typing CancellationToken c

Expected Behavior:

cancellationToken is the suggested name (soft selection).

Actual Behavior:

cancellation is the suggested name (soft selection).

贡献者指南