215 references to Regular7
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (2)
567parseOptions: TestOptions.Regular7); 1798parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
CodeActions\GenerateType\GenerateTypeTests.cs (2)
1676parseOptions: TestOptions.Regular7); 1830parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (20)
CodeGen\CodeGenAwaitUsingTests.cs (1)
328comp = CreateCompilationWithTasksExtensions([source, IAsyncDisposableDefinition], parseOptions: TestOptions.Regular7);
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); 3732var comp = CreateCompilationWithMscorlib40(source, references: new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular7); 3858var comp = CreateCompilation(source, targetFramework: TargetFramework.NetFramework, 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.Emit3.UnitTests (30)
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
5222new[] { SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular7, path: @"C:\filename", encoding: Encoding.UTF8) }, 5292var compilation = CreateCompilationWithMscorlib461(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)
5250CreateCompilation(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 5810var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5853var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5896var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5942var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 5988var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7); 6128CreateCompilation(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 7331comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 7366var comp = CreateCompilation(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
Semantics\PatternMatchingTests4.cs (6)
3859CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3880CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3902CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3924CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3948CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics( 3975CreateCompilation(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
InlineTemporary\InlineTemporaryTests.cs (2)
4041""", parseOptions: TestOptions.Regular7); 4122""", parseOptions: TestOptions.Regular7);
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (2)
567parseOptions: TestOptions.Regular7); 1798parseOptions: TestOptions.Regular7);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (127)
Semantics\BindingAsyncTests.cs (1)
1308CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Semantics\BindingTests.cs (1)
2213CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
Semantics\ForEachTests.cs (1)
285CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Semantics\ImplicitObjectCreationTests.cs (1)
1839var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\NonTrailingNamedArgumentsTests.cs (2)
334var lib = CreateCompilation(lib_cs, parseOptions: TestOptions.Regular7); 822var comp2 = CreateCompilation(source, parseOptions: TestOptions.Regular7);
Semantics\NullableReferenceTypesTests.cs (112)
4138var c = CreateCompilation(source, parseOptions: TestOptions.Regular7); 7528var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7); 8582var comp = CreateCompilation("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7); 8644var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7); 8669var comp = CreateCompilationWithMscorlib461(source, parseOptions: TestOptions.Regular7); 8705var comp0 = CreateEmptyCompilation(source0, parseOptions: TestOptions.Regular7); 8811var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 8818var comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8821comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8841comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8844comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8871comp1 = CreateCompilation(source1, references: compRefs0, parseOptions: TestOptions.Regular7); 8874comp1 = CreateCompilation(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7); 8928var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 8975var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9017var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 9043var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 9081var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9155var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9246var comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9250var comp2A = CreateCompilation(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7); 9336var comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9372comp1 = CreateCompilation(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7); 9424var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 9548var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9717var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9854var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 9956var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10083var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10203var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 10379var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 10404var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 10407comp = CreateCompilation(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 10427var obliviousComp = CreateCompilation(obliviousLib, parseOptions: TestOptions.Regular7); 19669", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19805", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19873", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19918", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 19989", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20039", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20119", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 20187", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 36678", parseOptions: TestOptions.Regular7); 36734", parseOptions: TestOptions.Regular7); 56662var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56711var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56786var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56850var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56897var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 56943var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 57304var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 57550var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58433var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58826var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 58885var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 59046parseOptions: TestOptions.Regular7); 59764var c = CreateCompilation(source, parseOptions: TestOptions.Regular7); 60341var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60466var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60528var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60583var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60661var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60750var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 60855var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 61142var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 63840", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 64603var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 64661var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 64734var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 65546parseOptions: TestOptions.Regular7); 76905var piaCompilation = CreateCompilationWithMscorlib461(pia, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7); 78869var compA = CreateCompilation(sourceA, parseOptions: TestOptions.Regular7); 79196parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 80632parseOptions: TestOptions.Regular7); 80723comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 81807var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true); 88883var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 88943var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 89043var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 89056var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 89214var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 92820var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 92878var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 92920var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 92991var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93035var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93108var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93152var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93253var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93294var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93341var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93536var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93592var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93665var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93793var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93831var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 93917var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 94129var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111108var comp = CreateCompilation(new[] { source }, parseOptions: TestOptions.Regular7); 111370var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111406var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111439var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111475var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111508var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111846var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111888var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111908var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 111982var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 112125var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 112210var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 112278var comp0 = CreateCompilation(source0, parseOptions: TestOptions.Regular7); 127123var comp = CreateCompilation(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
Semantics\SemanticErrorTests.cs (2)
2215CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 2929CreateCompilation(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)
1986comp = CreateCompilation(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7); 2363comp = 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)
2861compilation2 = CreateCompilation(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular7);
Symbols\IndexerTests.cs (2)
1788CreateCompilation(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 1903CreateCompilation(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)
848CreateCompilation(text, parseOptions: TestOptions.Regular7, 876CreateCompilation(text, parseOptions: TestOptions.Regular7, 898CreateCompilation(text, parseOptions: TestOptions.Regular7, 1716CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 1763CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 3238CreateCompilation(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics( 4204", parseOptions: TestOptions.Regular7) 4228", parseOptions: TestOptions.Regular7) 9147var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7); 9180var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp); 9799CreateCompilation(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics( 10811var comp = CreateCompilation(text, parseOptions: TestOptions.Regular7); 14893}", parseOptions: TestOptions.Regular7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Parsing\LambdaReturnTypeParsingTests.cs (2)
2882UsingExpression(source, options: TestOptions.Regular7); 2925UsingExpression(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)
648var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular7);