Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.25 KB

overview.md

File metadata and controls

28 lines (24 loc) · 1.25 KB
title description ms.date f1_keywords helpviewer_keywords author ms.author
SingleFile rules (code analysis)
Learn about code analysis single file rules.
09/04/2020
vs.codeanalysis.singlefilerules
rules, singlefile
managed code analysis rules, singlefile rules
singlefile rules
gewarren
gewarren

SingleFile rules

SingleFile rules for .NET.

Note

Prior to .NET 6, this category was named Publish.

In this section

Rule Description
IL3000 Avoid accessing Assembly file path when publishing as a single file Avoid accessing Assembly file path when publishing as a single file
IL3001 Avoid accessing Assembly file path when publishing as a single file Avoid accessing Assembly file path when publishing as a single file
IL3002 Avoid calling members annotated with 'RequiresAssemblyFilesAttribute' when publishing as a single file Avoid calling members annotated with 'RequiresAssemblyFilesAttribute' when publishing as a single file
IL3003 'RequiresAssemblyFilesAttribute' annotations must match across all interface implementations or overrides. 'RequiresAssemblyFilesAttribute' annotations must match across all interface implementations or overrides.