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