Code Analysis ReferenceAnalyzersRCS1158On this pageRCS1158: Static member in generic type should use a type parameterPropertiesPropertyValueDefault SeverityInfoMinimum language version-ExamplesExample #1diagnostic.cspublic class Foo<T>{ public static void Bar() { }}Applies toPackage Roslynator.Analyzers