Partager via


VisualBasicParseOptions Class

Definition

Represents Visual Basic parse options.

public ref class VisualBasicParseOptions sealed : Microsoft::CodeAnalysis::ParseOptions, IEquatable<Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^>
public sealed class VisualBasicParseOptions : Microsoft.CodeAnalysis.ParseOptions, IEquatable<Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions>
type VisualBasicParseOptions = class
    inherit ParseOptions
    interface IEquatable<VisualBasicParseOptions>
Public NotInheritable Class VisualBasicParseOptions
Inherits ParseOptions
Implements IEquatable(Of VisualBasicParseOptions)
Inheritance
VisualBasicParseOptions
Implements

Constructors

VisualBasicParseOptions(LanguageVersion, DocumentationMode, SourceCodeKind, IEnumerable<KeyValuePair<String,Object>>)

Creates an instance of VisualBasicParseOptions.

Properties

Default
DocumentationMode

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

(Inherited from ParseOptions)
Errors

Errors collection related to an incompatible set of parse options

(Inherited from ParseOptions)
Features
Kind

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

(Inherited from ParseOptions)
Language
LanguageVersion

Returns the effective language version, which the compiler uses to select the language rules to apply to the program.

PreprocessorSymbolNames

Returns a collection of preprocessor symbol names.

PreprocessorSymbols

The preprocessor symbols to parse with.

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.

(Inherited from ParseOptions)
SpecifiedLanguageVersion

Returns the specified language version, which is the value that was specified in the call to the constructor, or modified using the WithLanguageVersion(LanguageVersion) method, or provided on the command line.

Methods

CommonWithDocumentationMode(DocumentationMode) (Inherited from ParseOptions)
CommonWithFeatures(IEnumerable<KeyValuePair<String,String>>) (Inherited from ParseOptions)
CommonWithKind(SourceCodeKind)

Returns a ParseOptions instance for a specified Source Code Kind.

Equals(Object)

Indicates whether the current object is equal to another object.

Equals(VisualBasicParseOptions)

Determines whether the current object is equal to another object of the same type.

EqualsHelper(ParseOptions) (Inherited from ParseOptions)
GetHashCode()

Returns a hashcode for this instance.

GetHashCodeHelper() (Inherited from ParseOptions)
WithDocumentationMode(DocumentationMode)

Returns a VisualBasicParseOptions instance for a specified documentation mode.

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

Enable some experimental language features for testing.

WithKind(SourceCodeKind)

Returns a VisualBasicParseOptions instance for a specified source code kind.

WithLanguageVersion(LanguageVersion)

Returns a VisualBasicParseOptions instance for a specified language version.

WithPreprocessorSymbols(IEnumerable<KeyValuePair<String,Object>>)

Returns a VisualBasicParseOptions instance for a specified collection of KeyValuePairs representing pre-processor symbols.

WithPreprocessorSymbols(ImmutableArray<KeyValuePair<String,Object>>)

Returns a VisualBasicParseOptions instance for a specified collection of KeyValuePairs representing pre-processor symbols.

WithPreprocessorSymbols(KeyValuePair<String,Object>[])

Returns a VisualBasicParseOptions instance for a specified collection of KeyValuePairs representing pre-processor symbols.

Applies to