Banned Symbols Analyzer partial ban [Answered]
I currently ban
but I'd like to ban them only partially. Meaning, I want to disallow concrete types, but allow generic parameters. For example
is that even possible?
DbContext.Set<T>() methods in my project using https://github.com/dotnet/roslyn-analyzers/tree/main/src/Microsoft.CodeAnalysis.BannedApiAnalyzersbut I'd like to ban them only partially. Meaning, I want to disallow concrete types, but allow generic parameters. For example
is that even possible?
