121 references to RegularWithDocumentationComments
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
BreakingChanges.cs (2)
197
var tree = Parse(text, options: TestOptions.
RegularWithDocumentationComments
);
216
var tree = Parse(text, options: TestOptions.
RegularWithDocumentationComments
);
CodeGen\CodeGenTests.cs (1)
33
var parseOptions = TestOptions.
RegularWithDocumentationComments
;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Emit\NumericIntPtrTests.cs (6)
11168
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11191
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11219
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11244
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11269
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11289
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Semantics\RecordTests.cs (21)
28132
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28222
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, assemblyName: "Test");
28284
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28335
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28370
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28400
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28429
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28460
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28493
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28539
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28577
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28624
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28671
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28719
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28767
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28819
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28872
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28929
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28979
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29037
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29094
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NativeIntegerTests.cs (6)
15312
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15333
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15356
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15384
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15407
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15433
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Semantics\NullableReferenceTypesTests.cs (3)
4521
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, options: WithNullableEnable());
4554
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, options: WithNullableEnable());
4586
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, options: WithNullableEnable());
Semantics\RecordStructTests.cs (4)
3196
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3276
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3321
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3369
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Semantics\SemanticErrorTests.cs (1)
21900
new[] { Parse(text, options: TestOptions.
RegularWithDocumentationComments
) },
Semantics\TopLevelStatementsTests.cs (3)
9534
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
9551
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
9571
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (53)
DocumentationComments\CrefTests.cs (14)
247
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
);
277
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
);
4968
var compilation = (Compilation)CreateCompilationWithMscorlib40AndSystemCore(source, parseOptions: TestOptions.
RegularWithDocumentationComments
);
5122
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
5228
SyntaxTree tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
5873
new[] { Parse(source, options: TestOptions.
RegularWithDocumentationComments
) },
6700
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
).VerifyDiagnostics();
6917
var parseOptions = TestOptions.
RegularWithDocumentationComments
;
6941
var parseOptions = TestOptions.
RegularWithDocumentationComments
;
6968
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.NetCoreApp);
6993
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7017
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.NetCoreApp);
7038
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7057
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (37)
37
parseOptions: TestOptions.
RegularWithDocumentationComments
,
759
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
760
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
887
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
888
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
926
var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularWithDocumentationComments
);
968
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
969
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1017
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1018
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1068
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1069
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1118
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1119
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1173
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1174
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1221
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1222
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1276
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1277
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1333
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1334
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1396
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1397
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1459
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
1460
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
1512
var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularWithDocumentationComments
);
1650
var tree = SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.
RegularWithDocumentationComments
);
3162
var tree1 = Parse(source1, options: TestOptions.
RegularWithDocumentationComments
);
3163
var tree2 = Parse(source2, options: TestOptions.
RegularWithDocumentationComments
);
3658
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
5318
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
5319
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
5758
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
6010
SyntaxTree tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
7115
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
7356
Parse(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)
444
using (var lexer = new InternalSyntax.Lexer(SourceText.From(text + "'"), TestOptions.
RegularWithDocumentationComments
))
LexicalAndXml\NameAttributeValueLexerTests.cs (1)
408
using (var lexer = new InternalSyntax.Lexer(SourceText.From(text + "'"), TestOptions.
RegularWithDocumentationComments
))
Parsing\CrefParsingTests.cs (8)
438
UsingNode("operator unchecked +", TestOptions.
RegularWithDocumentationComments
,
506
UsingNode("operator unchecked +(A)", TestOptions.
RegularWithDocumentationComments
,
582
UsingNode("T.operator unchecked +", TestOptions.
RegularWithDocumentationComments
,
767
UsingNode("operator unchecked }}(A{A{T}})", TestOptions.
RegularWithDocumentationComments
,
902
UsingNode("implicit operator unchecked A", TestOptions.
RegularWithDocumentationComments
,
983
UsingNode("explicit operator unchecked A(B)", TestOptions.
RegularWithDocumentationComments
,
1071
UsingNode("T.implicit operator unchecked A", TestOptions.
RegularWithDocumentationComments
,
1175
UsingNode("T.explicit operator unchecked A(B)", TestOptions.
RegularWithDocumentationComments
,
Parsing\ParserErrorMessageTests.cs (8)
6285
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify();
6286
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify(
6304
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify();
6305
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify(
6328
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify();
6329
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify(
6348
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp2)).GetDiagnostics().Verify();
6349
SyntaxFactory.ParseSyntaxTree(text, options: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp1)).GetDiagnostics().Verify();
Parsing\RoundTrippingTests.cs (1)
23
ParseAndRoundTripping(text, TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.Preview), errorCount, memberCount);
Syntax\SyntaxRewriterTests.cs (1)
649
var oldTree = CSharpTestBase.Parse(oldSource, options: TestOptions.
RegularWithDocumentationComments
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1232
parseOptions = parseOptions != null ? parseOptions.WithDocumentationMode(DocumentationMode.Diagnose) : TestOptions.
RegularWithDocumentationComments
;