DefaultSyntaxOptions Enum
Namespace: Roslynator.CSharp
Assembly: Roslynator.CSharp.Workspaces.dll
Defines how a syntax representing a default value of a type should look like.
[Flags]
public enum DefaultSyntaxOptions
Inheritance
Object → ValueType → Enum → DefaultSyntaxOptions
Attributes
Fields
Name | Value | Summary |
---|---|---|
None | 0 | No option specified. |
UseDefault | 1 | Use SyntaxKind.DefaultExpression or SyntaxKind.DefaultLiteralExpression. |
AllowDefaultLiteral | 2 | Allow SyntaxKind.DefaultLiteralExpression instead of SyntaxKind.DefaultExpression. |