Microsoft.CodeAnalysis.CodeStyle Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Code |
Represents a code style option and an associated notification option. Supports
being instantiated with T as a Boolean or an CodeStyleOption also has some basic support for migration a Boolean option
forward to an Similarly, enum-type code options will serialize out in a way that is compatible with hosts that expect the value to be a boolean. Specifically, if the enum value is 0 or 1 then those values will write back as false/true. |
Code |
|
Notification |
Offers different notification styles for enforcing a code style. Under the hood, it simply maps to DiagnosticSeverity |
.NET feedback
.NET is an open source project. Select a link to provide feedback: