Skip to main content

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

NameValueSummary
None0No option specified.
UseDefault1Use SyntaxKind.DefaultExpression or SyntaxKind.DefaultLiteralExpression.
AllowDefaultLiteral2Allow SyntaxKind.DefaultLiteralExpression instead of SyntaxKind.DefaultExpression.