fxcop
Can't suppress FxCop Warning CA1062
c#/.net/fxcop! ... within a class, I want FxCop to shut up complaining about Warning CA1062 : Microsoft.Design :[详细]
2023-03-01 05:45 分类:问答Using CustomDictionary.xml in Visual Studio Code Analysis for fancy-cased identifiers
For example, an identifier like iPhone. When I ran code analysis, it gave me this error: CA1709 : Microsoft.Naming : Correct[详细]
2023-03-01 05:29 分类:问答How to create fxcop rule to check that a class call init in its constructor on another class?
Let\'s say I have class A which instantiates class B. class B has a constructor and several init methods (enforced through a class interface). How to write fxcop rule to check that 开发者_运维技巧at l[详细]
2023-02-28 03:20 分类:问答CA1726: FxCop Forbidden Word: Flags
someone 开发者_StackOverflow中文版wants me to make other people\'s code compliant to some FxCop ruleset which includes rule CA1726:Use preferred terms. Most of the terms/replacements are all right and[详细]
2023-02-28 02:53 分类:问答Making TeamCity FxCop build step cause a build fail if a rule is violated
I have two build steps in my build configuration: Visual Studio (sln) build runner, followed by an FxCop build ru开发者_运维知识库nner. I\'m using TeamCity 6.0.1 and FxCop 10.0.[详细]
2023-02-23 05:26 分类:问答Configure FxCop in Visual Studio 2008 to run a subset of rules
I\'ve set up FxCop 1.36 as an external tool in Visual Studio 2008, run it on a project and received a ridiculous number of messages. I can\'t deal with all those warnings so I\'d like to concentrate o[详细]
2023-02-16 10:57 分类:问答How to prevent FxCop from analyzing auto-generated code?
FxCop (tool for static code analysis) g开发者_如何转开发ives me an error while checking code behind of .edmx model. How to prevent FxCop from analyzing auto-generated code (or at least Entity Framewor[详细]
2023-02-10 10:07 分类:问答How to use FxCop CustomDictionary.xml from the project localization?
I create an custom FxCop rule, that need the the path to CustomDictionary.xml, but not this in Program Files, but that used in my FxCop project file. I has tryed to use reflection to Assembly.GetEntry[详细]
2023-02-10 05:48 分类:问答endless loop on code analysis with FxCop Introspection
I\'m trying to write a custom FxCop code analysis rule that will warn developers from methods containing too deeply nested code blocks,[详细]
2023-02-09 08:25 分类:问答Does fxcop checks all the rules?
Does FxCop check all standard code rules. I feel its only checks what ever its written. I would not check what is not wr开发者_如何转开发itten. Like some functions does not have exception handling tha[详细]
2023-02-06 21:34 分类:问答