107 references to CSharp7_3
Microsoft.CodeAnalysis.CSharp (5)
Errors\MessageID.cs (1)
612return LanguageVersion.CSharp7_3;
LanguageVersion.cs (4)
287case LanguageVersion.CSharp7_3: 323case LanguageVersion.CSharp7_3: 396case LanguageVersion.CSharp7_3: 498result = LanguageVersion.CSharp7_3;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
39=> options.LanguageVersion() >= LanguageVersion.CSharp7_3;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (31)
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (1)
11715LanguageVersion = LanguageVersion.CSharp7_3,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
25CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_3);
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
8878""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3));
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (20)
285LanguageVersion.CSharp7_3, 298LanguageVersion.CSharp7_3, 311LanguageVersion.CSharp7_3, 324LanguageVersion.CSharp7_3, 341new CSharpParseOptions(LanguageVersion.CSharp7_3)); 355new CSharpParseOptions(LanguageVersion.CSharp7_3)); 372new CSharpParseOptions(LanguageVersion.CSharp7_3)); 715LanguageVersion.CSharp7_3, 748LanguageVersion.CSharp7_3, 777LanguageVersion.CSharp7_3, 811LanguageVersion.CSharp7_3, 849new CSharpParseOptions(LanguageVersion.CSharp7_3)); 877new CSharpParseOptions(LanguageVersion.CSharp7_3)); 891new CSharpParseOptions(LanguageVersion.CSharp7_3)); 905new CSharpParseOptions(LanguageVersion.CSharp7_3)); 919new CSharpParseOptions(LanguageVersion.CSharp7_3)); 932new CSharpParseOptions(LanguageVersion.CSharp7_3)); 965new CSharpParseOptions(LanguageVersion.CSharp7_3)); 994new CSharpParseOptions(LanguageVersion.CSharp7_3)); 1028new CSharpParseOptions(LanguageVersion.CSharp7_3));
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundAssignmentTests.cs (1)
286LanguageVersion = LanguageVersion.CSharp7_3
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundCoalesceAssignmentTests.cs (2)
71""", LanguageVersion.CSharp7_3); 297""", LanguageVersion.CSharp7_3);
src\Analyzers\CSharp\Tests\UseInterpolatedVerbatimString\UseInterpolatedVerbatimStringCodeFixTests.cs (5)
49""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 64""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 88""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 114""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 129""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3)));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
1603[InlineData("7.3", LanguageVersion.CSharp7_3)] 1787InlineData(LanguageVersion.CSharp7_3, LanguageVersion.CSharp7_3), 1830InlineData("7.3", true, LanguageVersion.CSharp7_3),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (15)
CodeGen\CodeGenStackAllocInitializerTests.cs (15)
50parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 123parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 214", options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)); 313parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 369parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 410parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 429parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 493parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 528parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 568parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 670parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 726parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3), 869", options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)); 1050", options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)); 1699parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_WellKnownAttributes.cs (4)
13662CreateCompilation(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics( 13679CreateEmptyCompilation(code, references: WinRtRefs, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics( 13705CreateCompilation(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics( 13731CreateEmptyCompilation(code, references: WinRtRefs, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ImplementInterface\CSharpImplementInterfaceService.cs (1)
39=> options.LanguageVersion() >= LanguageVersion.CSharp7_3;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (37)
ConvertForToForEach\ConvertForToForEachTests.cs (1)
1730""", parameters: new TestParameters(new CSharpParseOptions(LanguageVersion.CSharp7_3)));
ConvertLinq\ConvertLinqQueryToForEachTests.cs (1)
4427await TestInRegularAndScriptAsync(source, output, parseOptions: new CSharpParseOptions(CodeAnalysis.CSharp.LanguageVersion.CSharp7_3));
EnableNullable\EnableNullableTests.cs (2)
569[InlineData(LanguageVersion.CSharp7_3)] 587LanguageVersion.CSharp7_3 => "CS8370",
ExtractMethod\ExtractLocalFunctionTests.cs (1)
3572""", CodeActionIndex, new TestParameters(options: Option(CSharpCodeStyleOptions.PreferStaticLocalFunction, CodeStyleOption2.TrueWithSilentEnforcement), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)));
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (1)
11715LanguageVersion = LanguageVersion.CSharp7_3,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
25CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_3);
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
8878""", options: PreferUnusedLocal, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3));
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (20)
285LanguageVersion.CSharp7_3, 298LanguageVersion.CSharp7_3, 311LanguageVersion.CSharp7_3, 324LanguageVersion.CSharp7_3, 341new CSharpParseOptions(LanguageVersion.CSharp7_3)); 355new CSharpParseOptions(LanguageVersion.CSharp7_3)); 372new CSharpParseOptions(LanguageVersion.CSharp7_3)); 715LanguageVersion.CSharp7_3, 748LanguageVersion.CSharp7_3, 777LanguageVersion.CSharp7_3, 811LanguageVersion.CSharp7_3, 849new CSharpParseOptions(LanguageVersion.CSharp7_3)); 877new CSharpParseOptions(LanguageVersion.CSharp7_3)); 891new CSharpParseOptions(LanguageVersion.CSharp7_3)); 905new CSharpParseOptions(LanguageVersion.CSharp7_3)); 919new CSharpParseOptions(LanguageVersion.CSharp7_3)); 932new CSharpParseOptions(LanguageVersion.CSharp7_3)); 965new CSharpParseOptions(LanguageVersion.CSharp7_3)); 994new CSharpParseOptions(LanguageVersion.CSharp7_3)); 1028new CSharpParseOptions(LanguageVersion.CSharp7_3));
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundAssignmentTests.cs (1)
286LanguageVersion = LanguageVersion.CSharp7_3
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundCoalesceAssignmentTests.cs (2)
71""", LanguageVersion.CSharp7_3); 297""", LanguageVersion.CSharp7_3);
src\Analyzers\CSharp\Tests\UseInterpolatedVerbatimString\UseInterpolatedVerbatimStringCodeFixTests.cs (5)
49""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 64""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 88""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 114""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3))); 129""", parameters: new TestParameters().WithParseOptions(new CSharpParseOptions(LanguageVersion.CSharp7_3)));
UseNamedArguments\UseNamedArgumentsTests.cs (1)
54LanguageVersion = LanguageVersion.CSharp7_3,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\TargetTypedConditionalOperatorTests.cs (2)
613CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(); 639CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\ExpressionParsingTests.cs (2)
211}}", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics( 267}}", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
30public static readonly CSharpParseOptions Regular7_3 = Regular.WithLanguageVersion(LanguageVersion.CSharp7_3);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\SemanticModelAPITests.vb (1)
2964", parseOptions:=New CSharp.CSharpParseOptions(CSharp.LanguageVersion.CSharp7_3))
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
1630await AssertCSParseOptionsAsync(CS.LanguageVersion.CSharp7_3.MapSpecifiedToEffectiveVersion(), options => options.LanguageVersion);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\CPS\AdditionalPropertiesTests.cs (1)
44[InlineData(LanguageVersion.CSharp7_3)]
ProjectSystemShim\LegacyProject\CSharpCompilerOptionsTests.cs (1)
169[InlineData(LanguageVersion.CSharp7_3)]