25 references to WRN_AmbiguousXMLReference
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Crefs.cs (2)
712
diagnostics.Add(ErrorCode.
WRN_AmbiguousXMLReference
, crefSyntax.Location, crefSyntax.ToString(), symbol, symbols[otherIndex]);
868
diagnostics.Add(ErrorCode.
WRN_AmbiguousXMLReference
, crefSyntax.Location, crefSyntax.ToString(), ambiguityWinner, viable[1]);
Errors\ErrorFacts.cs (2)
259
case ErrorCode.
WRN_AmbiguousXMLReference
:
813
case ErrorCode.
WRN_AmbiguousXMLReference
:
Generated\ErrorFacts.Generated.cs (1)
33
case ErrorCode.
WRN_AmbiguousXMLReference
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
19917
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "I.F").WithArguments("I.F", "I.F()", "I.F(int)"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
DocumentationComments\CrefTests.cs (6)
1212
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M").WithArguments("M", "C.M()", "C.M(int)"));
1386
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M()").WithArguments("M()", "B.M()", "B.M(__arglist)"));
1665
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "A{T, T}.M(T)").WithArguments("A{T, T}.M(T)", "A<T, T>.M(T)", "A<T, T>.M(T)"));
1703
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "A{T}.B{T}.M(T)").WithArguments("A{T}.B{T}.M(T)", "A<T>.B<T>.M(T)", "A<T>.B<T>.M(T)"));
1876
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C").WithArguments("C", "C", "C").WithLocation(3, 20));
2008
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "A").WithArguments("A", "A", "A"));
DocumentationComments\DocumentationCommentCompilerTests.cs (12)
5375
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M").WithArguments("M", "C.M(int)", "C.M(string)"),
5378
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M{T}").WithArguments("M{T}", "C.M<T>(int)", "C.M<T>(string)"),
5381
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C.M").WithArguments("C.M", "C.M(int)", "C.M(string)"),
5384
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C.M{T}").WithArguments("C.M{T}", "C.M<T>(int)", "C.M<T>(string)"));
5438
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M").WithArguments("M", "C.M<T>(int)", "C.M<T>(string)"),
5441
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M(int)").WithArguments("M(int)", "C.M<T>(int)", "C.M<T, U>(int)"),
5444
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M{T}").WithArguments("M{T}", "C.M<T>(int)", "C.M<T>(string)"),
5447
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C.M").WithArguments("C.M", "C.M<T>(int)", "C.M<T>(string)"),
5450
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C.M(int)").WithArguments("C.M(int)", "C.M<T>(int)", "C.M<T, U>(int)"),
5453
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "C.M{T}").WithArguments("C.M{T}", "C.M<T>(int)", "C.M<T>(string)"));
5505
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "N").WithArguments("N", "C.N(int)", "C.N(string)"));
6821
Diagnostic(ErrorCode.
WRN_AmbiguousXMLReference
, "M").WithArguments("M", "C.M(char)", "C.M(int)"));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1312
d.Code != (int)ErrorCode.
WRN_AmbiguousXMLReference
&&