19 references to RegularDefault
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\ForeachTest.cs (1)
1683
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RefFieldTests.cs (7)
13432
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
13496
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
13572
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
13643
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
15125
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
27396
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
27456
comp = CreateCompilation(source, parseOptions: TestOptions.
RegularDefault
.WithFeature("run-nullable-analysis", "never"));
Semantics\RefLocalsAndReturnsTests.cs (2)
4965
var comp = CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
RegularDefault
.WithLanguageVersion(langVersion));
5018
var comp = CreateCompilationWithMscorlibAndSpan(source, parseOptions: TestOptions.
RegularDefault
.WithLanguageVersion(langVersion));
Semantics\SpanStackSafetyTests.cs (1)
2372
}", parseOptions: TestOptions.
RegularDefault
.WithLanguageVersion(languageVersion));
Semantics\TopLevelStatementsTests.cs (4)
8766
var oldTree = Parse(text: text1, options: TestOptions.
RegularDefault
);
8789
using var lexer = new Syntax.InternalSyntax.Lexer(newText, TestOptions.
RegularDefault
);
8794
var tree = CSharpSyntaxTree.Create(compilationUnit, TestOptions.
RegularDefault
, path: "", Encoding.UTF8, SourceHashAlgorithms.Default);
8798
var fullParseTree = Parse(text: text2, options: TestOptions.
RegularDefault
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Parsing\Utf8StringLiteralsParsingTests.cs (4)
594
foreach (var options in new[] { TestOptions.
RegularDefault
, TestOptions.Regular11, TestOptions.Regular10 })
612
foreach (var options in new[] { TestOptions.
RegularDefault
, TestOptions.Regular11, TestOptions.Regular10 })
748
foreach (var options in new[] { TestOptions.
RegularDefault
, TestOptions.Regular11, TestOptions.Regular10 })
770
foreach (var options in new[] { TestOptions.
RegularDefault
, TestOptions.Regular11, TestOptions.Regular10 })