122 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)
11174
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11197
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11225
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11250
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11275
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
11295
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Semantics\RecordTests.cs (21)
28237
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28327
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, assemblyName: "Test");
28389
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28440
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28475
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28505
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28534
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28565
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28598
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28644
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28682
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28729
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28776
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28824
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28872
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28924
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
28977
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29034
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29084
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29142
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
29199
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NativeIntegerTests.cs (6)
15317
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15338
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15361
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15389
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15412
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
15438
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)
3268
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3348
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3393
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
3441
var comp = CreateCompilation(src, parseOptions: TestOptions.
RegularWithDocumentationComments
);
Semantics\SemanticErrorTests.cs (1)
21954
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
);
5870
new[] { Parse(source, options: TestOptions.
RegularWithDocumentationComments
) },
6664
var compilation = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
).VerifyDiagnostics();
6881
var parseOptions = TestOptions.
RegularWithDocumentationComments
;
6905
var parseOptions = TestOptions.
RegularWithDocumentationComments
;
6932
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.NetCoreApp);
6957
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
6981
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
, targetFramework: TargetFramework.NetCoreApp);
7002
var comp = CreateCompilation(source, parseOptions: TestOptions.
RegularWithDocumentationComments
.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7021
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
);
4217
var tree1 = Parse(source1, options: TestOptions.
RegularWithDocumentationComments
);
4218
var tree2 = Parse(source2, options: TestOptions.
RegularWithDocumentationComments
);
4713
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
6373
var tree1 = SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.
RegularWithDocumentationComments
);
6374
var tree2 = SyntaxFactory.ParseSyntaxTree(source2, options: TestOptions.
RegularWithDocumentationComments
);
6813
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
7065
SyntaxTree tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
8170
var tree = Parse(source, options: TestOptions.
RegularWithDocumentationComments
);
8411
Parse(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)
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 (10)
438
UsingNode("operator unchecked +", TestOptions.
RegularWithDocumentationComments
,
457
UsingNode("operator +(A)", TestOptions.
RegularWithDocumentationComments
);
481
UsingNode("operator checked +(A)", TestOptions.
RegularWithDocumentationComments
);
506
UsingNode("operator unchecked +(A)", TestOptions.
RegularWithDocumentationComments
,
1020
UsingNode("T.operator unchecked +", TestOptions.
RegularWithDocumentationComments
,
1765
UsingNode("operator unchecked }}(A{A{T}})", TestOptions.
RegularWithDocumentationComments
,
1900
UsingNode("implicit operator unchecked A", TestOptions.
RegularWithDocumentationComments
,
1981
UsingNode("explicit operator unchecked A(B)", TestOptions.
RegularWithDocumentationComments
,
2069
UsingNode("T.implicit operator unchecked A", TestOptions.
RegularWithDocumentationComments
,
2173
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
);