Click or drag to resize

ParseOptions Class



Represents parse options common to C# and VB.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class ParseOptions

The ParseOptions type exposes the following members.

Properties
  NameDescription
Public propertyDocumentationMode
Gets a value indicating whether the documentation comments are parsed.
Public propertyErrors
Errors collection related to an incompatible set of parse options
Public propertyFeatures
Returns the experimental features.
Public propertyKind
Specifies whether to parse as regular code files, script files or interactive code.
Public propertyLanguage
Gets the source language ("C#" or "Visual Basic").
Public propertyPreprocessorSymbolNames
Names of defined preprocessor symbols.
Public propertySpecifiedKind
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.
Top
Methods
  NameDescription
Protected methodCommonWithDocumentationMode
Protected methodCommonWithFeatures
Public methodCommonWithKind
Public methodEquals
Protected methodEqualsHelper
Public methodGetHashCode
Protected methodGetHashCodeHelper
Public methodWithDocumentationMode
Creates a new options instance with the specified documentation mode.
Public methodWithFeatures
Public methodWithKind
Creates a new options instance with the specified source code kind.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also