You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This analyzer does not offer any special configuration. The general ways of [suppressing](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/suppress-warnings) diagnostics apply.
Copy file name to clipboardExpand all lines: Philips.CodeAnalysis.MaintainabilityAnalyzers/Philips.CodeAnalysis.MaintainabilityAnalyzers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,5 +90,5 @@
90
90
|[PH2138](../Documentation/Diagnostics/PH2138.md)| Avoid void returns | Methods that return void are mysterious. |
91
91
|[PH2139](../Documentation/Diagnostics/PH2139.md)| Enable documentation creation | Add XML documentation generation to the project file, to be able to see Diagnostics for XML documentation. |
92
92
|[PH2140](../Documentation/Diagnostics/PH2140.md)| Avoid ExcludeFromCodeCoverage attribute | Avoid the usage of the 'ExcludeFromCodeCoverage' attribute. |
93
-
|[PH2142](../Documentation/Diagnostics/PH2142.md)| Avoid Casting to String| Avoid casting to int, use `object.ToString()` or a serialization solution instead. |
93
+
|[PH2141](../Documentation/Diagnostics/PH2141.md)| Avoid Empty Regions | Avoid writing regions that have no code inside. |
94
94
|[PH2143](../Documentation/Diagnostics/PH2143.md)| Avoid Assembly.GetEntryAssembly() | Avoid using Assembly.GetEntryAssembly(), as it might give different results when your code runs under a TestRunner. |
privateconststringNonCheckedRegionMemberTitle=@"Members location relative to regions (Enforce Region Analyzer).";
31
-
publicconststringNonCheckedRegionMemberTitleMessageFormat=@"Member's location relative to region {0} should be verified in Enforce Regions Analyzer";
32
-
privateconststringNonCheckedRegionMemberTitleDescription=@"Member's location relative to region {0} should be verified. Implement the check in enforce region analyer";
publicconststringNonCheckedRegionMemberMessageFormat=@"Member's location relative to region {0} should be verified in Enforce Regions Analyzer";
33
+
privateconststringNonCheckedRegionMemberDescription=@"Member's location relative to region {0} should be verified. Implement the check in enforce region analyer";
0 commit comments