共用方式為


Unported rules that may be ported

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The following FxCop legacy analysis rules haven't yet been implemented as analyzers, but still may be. This could be because of a blocking technical reason or simply that the rule is lower priority. For more information about the porting status of each rule, click the link in the Tracking issue column.

Rule ID Tracking issue
CA1004 https://github.com/dotnet/roslyn-analyzers/issues/370
CA1007 https://github.com/dotnet/roslyn-analyzers/issues/373
CA1011 https://github.com/dotnet/roslyn-analyzers/issues/375
CA1013 https://github.com/dotnet/roslyn-analyzers/issues/376
CA1021 https://github.com/dotnet/roslyn-analyzers/issues/377
CA1023 https://github.com/dotnet/roslyn-analyzers/issues/378
CA1049 https://github.com/dotnet/roslyn-analyzers/issues/395
CA1057 https://github.com/dotnet/roslyn-analyzers/issues/401
CA1300 https://github.com/dotnet/roslyn-analyzers/issues/408
CA1301 https://github.com/dotnet/roslyn-analyzers/issues/409
CA1306 https://github.com/dotnet/roslyn-analyzers/issues/414
CA1402 https://github.com/dotnet/roslyn-analyzers/issues/418
CA1403 https://github.com/dotnet/roslyn-analyzers/issues/419
CA1404 https://github.com/dotnet/roslyn-analyzers/issues/420
CA1405 https://github.com/dotnet/roslyn-analyzers/issues/421
CA1407 https://github.com/dotnet/roslyn-analyzers/issues/423
CA1408 https://github.com/dotnet/roslyn-analyzers/issues/424
CA1409 https://github.com/dotnet/roslyn-analyzers/issues/425
CA1410 https://github.com/dotnet/roslyn-analyzers/issues/426
CA1411 https://github.com/dotnet/roslyn-analyzers/issues/427
CA1412 https://github.com/dotnet/roslyn-analyzers/issues/428
CA1413 https://github.com/dotnet/roslyn-analyzers/issues/429
CA1414 https://github.com/dotnet/roslyn-analyzers/issues/430
CA1415 https://github.com/dotnet/roslyn-analyzers/issues/431
CA1500 https://github.com/dotnet/roslyn-analyzers/issues/432
CA1600 https://github.com/dotnet/roslyn-analyzers/issues/438
CA1601 https://github.com/dotnet/roslyn-analyzers/issues/439
CA1704 https://github.com/dotnet/roslyn-analyzers/issues/443
CA1709 https://github.com/dotnet/roslyn-analyzers/issues/445
CA1719 https://github.com/dotnet/roslyn-analyzers/issues/453
CA1722 https://github.com/dotnet/roslyn-analyzers/issues/455
CA1726 https://github.com/dotnet/roslyn-analyzers/issues/458
CA1900 https://github.com/dotnet/roslyn-analyzers/issues/474
CA2001 https://github.com/dotnet/roslyn-analyzers/issues/477
CA2004 https://github.com/dotnet/roslyn-analyzers/issues/479
CA2006 https://github.com/dotnet/roslyn-analyzers/issues/480
CA2204 https://github.com/dotnet/roslyn-analyzers/issues/529
CA2205 https://github.com/dotnet/roslyn-analyzers/issues/530
CA2212 https://github.com/dotnet/roslyn-analyzers/issues/534
CA2218 https://github.com/dotnet/roslyn-analyzers/issues/749
CA2224 https://github.com/dotnet/roslyn-analyzers/issues/749
CA2232 https://github.com/dotnet/roslyn-analyzers/issues/545
CA2236 https://github.com/dotnet/roslyn-analyzers/issues/548
CA2238 https://github.com/dotnet/roslyn-analyzers/issues/549
CA2239 https://github.com/dotnet/roslyn-analyzers/issues/550
CA2240 https://github.com/dotnet/roslyn-analyzers/issues/551