61 references to WRN_MissingXMLComment
Microsoft.CodeAnalysis.CSharp (4)
Compiler\DocumentationCommentCompiler.cs (1)
353
_diagnostics.Add(ErrorCode.
WRN_MissingXMLComment
, location, symbol);
Errors\ErrorFacts.cs (2)
260
case ErrorCode.
WRN_MissingXMLComment
:
1261
or ErrorCode.
WRN_MissingXMLComment
Generated\ErrorFacts.Generated.cs (1)
84
case ErrorCode.
WRN_MissingXMLComment
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (3)
376
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28));
430
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28));
483
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\ExtensionTests2.cs (1)
5163
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M").WithArguments("extension(int).M()").WithLocation(4, 24));
Semantics\PrimaryConstructorTests.cs (4)
6423
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(2, 23),
6461
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(6, 23)
6494
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C.C(int)").WithLocation(2, 23),
6616
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(2, 23),
Semantics\RecordTests.cs (4)
28780
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(2, 23),
28831
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(6, 23)
28876
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C.C(int)").WithLocation(2, 23),
29038
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E.E(int)").WithLocation(2, 23),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\SemanticErrorTests.cs (4)
20138
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "MyClass").WithArguments("MyClass"),
20144
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Main").WithArguments("MyClass.Main()"));
21737
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Main").WithArguments("ns.MyClass.Main()"));
22017
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Main").WithArguments("Test.Main()"));
Semantics\TopLevelStatementsTests.cs (1)
9576
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Program").WithArguments("Program").WithLocation(4, 22)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (40)
DocumentationComments\CrefTests.cs (17)
4244
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M1").WithArguments("C.M1()"),
4247
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M2").WithArguments("C.M2()"),
4250
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M3").WithArguments("C.M3()"));
4310
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M1").WithArguments("A.B1.C.M1()"),
4313
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M2").WithArguments("A.B2.C.M2()"),
4316
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M3").WithArguments("A.B3.C.M3()"));
4339
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Class").WithArguments("C.Class"),
4342
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Method").WithArguments("C.Method()"),
4345
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Field").WithArguments("C.Field"),
4348
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Property").WithArguments("C.Property"),
4351
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "this").WithArguments("C.this[int]"),
4354
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "FieldLikeEvent").WithArguments("C.FieldLikeEvent"),
4357
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Event").WithArguments("C.Event"),
4360
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Delegate").WithArguments("C.Delegate"),
4394
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "D").WithArguments("D"));
4424
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "D").WithArguments("D").WithLocation(5, 22),
4427
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("E").WithLocation(7, 22));
DocumentationComments\DocumentationCommentCompilerTests.cs (23)
691
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Point").WithArguments("Point"));
1125
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "M").WithArguments("C.M()").WithLocation(4, 24)
1803
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "P").WithArguments("C.P").WithLocation(4, 24)
2199
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C").WithLocation(1, 22),
2217
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C").WithLocation(1, 22)));
2242
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C").WithLocation(1, 22),
2260
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C").WithLocation(1, 22)));
2594
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "E").WithArguments("C.E").WithLocation(4, 40)
2645
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C.C()").WithLocation(4, 20)
6814
var warnDict = new Dictionary<string, ReportDiagnostic> { { MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.
WRN_MissingXMLComment
), ReportDiagnostic.Suppress } };
6821
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C")); //Filtering happens later.
8175
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "C").WithArguments("C").WithWarningAsError(true));
8333
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "Example").WithArguments("Demo.Example"));
8692
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8729
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8765
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8807
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)
8853
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8893
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8929
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
8963
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
9007
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));
9051
Diagnostic(ErrorCode.
WRN_MissingXMLComment
, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));