- 29 8月, 2018 3 次提交
-
-
由 Manish Vasani 提交于
-
由 Manish Vasani 提交于
-
由 Manish Vasani 提交于
Address some more feedback: Report unread member instead of unused member for fields with non-constant initializers.
-
- 28 8月, 2018 1 次提交
-
-
由 Manish Vasani 提交于
1. Break the analyzer into two separate diagnostics for flagging unused and unread members. Latter rule has no code fix. 2. Remove all UI option elements for the added diagnostics and turn the rules off by default for now. 3. Bail out for invalid operations and syntax errors. 4. Handle doc comments and nameof - report unread member diagostics instead of unused member diagnostics if referenced in non-read/write context.
-
- 25 8月, 2018 2 次提交
-
-
由 Manish Vasani 提交于
-
由 Manish Vasani 提交于
Analyzer flags two cases: members with no read/writes and members with only writes. 1. Members with no read or writes: `Type '{0}' has an unused private member '{1}' which can be removed.` 2. Only writes: `Type '{0}' has a private member '{1}' which can be removed as the value assigned to it is never used.` Code fix removes the unused member declaration. Fixes #24225 Open questions: 1. Current analyzer design uses a single code style option for all members and both the above kinds of unused members. We can potentially have multiple options, but this should probably be done based on feedback. 2. Should the analyzer use different diagnostic IDs for the above two kinds of unused members? This will mean that the FixAll experience will need multiple iterations for removing unused members. 3. Should we update the code fix (or have an additional code fix) that also updates the write references for the case (2) above? Or is it better to leave the references to break the code so the user can analyze if the value being assigned can also be removed. The PR current chooses the latter approach as it is more conservative and unlikely to cause silent breaks.
-
- 23 8月, 2018 1 次提交
-
-
由 Manish Vasani 提交于
Add new DiagnosticAnalyzer API for Symbol Start/End analysis
-
- 22 8月, 2018 3 次提交
-
-
由 Manish Vasani 提交于
Add refactoring to convert foreach loop into linq invocations (Select…
-
由 Neal Gafter 提交于
Fixes #29416
-
由 Manish Vasani 提交于
-
- 21 8月, 2018 9 次提交
-
-
由 Manish Vasani 提交于
-
由 Andy Gocke 提交于
Instructions can be found in the README file under src/Tools/CompilerBenchmarks.
-
由 Manish Vasani 提交于
-
由 Jared Parsons 提交于
Update unix contributing docs
-
由 Chris Sienkiewicz 提交于
-
由 Jared Parsons 提交于
-
由 Manish Vasani 提交于
-
由 Chris Sienkiewicz 提交于
-
由 Manish Vasani 提交于
Add refactoring to convert foreach loop into linq invocations (Select, SelectMany and Where invocations) Adds one of the refactorings mentioned in #8953 ``` // // INPUT: // foreach (var n1 in c1) // foreach (var n2 in c2) // if (n1 > n2) // yield return n1 + n2; // // OUTPUT: // c1.SelectMany(n1 => c2.Where(n2 => n1 > n2).Select(n2 => n1 + n2)) // ```
-
- 18 8月, 2018 5 次提交
-
-
由 Manish Vasani 提交于
Update 'use block body' to be better understand async methods.
-
由 Julien Couvreur 提交于
-
由 Shyam-Gupta 提交于
Added Newtonsoft.Json to exclusion list
-
由 Jared Parsons 提交于
Updated the docs based on my experiences getting the emit tests running on Linux.
-
由 shgu 提交于
-
- 17 8月, 2018 1 次提交
-
-
由 Tomáš Matoušek 提交于
-
- 16 8月, 2018 4 次提交
-
-
由 Jinu 提交于
Don't fire IDE0009 incorrectly in List initializers
-
由 Carol Hu 提交于
-
由 Tomáš Matoušek 提交于
-
由 Manish Vasani 提交于
Support parameter initialization refactorings when teh parameter name is selected.
-
- 15 8月, 2018 2 次提交
-
-
由 AlekseyTs 提交于
Add explicit case clause(s) for all the bound nodes for which right now we fall back to creating operation None node. Throw from default case.
-
由 Tomáš Matoušek 提交于
-
- 14 8月, 2018 9 次提交
-
-
-
由 Manish Vasani 提交于
-
由 Manish Vasani 提交于
-
由 Julien Couvreur 提交于
Fix casing for System.Xml.dll
-
由 Manish Vasani 提交于
-
由 Joey Robichaud 提交于
Remove spurious "cast is redundant" when accessing hidden member
-
由 Manish Vasani 提交于
Fix issue preventing introduce-variable working on an expression being indexed into
-
由 Julien Couvreur 提交于
Find-Refs on an accessor should only produce results for that accessor.
-
由 dotnet-automerge-bot 提交于
Merge dev15.9.x to master
-