17 references to LanguageVersion
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Invocation.vb (1)
2904
DirectCast(argument.Syntax.SyntaxTree.Options, VisualBasicParseOptions).
LanguageVersion
,
Binding\Binder_Statements.vb (1)
1966
DirectCast(node.SyntaxTree.Options, VisualBasicParseOptions).
LanguageVersion
,
Binding\Binder_Utils.vb (1)
228
DirectCast(privateProtectedToken.SyntaxTree, VisualBasicSyntaxTree).Options.
LanguageVersion
,
Compilation\VisualBasicCompilation.vb (1)
491
Dim version = CType(tree.Options, VisualBasicParseOptions).
LanguageVersion
Compilation\VisualBasicDeterministicKeyBuilder.vb (1)
32
writer.Write("languageVersion", basicOptions.
LanguageVersion
)
Parser\ParseExpression.vb (1)
1395
Dim allowNonTrailingNamedArguments = _scanner.Options.
LanguageVersion
.AllowNonTrailingNamedArguments()
Parser\Parser.vb (3)
6098
Return CheckFeatureAvailability(feature, node, _scanner.Options.
LanguageVersion
)
6116
Return ReportFeatureUnavailable(feature, node, _scanner.Options.
LanguageVersion
)
6120
Return CheckFeatureAvailability(_scanner.Options.
LanguageVersion
, feature)
Scanner\Scanner.vb (4)
2484
result = Parser.CheckFeatureAvailability(Feature.YearFirstDateLiterals, result, Options.
LanguageVersion
)
2585
result = Parser.CheckFeatureAvailability(Feature.MultilineStringLiterals, result, Options.
LanguageVersion
)
2692
_options.
LanguageVersion
.GetErrorName(),
2709
Dim actual = parseOptions.
LanguageVersion
Symbols\ConstraintsHelper.vb (1)
469
DirectCast(syntaxNode.SyntaxTree.Options, VisualBasicParseOptions).
LanguageVersion
,
Syntax\SyntaxFactory.vb (1)
1072
Dim languageVersion As LanguageVersion = options.
LanguageVersion
VisualBasicParseOptions.vb (2)
249
If Not
LanguageVersion
.IsValid Then
250
builder.Add(Diagnostic.Create(MessageProvider.Instance, ERRID.ERR_BadLanguageVersion,
LanguageVersion
.ToString))