CA1005: Avoid excessive parameters on generic types
CA1005: Avoid excessive parameters on generic types https://docs.microsoft.com/en-us/visualstudio/code-quality/install-roslyn-analyzers?view=vs-2019 需要先进行安装 Cause An externally visible generic type has more than two type parameters. Rule description The more type parameters a generic type contains, the more difficult it is to know and remember what each type parameter represents. It is usually obvious with one type parameter, as in List<T> , and in certain cases with two type parameters, as in Dictionary<TKey, TValue> . If more than two type parameters exist, the difficulty becomes too great