ParseOptions Class

Definition

Represents parse options common to C# and VB.

public abstract class ParseOptions
Inheritance
ParseOptions
Derived

Properties

DocumentationMode

Gets a value indicating whether the documentation comments are parsed and analyzed.

Errors

Errors collection related to an incompatible set of parse options

Features

Returns the experimental features.

Kind

Specifies whether to parse as regular code files, script files or interactive code.

Language

Gets the source language ("C#" or "Visual Basic").

PreprocessorSymbolNames

Names of defined preprocessor symbols.

SpecifiedKind

Gets the specified source code kind, which is the value that was specified in the call to the constructor, or modified using the WithKind(SourceCodeKind) method.

Methods

Operators

Applies to

Product Versions
Roslyn 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2