119 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)
11134var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11157var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11185var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11210var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11235var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11255var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (38)
Semantics\NativeIntegerTests.cs (6)
15286var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15307var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15330var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15358var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15381var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15407var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\NullableReferenceTypesTests.cs (3)
4509var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable()); 4542var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable()); 4574var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
Semantics\RecordStructTests.cs (4)
3196var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3246var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3291var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3339var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\RecordTests.cs (21)
28149var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28201var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test"); 28263var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28314var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28349var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28379var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28408var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28439var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28472var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28518var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28556var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28603var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28650var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28698var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28746var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28798var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28851var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28908var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28958var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29016var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29073var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\SemanticErrorTests.cs (1)
21730new[] { Parse(text, options: TestOptions.RegularWithDocumentationComments) },
Semantics\TopLevelStatementsTests.cs (3)
9522var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 9539var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 9559var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (51)
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); 5873new[] { Parse(source, options: TestOptions.RegularWithDocumentationComments) }, 6700var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics(); 6723var parseOptions = TestOptions.RegularWithDocumentationComments; 6747var parseOptions = TestOptions.RegularWithDocumentationComments; 6774var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 6799var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 6823var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 6844var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 6863var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (35)
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); 925var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularWithDocumentationComments); 962var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 963var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1011var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1012var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1062var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1063var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1112var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1113var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1167var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1168var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1215var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1216var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1270var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1271var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1327var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1328var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1390var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1391var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 1453var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 1454var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 2472var tree1 = Parse(source1, options: TestOptions.RegularWithDocumentationComments); 2473var tree2 = Parse(source2, options: TestOptions.RegularWithDocumentationComments); 2968var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 4628var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 4629var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 5068var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 5320SyntaxTree tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 6425var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 6666Parse(source, options: TestOptions.RegularWithDocumentationComments, filename: sourcePath),
DocumentationComments\PartialTypeDocumentationCommentTests.cs (2)
35}", options: TestOptions.RegularWithDocumentationComments); 47}", options: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
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 (8)
438UsingNode("operator unchecked +", TestOptions.RegularWithDocumentationComments, 506UsingNode("operator unchecked +(A)", TestOptions.RegularWithDocumentationComments, 582UsingNode("T.operator unchecked +", TestOptions.RegularWithDocumentationComments, 767UsingNode("operator unchecked }}(A{A{T}})", TestOptions.RegularWithDocumentationComments, 902UsingNode("implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 983UsingNode("explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments, 1071UsingNode("T.implicit operator unchecked A", TestOptions.RegularWithDocumentationComments, 1175UsingNode("T.explicit operator unchecked A(B)", TestOptions.RegularWithDocumentationComments,
Parsing\ParserErrorMessageTests.cs (8)
6446SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6447SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6465SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6466SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6489SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6490SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify( 6509SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify(); 6510SyntaxFactory.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);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1148parseOptions = parseOptions != null ? parseOptions.WithDocumentationMode(DocumentationMode.Diagnose) : TestOptions.RegularWithDocumentationComments;