122 references to RegularWithDocumentationComments
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
BreakingChanges.cs (2)
197var tree = Parse(text, options: TestOptions.RegularWithDocumentationComments); 216var tree = Parse(text, options: TestOptions.RegularWithDocumentationComments);
CodeGen\CodeGenTests.cs (1)
33var parseOptions = TestOptions.RegularWithDocumentationComments;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Emit\NumericIntPtrTests.cs (6)
11174var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11197var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11225var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11250var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11275var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11295var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Semantics\RecordTests.cs (21)
28237var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28327var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test"); 28389var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28440var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28475var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28505var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28534var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28565var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28598var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28644var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28682var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28729var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28776var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28824var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28872var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28924var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28977var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29034var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29084var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29142var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29199var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NativeIntegerTests.cs (6)
15317var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15338var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15361var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15389var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15412var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15438var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\NullableReferenceTypesTests.cs (3)
4521var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable()); 4554var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable()); 4586var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
Semantics\RecordStructTests.cs (4)
3268var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3348var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3393var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3441var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\SemanticErrorTests.cs (1)
21954new[] { Parse(text, options: TestOptions.RegularWithDocumentationComments) },
Semantics\TopLevelStatementsTests.cs (3)
9534var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 9551var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 9571var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (53)
DocumentationComments\CrefTests.cs (14)
247var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments); 277var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments); 4968var compilation = (Compilation)CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.RegularWithDocumentationComments); 5122var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 5228SyntaxTree tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 5870new[] { Parse(source, options: TestOptions.RegularWithDocumentationComments) }, 6664var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics(); 6881var parseOptions = TestOptions.RegularWithDocumentationComments; 6905var parseOptions = TestOptions.RegularWithDocumentationComments; 6932var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 6957var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 6981var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 7002var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 7021var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (37)
37parseOptions: TestOptions.RegularWithDocumentationComments, 759var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 760var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 887var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 888var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 926var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularWithDocumentationComments); 968var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 969var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1017var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1018var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1068var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1069var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1118var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1119var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1173var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1174var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1221var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1222var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1276var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1277var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1333var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1334var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1396var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1397var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1459var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1460var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1512var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularWithDocumentationComments); 1650var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularWithDocumentationComments); 4217var tree1 = Parse(source1, options: TestOptions.RegularWithDocumentationComments); 4218var tree2 = Parse(source2, options: TestOptions.RegularWithDocumentationComments); 4713var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 6373var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 6374var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 6813var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 7065SyntaxTree tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 8170var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 8411Parse(source, options: TestOptions.RegularWithDocumentationComments, filename: sourcePath),
DocumentationComments\PartialTypeDocumentationCommentTests.cs (2)
35}", options: TestOptions.RegularWithDocumentationComments); 47}", options: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (22)
LexicalAndXml\CrefLexerTests.cs (1)
444using (var lexer = new InternalSyntax.Lexer(SourceText.From(text + "'"), TestOptions.RegularWithDocumentationComments))
LexicalAndXml\NameAttributeValueLexerTests.cs (1)
408using (var lexer = new InternalSyntax.Lexer(SourceText.From(text + "'"), TestOptions.RegularWithDocumentationComments))
Parsing\CrefParsingTests.cs (10)
438UsingNode("operator unchecked +", TestOptions.RegularWithDocumentationComments, 457UsingNode("operator +(A)", TestOptions.RegularWithDocumentationComments); 481UsingNode("operator checked +(A)", TestOptions.RegularWithDocumentationComments); 506UsingNode("operator unchecked +(A)", TestOptions.RegularWithDocumentationComments, 1020UsingNode("T.operator unchecked +", TestOptions.RegularWithDocumentationComments, 1765UsingNode("operator unchecked }}(A{A{T}})", TestOptions.RegularWithDocumentationComments, 1900UsingNode("implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 1981UsingNode("explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments, 2069UsingNode("T.implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 2173UsingNode("T.explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments,
Parsing\ParserErrorMessageTests.cs (8)
6285SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6286SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6304SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6305SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6328SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6329SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6348SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6349SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify();
Parsing\RoundTrippingTests.cs (1)
23ParseAndRoundTripping(text, TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.Preview), errorCount, memberCount);
Syntax\SyntaxRewriterTests.cs (1)
649var oldTree = CSharpTestBase.Parse(oldSource, options: TestOptions.RegularWithDocumentationComments);