GuOrg / Gu.Roslyn.Asserts

Asserts for testing Roslyn analyzers.
MIT License
21 stars 7 forks source link

Add support for Analyzers with Configuration #272

Closed manfred-brands closed 2 years ago

manfred-brands commented 2 years ago

Roslyn 3.x supports context.Options.AnalyzerConfigOptionsProvider.GetOptions so an analyzer can get additional configuration from either .editorconfig or .globalconfig files. We need to be able to add the specific configuration option to RoslynAssert.