53 references to WRN_MissingXMLComment
Microsoft.CodeAnalysis.CSharp (4)
Compiler\DocumentationCommentCompiler.cs (1)
311_diagnostics.Add(ErrorCode.WRN_MissingXMLComment, location, symbol);
Errors\ErrorFacts.cs (2)
247case ErrorCode.WRN_MissingXMLComment: 1199case ErrorCode.WRN_MissingXMLComment:
Generated\ErrorFacts.Generated.cs (1)
84case ErrorCode.WRN_MissingXMLComment:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (3)
375Diagnostic(ErrorCode.WRN_MissingXMLComment, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28)); 429Diagnostic(ErrorCode.WRN_MissingXMLComment, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28)); 482Diagnostic(ErrorCode.WRN_MissingXMLComment, "SayHello").WithArguments("Goo.Bar.Test1.SayHello()").WithLocation(7, 28));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\PrimaryConstructorTests.cs (4)
5807Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(2, 23), 5845Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(6, 23) 5878Diagnostic(ErrorCode.WRN_MissingXMLComment, "C").WithArguments("C.C(int)").WithLocation(2, 23), 6000Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(2, 23),
Semantics\RecordTests.cs (4)
28654Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(2, 23), 28705Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(6, 23) 28750Diagnostic(ErrorCode.WRN_MissingXMLComment, "C").WithArguments("C.C(int)").WithLocation(2, 23), 28912Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E.E(int)").WithLocation(2, 23),
Semantics\SemanticErrorTests.cs (4)
19914Diagnostic(ErrorCode.WRN_MissingXMLComment, "MyClass").WithArguments("MyClass"), 19920Diagnostic(ErrorCode.WRN_MissingXMLComment, "Main").WithArguments("MyClass.Main()")); 21513Diagnostic(ErrorCode.WRN_MissingXMLComment, "Main").WithArguments("ns.MyClass.Main()")); 21793Diagnostic(ErrorCode.WRN_MissingXMLComment, "Main").WithArguments("Test.Main()"));
Semantics\TopLevelStatementsTests.cs (1)
9563Diagnostic(ErrorCode.WRN_MissingXMLComment, "Program").WithArguments("Program").WithLocation(4, 22)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (33)
DocumentationComments\CrefTests.cs (17)
4244Diagnostic(ErrorCode.WRN_MissingXMLComment, "M1").WithArguments("C.M1()"), 4247Diagnostic(ErrorCode.WRN_MissingXMLComment, "M2").WithArguments("C.M2()"), 4250Diagnostic(ErrorCode.WRN_MissingXMLComment, "M3").WithArguments("C.M3()")); 4310Diagnostic(ErrorCode.WRN_MissingXMLComment, "M1").WithArguments("A.B1.C.M1()"), 4313Diagnostic(ErrorCode.WRN_MissingXMLComment, "M2").WithArguments("A.B2.C.M2()"), 4316Diagnostic(ErrorCode.WRN_MissingXMLComment, "M3").WithArguments("A.B3.C.M3()")); 4339Diagnostic(ErrorCode.WRN_MissingXMLComment, "Class").WithArguments("C.Class"), 4342Diagnostic(ErrorCode.WRN_MissingXMLComment, "Method").WithArguments("C.Method()"), 4345Diagnostic(ErrorCode.WRN_MissingXMLComment, "Field").WithArguments("C.Field"), 4348Diagnostic(ErrorCode.WRN_MissingXMLComment, "Property").WithArguments("C.Property"), 4351Diagnostic(ErrorCode.WRN_MissingXMLComment, "this").WithArguments("C.this[int]"), 4354Diagnostic(ErrorCode.WRN_MissingXMLComment, "FieldLikeEvent").WithArguments("C.FieldLikeEvent"), 4357Diagnostic(ErrorCode.WRN_MissingXMLComment, "Event").WithArguments("C.Event"), 4360Diagnostic(ErrorCode.WRN_MissingXMLComment, "Delegate").WithArguments("C.Delegate"), 4394Diagnostic(ErrorCode.WRN_MissingXMLComment, "D").WithArguments("D")); 4424Diagnostic(ErrorCode.WRN_MissingXMLComment, "D").WithArguments("D").WithLocation(5, 22), 4427Diagnostic(ErrorCode.WRN_MissingXMLComment, "E").WithArguments("E").WithLocation(7, 22));
DocumentationComments\DocumentationCommentCompilerTests.cs (16)
691Diagnostic(ErrorCode.WRN_MissingXMLComment, "Point").WithArguments("Point")); 1119Diagnostic(ErrorCode.WRN_MissingXMLComment, "M").WithArguments("C.M()").WithLocation(4, 24) 5069var warnDict = new Dictionary<string, ReportDiagnostic> { { MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_MissingXMLComment), ReportDiagnostic.Suppress } }; 5076Diagnostic(ErrorCode.WRN_MissingXMLComment, "C").WithArguments("C")); //Filtering happens later. 6430Diagnostic(ErrorCode.WRN_MissingXMLComment, "C").WithArguments("C").WithWarningAsError(true)); 6588Diagnostic(ErrorCode.WRN_MissingXMLComment, "Example").WithArguments("Demo.Example")); 6947Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 6984Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7020Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7062Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25) 7108Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7148Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7184Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7218Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7262Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25)); 7306Diagnostic(ErrorCode.WRN_MissingXMLComment, "IsExternalInit").WithArguments("System.Runtime.CompilerServices.IsExternalInit").WithLocation(4, 25));