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