Click or drag to resize

VisualBasicParseOptions Class



Represents Visual Basic parse options.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisParseOptions
    Microsoft.CodeAnalysis.VisualBasicVisualBasicParseOptions

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

The VisualBasicParseOptions type exposes the following members.

Constructors
  NameDescription
Public methodVisualBasicParseOptions
Initializes a new instance of the VisualBasicParseOptions class
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Public propertyDocumentationMode
Gets a value indicating whether the documentation comments are parsed.
(Inherited from ParseOptions.)
Public propertyErrors
Errors collection related to an incompatible set of parse options
(Inherited from ParseOptions.)
Public propertyFeatures (Overrides ParseOptionsFeatures.)
Public propertyKind
Specifies whether to parse as regular code files, script files or interactive code.
(Inherited from ParseOptions.)
Public propertyLanguage (Overrides ParseOptionsLanguage.)
Public propertyLanguageVersion
Returns the effective language version, which the compiler uses to select the language rules to apply to the program.
Public propertyPreprocessorSymbolNames
Returns a collection of preprocessor symbol names.
(Overrides ParseOptionsPreprocessorSymbolNames.)
Public propertyPreprocessorSymbols
The preprocessor symbols to parse with.
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.
(Inherited from ParseOptions.)
Public propertySpecifiedLanguageVersion
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.
Top
Methods
  NameDescription
Public methodCommonWithKind
Returns a ParseOptions instance for a specified Source Code Kind.
(Overrides ParseOptionsCommonWithKind(SourceCodeKind).)
Public methodEquals(Object)
Indicates whether the current object is equal to another object.
(Overrides ParseOptionsEquals(Object).)
Public methodEquals(VisualBasicParseOptions)
Determines whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hashcode for this instance.
(Overrides ParseOptionsGetHashCode.)
Public methodWithDocumentationMode
Returns a VisualBasicParseOptions instance for a specified documentation mode.
Public methodWithFeatures(IEnumerableT) (Inherited from ParseOptions.)
Public methodWithFeatures(IEnumerableT)
Public methodWithKind
Returns a VisualBasicParseOptions instance for a specified source code kind.
Public methodWithLanguageVersion
Returns a VisualBasicParseOptions instance for a specified language version.
Public methodWithPreprocessorSymbols(IEnumerableT)
Public methodWithPreprocessorSymbols(KeyValuePairTKey, TValue)
Public methodWithPreprocessorSymbols(ImmutableArrayKeyValuePairTKey, TValue)
Top
See Also