Browse Source

dev: Correct typo in ReportExcludedTypes (ilspycmd)

pull/3544/head
Peter Crabtree 10 months ago committed by Siegfried Pammer
parent
commit
e7a64f3114
  1. 4
      ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs
  2. 2
      ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs
  3. 2
      ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs

4
ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs

@ -149,7 +149,7 @@ Examples: @@ -149,7 +149,7 @@ Examples:
[Option(generateDiagrammerCmd + "-report-excluded", "Outputs a report of types excluded from the generated diagrammer" +
$" - whether by default because compiler-generated, explicitly by '{exclude}' or implicitly by '{include}'." +
" You may find this useful to develop and debug your regular expressions.", CommandOptionType.NoValue)]
public bool ReportExludedTypes { get; set; }
public bool ReportExcludedTypes { get; set; }
[Option(generateDiagrammerCmd + "-docs", "The path or file:// URI of the XML file containing the target assembly's documentation comments." +
" You only need to set this if a) you want your diagrams annotated with them and b) the file name differs from that of the assmbly." +
@ -221,7 +221,7 @@ Examples: @@ -221,7 +221,7 @@ Examples:
OutputFolder = OutputDirectory,
Include = Include,
Exclude = Exclude,
ReportExludedTypes = ReportExludedTypes,
ReportExcludedTypes = ReportExcludedTypes,
JsonOnly = JsonOnly,
XmlDocs = XmlDocs,
StrippedNamespaces = StrippedNamespaces

2
ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs

@ -32,7 +32,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer @@ -32,7 +32,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer
public string? Include { get; set; }
public string? Exclude { get; set; }
public bool JsonOnly { get; set; }
public bool ReportExludedTypes { get; set; }
public bool ReportExcludedTypes { get; set; }
public string? XmlDocs { get; set; }
/// <summary>Namespaces to strip from <see cref="XmlDocs"/>.

2
ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs

@ -127,7 +127,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer @@ -127,7 +127,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer
Debug.WriteLine("Successfully generated HTML diagrammer.");
}
if (ReportExludedTypes)
if (ReportExcludedTypes)
{
string excludedTypes = model.Excluded.Join(Environment.NewLine);
File.WriteAllText(Path.Combine(outputFolder, "excluded types.txt"), excludedTypes);

Loading…
Cancel
Save