Browse Source

using explicit type where it's not obvious

pull/3324/head
Holger Schmidt 7 months ago
parent
commit
56643ac0b1
  1. 4
      ICSharpCode.ILSpyX/MermaidDiagrammer/ClassDiagrammerFactory.cs

4
ICSharpCode.ILSpyX/MermaidDiagrammer/ClassDiagrammerFactory.cs

@ -59,8 +59,8 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer @@ -59,8 +59,8 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer
IEnumerable<ITypeDefinition> allTypes = mainModule.TypeDefinitions;
selectedTypes = FilterTypes(allTypes,
include == null ? null : new(include, RegexOptions.Compiled),
exclude == null ? null : new(exclude, RegexOptions.Compiled)).ToArray();
include == null ? null : new Regex(include, RegexOptions.Compiled),
exclude == null ? null : new Regex(exclude, RegexOptions.Compiled)).ToArray();
// generate dictionary to read names from later
uniqueIds = GenerateUniqueIds(selectedTypes);

Loading…
Cancel
Save