Browse Source

Fixed /navigateTo with static constructors.

Add reference to ID string format documentation to Command Line.txt
Closes #256
pull/258/head
Daniel Grunwald 14 years ago
parent
commit
6955479ed6
  1. 2
      ILSpy/XmlDoc/XmlDocKeyProvider.cs
  2. 4
      doc/Command Line.txt

2
ILSpy/XmlDoc/XmlDocKeyProvider.cs

@ -50,6 +50,8 @@ namespace ICSharpCode.ILSpy.XmlDoc
b.Append('.'); b.Append('.');
if (member.Name == ".ctor") if (member.Name == ".ctor")
b.Append("#ctor"); b.Append("#ctor");
else if (member.Name == "..ctor")
b.Append("#cctor");
else else
b.Append(member.Name); b.Append(member.Name);
IList<ParameterDefinition> parameters; IList<ParameterDefinition> parameters;

4
doc/Command Line.txt

@ -25,9 +25,11 @@ Available options:
/clearList Clears the assembly list before loading the specified assemblies. /clearList Clears the assembly list before loading the specified assemblies.
[Note: Assembly Lists are not yet implemented] [Note: Assembly Lists are not yet implemented]
/navigateTo:tag Navigates to the member specified by the given XML documentation tag. /navigateTo:tag Navigates to the member specified by the given ID string.
The member is searched for only in the assemblies specified on the command line. The member is searched for only in the assemblies specified on the command line.
Example: 'ILSpy ILSpy.exe /navigateTo:T:ICSharpCode.ILSpy.CommandLineArguments' Example: 'ILSpy ILSpy.exe /navigateTo:T:ICSharpCode.ILSpy.CommandLineArguments'
The syntax of ID strings is described in appendix A of the C# language specification.
/language:name Selects the specified language. /language:name Selects the specified language.
Example: 'ILSpy /language:C#' or 'ILSpy /language:IL' Example: 'ILSpy /language:C#' or 'ILSpy /language:IL'

Loading…
Cancel
Save