284 references to Regular7_3
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
8143await TestWithOptionsAsync(TestOptions.Regular7_3,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
615var comp = CreateCompilationWithTasksExtensions(new[] { source }, parseOptions: TestOptions.Regular7_3); 1923var comp = CreateCompilationWithTasksExtensions(new[] { source, AsyncStreamsTypes }, parseOptions: TestOptions.Regular7_3);
CodeGen\CodeGenAwaitForeachTests.cs (6)
42var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, parseOptions: TestOptions.Regular7_3); 72var comp = CreateCompilationWithTasksExtensions(new[] { source, s_IAsyncEnumerable }, parseOptions: TestOptions.Regular7_3); 9089parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3); 9165parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3); 9243parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3); 9375parseOptions: withCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3);
CodeGen\CodeGenAwaitUsingTests.cs (2)
36var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.Regular7_3); 62var comp = CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.Regular7_3);
CodeGen\CodeGenForEachTests.cs (1)
1749var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
CodeGen\CodeGenOperators.cs (1)
6198var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
CodeGen\CodeGenReadonlyStructTests.cs (1)
2560{ false, TestOptions.Regular7_3, Verification.Passes },
CodeGen\CodeGenThrowTests.cs (1)
335CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
1865var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.Net70); 1889var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
FlowAnalysis\FlowTests.cs (1)
169comp = CreateCompilation(src, parseOptions: TestOptions.Regular7_3);
Semantics\OutVarTests.cs (5)
4474compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 9091compilation = CreateCompilationWithMscorlib461(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12084compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12234compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 12762compilation = CreateCompilationWithMscorlib461(source, new[] { SystemCoreRef }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
Semantics\PatternMatchingTests.cs (1)
4339CreateCompilationWithMscorlib40AndSystemCore(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\PatternMatchingTests_Scope.cs (5)
1448compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2175compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2311compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2778compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3); 2935compilation = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
Semantics\PatternMatchingTests2.cs (3)
1198compilation = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 2400CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 2435CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
Semantics\PatternMatchingTests3.cs (1)
1229CreateCompilation(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\PatternMatchingTests4.cs (1)
3831CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (120)
Semantics\ForEachTests.cs (2)
2349var comp = CreateEmptyCompilation(text, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 3195var boundNode = GetBoundForEachStatement(text, TestOptions.Regular7_3,
Semantics\FunctionPointerTests.cs (1)
3403comp = CreateCompilationWithFunctionPointers(source, parseOptions: TestOptions.Regular7_3);
Semantics\GenericConstraintsTests.cs (11)
3417CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 3464CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4001CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4031CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4057CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4081CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4104CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4127CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4154CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4184CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3) 4221CreateCompilation(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
Semantics\IndexAndRangeTests.cs (3)
79comp = CreateCompilationWithIndexAndRange(src, parseOptions: TestOptions.Regular7_3); 999var compilation = CreateCompilationWithIndex(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected); 1482CreateCompilationWithIndexAndRange(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected);
Semantics\InheritanceBindingTests.cs (2)
8752CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 8815CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\LambdaDiscardParametersTests.cs (1)
267var comp = CreateCompilation(src, parseOptions: TestOptions.Regular7_3);
Semantics\LambdaTests.cs (14)
3078var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3122var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3160var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3201var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3239var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3279var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3313var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3355var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3388var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3412var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3436var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3463var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3501var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3540var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
Semantics\LocalFunctionTests.cs (16)
2156var comp = CreateCompilation(src, parseOptions: TestOptions.Regular7_3); 3032var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3056var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 3733var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5254var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5303var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5347var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5410var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5449var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5493var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5541var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5580var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5620var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5693var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5727var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 5755var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
Semantics\NameCollisionTests.cs (6)
834CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 894CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1099CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1168CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1776CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1839CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\NullableReferenceTypesTests.cs (19)
6643var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 7866var c2 = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 8589var comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3); 8595comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3); 8601comp = CreateCompilation("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3); 8613comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3); 8619comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3); 8625comp = CreateCompilation(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3); 81767comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 81874var comp = CreateCompilation(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3); 97834comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 97848comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 99131comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 99134comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 100407var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7_3); 100428comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 101861var compilation = CreateCompilation(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 136642CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7_3) 136672CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7_3)
Semantics\NullableTests.cs (1)
66var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
Semantics\QueryTests.cs (1)
4231VerifyOperationTreeAndDiagnosticsForTest<QueryExpressionSyntax>(source, expectedOperationTree, expectedDiagnostics, parseOptions: TestOptions.Regular7_3);
Semantics\ReadOnlyStructsTests.cs (1)
2339var comp = CreateCompilation(csharp, parseOptions: TestOptions.Regular7_3);
Semantics\RefEscapingTests.cs (1)
46}", options: TestOptions.Regular7_3);
Semantics\SemanticAnalyzerTests.cs (1)
82CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (6)
4002var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7_3); 4727CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 4755CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 22579CreateCompilationWithMscorlib40(source, references: new[] { Net40.References.SystemCore }, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 22640CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 22686CompileAndVerifyWithMscorlib40(source, expectedOutput: "True", references: new[] { Net40.References.SystemCore }, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (9)
597CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3) 646CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3) 695CreateCompilationWithMscorlibAndSpan(source, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3) 1716CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1749CreateCompilationWithMscorlibAndSpan(test, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1793CreateCompilationWithMscorlibAndSpan(test, TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1894CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1931CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1959CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\StackAllocSpanExpressionsTests.cs (8)
345CreateCompilationWithMscorlibAndSpan(source, TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 512CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 540CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 561CreateCompilationWithMscorlibAndSpan(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 588CreateCompilationWithMscorlibAndSpan(test, TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 648CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 671CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 691CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\SwitchTests.cs (3)
2719CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 2753CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(); 2946CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
Semantics\TargetTypedDefaultTests.cs (6)
1365var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 1471var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 1574var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3); 1624var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe); 1787var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe); 2696var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
Semantics\UnsafeTests.cs (4)
9824CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 10061CreateCompilation(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 11166CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 11197CreateCompilationWithMscorlibAndSpan(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Semantics\UsingDeclarationTests.cs (2)
849CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected); 878CreateCompilationWithTasksExtensions(new[] { source, IAsyncDisposableDefinition }, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected);
Semantics\UsingStatementTests.cs (2)
1163CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1192CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (93)
Compilation\SemanticModelAPITests.cs (2)
94comp2 = CreateCompilation(src2, parseOptions: TestOptions.Regular7_3, 4421var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7_3);
Symbols\ConversionTests.cs (1)
1382CreateCompilation(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Symbols\DefaultInterfaceImplementationTests.cs (73)
1746parseOptions: TestOptions.Regular7_3); 1777parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, skipUsesIsNullable: true); 1821parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3); 1872parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 1929parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 2016parseOptions: TestOptions.Regular7_3, 4535parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 4581parseOptions: TestOptions.Regular7_3); 4736parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 4803parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 4868parseOptions: TestOptions.Regular7_3, 6082parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 6128parseOptions: TestOptions.Regular7_3); 6190parseOptions: TestOptions.Regular7_3, 6237parseOptions: TestOptions.Regular7_3, 6284parseOptions: TestOptions.Regular7_3, 7533parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 7561parseOptions: TestOptions.Regular7_3); 7664parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 7713parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 7761parseOptions: TestOptions.Regular7_3, 8613parseOptions: TestOptions.Regular7_3, 8813parseOptions: TestOptions.Regular7_3); 10457parseOptions: TestOptions.Regular7_3, 11234parseOptions: TestOptions.Regular7_3); 11257parseOptions: TestOptions.Regular7_3, 13568parseOptions: TestOptions.Regular7_3, 14066parseOptions: TestOptions.Regular7_3); 16918parseOptions: TestOptions.Regular7_3, 22042parseOptions: TestOptions.Regular7_3, 22448parseOptions: TestOptions.Regular7_3); 27134parseOptions: TestOptions.Regular7_3, 27694parseOptions: TestOptions.Regular7_3); 30266parseOptions: TestOptions.Regular7_3, 31810parseOptions: TestOptions.Regular7_3); 33118parseOptions: TestOptions.Regular7_3, 33142parseOptions: TestOptions.Regular7_3, 33800parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 34490parseOptions: TestOptions.Regular7_3, 37275parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 37292parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 37988parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 38827parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 40213parseOptions: TestOptions.Regular7_3, 40243parseOptions: TestOptions.Regular7_3, 41489parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 43845parseOptions: TestOptions.Regular7_3, 43982parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 44112parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 44289parseOptions: TestOptions.Regular7_3, 44390parseOptions: TestOptions.Regular7_3, 45112parseOptions: TestOptions.Regular7_3, 45265parseOptions: TestOptions.Regular7_3, 45404parseOptions: TestOptions.Regular7_3, 45596parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 45733parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 46613parseOptions: TestOptions.Regular7_3); 46768parseOptions: TestOptions.Regular7_3); 46846parseOptions: TestOptions.Regular7_3); 46866parseOptions: TestOptions.Regular7_3); 46880parseOptions: TestOptions.Regular7_3); 47257parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 47268parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 48239parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 48253parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.NetCoreApp); 52409parseOptions: isStatic ? TestOptions.Regular10 : TestOptions.Regular7_3, 57220parseOptions: TestOptions.Regular7_3, 57305parseOptions: TestOptions.Regular7_3, 57381parseOptions: TestOptions.Regular7_3, 59414parseOptions: TestOptions.Regular7_3, 62198parseOptions: TestOptions.Regular7_3, 62239parseOptions: TestOptions.Regular7_3, 62274parseOptions: TestOptions.Regular7_3,
Symbols\Source\NullablePublicAPITests.cs (5)
441var comp3 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 473var comp6 = CreateCompilation("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3); 1043var comp3 = CreateCompilation(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true); 1059var comp6 = CreateCompilation("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3); 1817var comp = CreateCompilation(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
Symbols\StaticAbstractMembersInInterfacesTests.cs (12)
589parseOptions: TestOptions.Regular7_3, 709parseOptions: TestOptions.Regular7_3, 2257parseOptions: TestOptions.Regular7_3, 2359parseOptions: TestOptions.Regular7_3, 3076parseOptions: TestOptions.Regular7_3, 3179parseOptions: TestOptions.Regular7_3, 3801parseOptions: TestOptions.Regular7_3, 3918parseOptions: TestOptions.Regular7_3, 4014parseOptions: TestOptions.Regular7_3, 4206parseOptions: TestOptions.Regular7_3, 4452parseOptions: TestOptions.Regular7_3, 4638parseOptions: TestOptions.Regular7_3,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (36)
Diagnostics\DiagnosticTest.cs (6)
2140CreateCompilation(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1); 2145CreateCompilation(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(); 2152CreateCompilation(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1); 2159CreateCompilation(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1); 2173CreateCompilation(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2); 2180CreateCompilation(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
LexicalAndXml\PreprocessorTests.cs (2)
3751var node = Parse(text, options: TestOptions.Regular7_3); 4466var node = Parse(text, options: TestOptions.Regular7_3);
Parsing\AsyncStreamsParsingTests.cs (3)
45", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3); 286", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3); 479", options: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular7_3);
Parsing\DeclarationParsingTests.cs (10)
7162", TestOptions.Regular7_3); 7206", TestOptions.Regular7_3, 8359", TestOptions.Regular7_3, 8403text, TestOptions.Regular7_3, 8452", TestOptions.Regular7_3, 8529CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 8568var tree = UsingNode(text, TestOptions.Regular7_3, 8646text, TestOptions.Regular7_3, 8693text, TestOptions.Regular7_3, 8741text, TestOptions.Regular7_3,
Parsing\ExpressionParsingTests.cs (4)
216UsingExpression(text, TestOptions.Regular7_3); 272UsingExpression(text, TestOptions.Regular7_3); 5240CreateCompilation(testWithStatement, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 5251UsingExpression(test, TestOptions.Regular7_3);
Parsing\LocalFunctionParsingTests.cs (8)
1720CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1736UsingDeclaration(text, options: TestOptions.Regular7_3); 1805CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 1851UsingDeclaration(text, options: TestOptions.Regular7_3); 1939CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 2018UsingDeclaration(text, options: TestOptions.Regular7_3, 2474CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 2535UsingDeclaration(text, options: TestOptions.Regular7_3,
Parsing\PatternParsingTests.cs (1)
5524UsingStatement("switch(e) { case _: break; }", TestOptions.Regular7_3);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
793CreateCompilation(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics( 817UsingNode(text, options: TestOptions.Regular7_3);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
65public static readonly CSharpParseOptions RegularWithoutRecursivePatterns = Regular7_3;