7 references to GetRequiredLanguageVersion
Microsoft.CodeAnalysis (1)
Diagnostic\Diagnostic.cs (1)
601
/// on such diagnostics, as they are recognized by <see cref="Compilation.
GetRequiredLanguageVersion
"/>.
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenTupleTest.cs (4)
10956
Assert.Equal("7.0", Compilation.
GetRequiredLanguageVersion
(comp.GetDiagnostics()[1]));
10957
Assert.Equal("7.0", Compilation.
GetRequiredLanguageVersion
(comp.GetDiagnostics()[2]));
10958
Assert.Null(Compilation.
GetRequiredLanguageVersion
(comp.GetDiagnostics()[3]));
10959
Assert.Throws<ArgumentNullException>(() => Compilation.
GetRequiredLanguageVersion
(null));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
14851
Assert.Throws(Of ArgumentNullException)(Sub() Compilation.
GetRequiredLanguageVersion
(Nothing))
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\AbstractDiagnosticPropertiesService.cs (1)
23
var requiredVersion = Compilation.
GetRequiredLanguageVersion
(diagnostic);