10 references to Options
Microsoft.CodeAnalysis.VisualBasic (10)
Parser\ParseExpression.vb (1)
1395
Dim allowNonTrailingNamedArguments = _scanner.
Options
.LanguageVersion.AllowNonTrailingNamedArguments()
Parser\Parser.vb (4)
75
Return _scanner.
Options
.Kind = SourceCodeKind.Script
6098
Return CheckFeatureAvailability(feature, node, _scanner.
Options
.LanguageVersion)
6116
Return ReportFeatureUnavailable(feature, node, _scanner.
Options
.LanguageVersion)
6120
Return CheckFeatureAvailability(_scanner.
Options
.LanguageVersion, feature)
Parser\ParseStatement.vb (1)
1868
If lookahead.Kind <> SyntaxKind.EndOfFileToken OrElse _scanner.
Options
.Kind = SourceCodeKind.Regular Then
Scanner\Scanner.vb (3)
2484
result = Parser.CheckFeatureAvailability(Feature.YearFirstDateLiterals, result,
Options
.LanguageVersion)
2585
result = Parser.CheckFeatureAvailability(Feature.MultilineStringLiterals, result,
Options
.LanguageVersion)
2699
Return CheckFeatureAvailability(Me.
Options
, feature)
Scanner\XmlDocComments.vb (1)
123
If Me.
Options
.DocumentationMode < DocumentationMode.Diagnose Then