121 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)
11168var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11191var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11219var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11244var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11269var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70); 11289var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Semantics\RecordTests.cs (21)
28177var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28267var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test"); 28329var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28380var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28415var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28445var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28474var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28505var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28538var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28584var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28622var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28669var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28716var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28764var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28812var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28864var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28917var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 28974var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29024var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29082var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 29139var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NativeIntegerTests.cs (6)
15312var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15333var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15356var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15384var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15407var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 15433var 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)
3196var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3276var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3321var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments); 3369var comp = CreateCompilation(src, parseOptions: TestOptions.RegularWithDocumentationComments);
Semantics\SemanticErrorTests.cs (1)
21900new[] { 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); 5873new[] { Parse(source, options: TestOptions.RegularWithDocumentationComments) }, 6700var compilation = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics(); 6917var parseOptions = TestOptions.RegularWithDocumentationComments; 6941var parseOptions = TestOptions.RegularWithDocumentationComments; 6968var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 6993var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 7017var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp); 7038var comp = CreateCompilation(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp); 7057var 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); 3162var tree1 = Parse(source1, options: TestOptions.RegularWithDocumentationComments); 3163var tree2 = Parse(source2, options: TestOptions.RegularWithDocumentationComments); 3658var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 5318var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularWithDocumentationComments); 5319var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.RegularWithDocumentationComments); 5758var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 6010SyntaxTree tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 7115var tree = Parse(source, options: TestOptions.RegularWithDocumentationComments); 7356Parse(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)
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);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1232parseOptions = parseOptions != null ? parseOptions.WithDocumentationMode(DocumentationMode.Diagnose) : TestOptions.RegularWithDocumentationComments;