Closed jskeet closed 11 months ago
As noted on Twitter, single-letter-followed-by-colon has a meaning within the transformed XML, and it looks like VS treats it differently too, although I can't see anything in the language specification to indicate that it should do so. So this may not be a bug in docfx particularly, but just an unspecified oddity of the C# compiler :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I am not sure of the root cause, but it should mistake it as some comment id like T:...
, M:...
. It is like a bug but not too harmful.
As Class1.cs does not declare extern alias x;
, I'd expect it to use cref="x.ArgumentException"
rather than cref="x::ArgumentException"
.
Close as VS shares the same behavior.
DocFX Version Used: 2.32.1
Template used: n/a
Steps to Reproduce:
Three files:
Aliases.csproj
:Class1.cs
:docfx.json
:Then just run
docfx metadata -f
Expected Behavior:
No warnings or errors.
Actual Behavior:
This appears to happen for any single-letter namespace alias. Notice how the alias of
xy
doesn't cause a problem.