btcpayserver/BTCPayServer/Filters
JesterHodl ec76acd3a6
Code analysis (#4293)
* Enable NETAnalyzers for whole project

- remove obsolete analyzers so that the .NET Core SDK NETAnalyzers can be used
- enable NETAnalyzers for all projects so that developers can use them by defining the AnalysisMode on individual projects

This is because if we set AnalysisMode to minimal, recommended or all it would spam with warning.
The idea is to be able to turn them on during development to fix recommended stuff without polluting the build output.

Following commits will implement some of the Code Analysis findings

* Performance hints for using char overloads for single characters (CA1834 and CA1847)

CA1834: Use StringBuilder.Append(char) for single character strings
CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
2022-11-20 17:42:36 +09:00
..
CheatModeRouteAttribute.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
ContentSecurityPolicyAttribute.cs Code analysis (#4293) 2022-11-20 17:42:36 +09:00
DomainMappingConstraintAttribute.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
ExperimentalRouteAttribute.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
JsonHttpExceptionFilter.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
JsonObjectExceptionFilter.cs [Greenfield] if some json property are invalid, throw nice error instead of an exception (fix #2795) 2022-01-10 22:11:04 +09:00
OnlyIfSupportAttribute.cs Split Options in BTCPayOptions (#2175) 2021-01-02 13:44:28 +01:00
OnlyMediaTypeAttribute.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ReferrerPolicyAttribute.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
XContentTypeOptionsAttribute.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
XFrameOptionsAttribute.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
XXSSProtectionAttribute.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00