ParseOptions Class

Definition

Represents parse options common to C# and VB.

public ref class ParseOptions abstract
public abstract class ParseOptions
type ParseOptions = class
Public MustInherit Class ParseOptions
Inheritance
ParseOptions
Derived

Properties

DocumentationMode

Gets a value indicating whether the documentation comments are parsed.

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

CommonWithDocumentationMode(DocumentationMode)
CommonWithFeatures(IEnumerable<KeyValuePair<String,String>>)
CommonWithKind(SourceCodeKind)
Equals(Object)
EqualsHelper(ParseOptions)
GetHashCode()
GetHashCodeHelper()
WithDocumentationMode(DocumentationMode)

Creates a new options instance with the specified documentation mode.

WithFeatures(IEnumerable<KeyValuePair<String,String>>)

Enable some experimental language features for testing.

WithKind(SourceCodeKind)

Creates a new options instance with the specified source code kind.

Operators

Equality(ParseOptions, ParseOptions)
Inequality(ParseOptions, ParseOptions)

Applies to