关于[Analyzers for ASP.NET Core in .NET 6: Exploring .NET Core 6 - Part 7]的摘要:
Analyzers have been built into the C# compiler for some time now. Anyone can write their own analyzer, distribute it as a NuGet package, and hook into the compiler to find potential code issues. In this post I look at the changes to the existing ASP.NET Core analyzers in .NET 6, as well as the new ones added for the new minimal APIs. This post ended up a little long, so I've included shortcuts to each of the analyzers I describe in case you want to skip ahead...
原文地址: https://andrewlock.net/exploring-dotnet-6-part-7-analyzers-for-minimal-apis/