216 references to Regular7
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
CodeActions\InlineTemporary\InlineTemporaryTests.cs (2)
4033""", parseOptions: TestOptions.Regular7); 4114""", parseOptions: TestOptions.Regular7);
Diagnostics\GenerateType\GenerateTypeTests.cs (2)
1632parseOptions: TestOptions.Regular7); 1786parseOptions: TestOptions.Regular7);
ImplementAbstractClass\ImplementAbstractClassTests.cs (2)
541parseOptions: TestOptions.Regular7); 1724parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (19)
CodeGen\CodeGenDeconstructTests.cs (8)
1460var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe); 1503var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe); 1556var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 1585var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular7); 1607var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 8708var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 8730var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 8755var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (4)
229var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 267var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 3727var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular7); 3853var comp = CreateCompilationWithMscorlib45(source, references: new[] { Net451.System, Net451.SystemCore, Net451.SystemRuntime, ValueTupleRef }, parseOptions: TestOptions.Regular7);
CodeGen\SwitchTests.cs (6)
9441CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 9572CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 9765CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 9820CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 9873CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 9925CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Emit\EntryPointTests.cs (1)
144var compilation = CompileConsoleApp(source, parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (30)
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
5209new[] { SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular7, path: @"C:\filename", encoding: Encoding.UTF8) }, 5279var compilation = CreateCompilationWithMscorlib45(new SyntaxTree[] { SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular7, path: @"C:\filename") }).VerifyDiagnostics(
Attributes\AttributeTests_Nullable.cs (7)
371var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 490var comp = CreateCompilation(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7); 597var comp0 = CreateEmptyCompilation(source0, parseOptions: TestOptions.Regular7); 645var comp0 = CreateEmptyCompilation(source0, parseOptions: TestOptions.Regular7); 698var comp0 = CreateEmptyCompilation(source0, parseOptions: TestOptions.Regular7); 797var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 1407var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Attributes\AttributeTests_NullableContext.cs (2)
87var comp = CreateCompilation(new[] { source1, source2 }, parseOptions: TestOptions.Regular7); 128var comp = CreateCompilation(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
Attributes\AttributeTests_NullablePublicOnly.cs (3)
52var comp = CreateCompilation(NullablePublicOnlyAttributeDefinition, parseOptions: TestOptions.Regular7); 120var parseOptions = TestOptions.Regular7; 406var comp = CreateCompilation(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
FlowAnalysis\FlowTests.cs (1)
5510var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\PatternMatchingTests.cs (9)
5248CreateCompilation(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 5808var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5851var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5894var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5940var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5986var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 6126CreateCompilation(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 7329comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 7364var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
Semantics\PatternMatchingTests4.cs (6)
3808CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3829CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3851CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3873CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3897CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3924CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (4)
UsingDebugInfoTests.cs (4)
637var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 672var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 717var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 755var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (127)
Semantics\BindingAsyncTests.cs (1)
1258CreateCompilationWithMscorlib45(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Semantics\BindingTests.cs (1)
2180CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
Semantics\ForEachTests.cs (1)
284CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Semantics\ImplicitObjectCreationTests.cs (1)
1839var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\NonTrailingNamedArgumentsTests.cs (2)
333var lib = CreateCompilation(lib_cs, parseOptions: TestOptions.Regular7); 821var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\NullableReferenceTypesTests.cs (112)
4126var c = CreateCompilation(source, parseOptions: TestOptions.Regular7); 7516var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 8570var comp = CreateCompilation("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7); 8632var comp = CreateCompilationWithMscorlib45(source, parseOptions: TestOptions.Regular7); 8657var comp = CreateCompilationWithMscorlib45(source, parseOptions: TestOptions.Regular7); 8693var comp0 = CreateEmptyCompilation(source0, parseOptions: TestOptions.Regular7); 8799var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 8806var comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8809comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8829comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8832comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8859comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8862comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8916var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 8963var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9005var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 9031var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 9069var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9143var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9234var comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9238var comp2A = CreateCompilation(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7); 9324var comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9360comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9412var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9536var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9705var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9842var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9944var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10071var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10191var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10367var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 10392var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 10395comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 10415var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 19630", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19766", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19834", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19879", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19950", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20000", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20080", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20148", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 34740", parseOptions: TestOptions.Regular7); 34796", parseOptions: TestOptions.Regular7); 54482var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54531var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54606var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54670var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54717var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54763var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 54878var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 55124var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56007var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56400var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56459var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56592parseOptions: TestOptions.Regular7); 57310var c = CreateCompilation(source, parseOptions: TestOptions.Regular7); 57887var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58018var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58080var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58135var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58213var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58302var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58407var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58694var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 61392", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 62126var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 62184var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 62257var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 63069parseOptions: TestOptions.Regular7); 73252var piaCompilation = CreateCompilationWithMscorlib45(pia, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 75216var compA = CreateCompilation(sourceA, parseOptions: TestOptions.Regular7); 75543parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 76979parseOptions: TestOptions.Regular7); 77070comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 78160var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 85236var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 85296var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 85396var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 85409var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 85567var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89092var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89150var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89192var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89263var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89307var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89380var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89424var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89525var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89566var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89613var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89808var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89864var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 89937var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 90065var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 90103var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 90189var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 90401var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 107380var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 107642var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 107678var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 107711var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 107747var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 107780var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108118var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108160var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108180var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108254var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108397var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108482var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 108550var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 123395var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
Semantics\SemanticErrorTests.cs (2)
2217CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 2931CreateCompilation(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Semantics\TargetTypedDefaultTests.cs (3)
31var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 66var comp = CreateCompilationWithMscorlib46(source, parseOptions: TestOptions.Regular7); 1013var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\TopLevelStatementsTests.cs (2)
1974comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2351comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
Semantics\UninitializedNonNullableFieldTests.cs (2)
87var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 107var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (19)
Symbols\ExtensionMethodTests.cs (1)
2867compilation2 = CreateCompilation(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular7);
Symbols\IndexerTests.cs (2)
1787CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 1902CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
Symbols\Source\ClsComplianceTests.cs (1)
3496var parseOptions = TestOptions.Regular7;
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
91}", parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
52}", parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
Symbols\SymbolErrorTests.cs (13)
847CreateCompilation(text, parseOptions: TestOptions.Regular7, 875CreateCompilation(text, parseOptions: TestOptions.Regular7, 897CreateCompilation(text, parseOptions: TestOptions.Regular7, 1715CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 1762CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 3223CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 4143", parseOptions: TestOptions.Regular7) 4167", parseOptions: TestOptions.Regular7) 9057var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7); 9090var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp); 9709CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 10721var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7); 14798}", parseOptions: TestOptions.Regular7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Parsing\LambdaReturnTypeParsingTests.cs (2)
2809UsingExpression(source, options: TestOptions.Regular7); 2852UsingExpression(source, options: TestOptions.Regular7);
Parsing\StackAllocInitializerParsingTests.cs (8)
25CreateCompilation(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 33UsingExpression(test, options: TestOptions.Regular7); 72CreateCompilation(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 80UsingExpression(test, options: TestOptions.Regular7); 119CreateCompilation(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 127UsingExpression(test, options: TestOptions.Regular7); 153CreateCompilation(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 161UsingExpression(test, options: TestOptions.Regular7,
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
CodeGen\WinMdEventTests.cs (1)
647var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular7);