Skip to content

Commit eccf9c6

Browse files
committed
fix: remove unneeded code
Signed-off-by: jbrinkman <joe.brinkman@improving.com>
1 parent 6856408 commit eccf9c6

File tree

10 files changed

+1
-12
lines changed

10 files changed

+1
-12
lines changed

src/DotNetApiDiff/ApiExtraction/ApiComparer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Reflection;
33
using DotNetApiDiff.Interfaces;
44
using DotNetApiDiff.Models;
5-
using DotNetApiDiff.Models.Configuration;
65
using Microsoft.Extensions.Logging;
76

87
namespace DotNetApiDiff.ApiExtraction;

src/DotNetApiDiff/ApiExtraction/NameMapper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using DotNetApiDiff.Interfaces;
44
using DotNetApiDiff.Models.Configuration;
55
using Microsoft.Extensions.Logging;
6-
using System.Text.RegularExpressions;
76

87
namespace DotNetApiDiff.ApiExtraction;
98

src/DotNetApiDiff/AssemblyLoading/AssemblyLoader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
22
using System.Reflection;
3-
using System.Runtime.Loader;
43
using System.Security;
54
using DotNetApiDiff.Interfaces;
65
using Microsoft.Extensions.Logging;

src/DotNetApiDiff/Interfaces/IApiComparer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
2-
using System.Reflection;
32
using DotNetApiDiff.Models;
43

54
namespace DotNetApiDiff.Interfaces;

src/DotNetApiDiff/Interfaces/IAssemblyLoader.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
2-
using System.Reflection;
3-
42
namespace DotNetApiDiff.Interfaces;
53

64
/// <summary>

src/DotNetApiDiff/Interfaces/ITypeAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
2-
using System.Reflection;
32
using DotNetApiDiff.Models;
43

54
namespace DotNetApiDiff.Interfaces;

src/DotNetApiDiff/Models/Configuration/FilterConfiguration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
2-
using System.ComponentModel.DataAnnotations;
32
using System.Text.Json.Serialization;
43

54
namespace DotNetApiDiff.Models.Configuration;

src/DotNetApiDiff/Models/Configuration/MappingConfiguration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Copyright DotNet API Diff Project Contributors - SPDX Identifier: MIT
2-
using System.ComponentModel.DataAnnotations;
32
using System.Text.Json.Serialization;
43

54
namespace DotNetApiDiff.Models.Configuration;

src/DotNetApiDiff/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
using DotNetApiDiff.Interfaces;
55
using Microsoft.Extensions.DependencyInjection;
66
using Microsoft.Extensions.Logging;
7-
using Spectre.Console;
87
using Spectre.Console.Cli;
9-
using System.Diagnostics;
108

119
namespace DotNetApiDiff;
1210

src/DotNetApiDiff/Reporting/HtmlFormatterScriban.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ private string RenderChangeGroup(object sectionData)
261261
foreach (var property in sectionType.GetProperties())
262262
{
263263
var value = property.GetValue(sectionData);
264-
scriptObject.SetValue(property.Name.ToLowerInvariant().Replace("_", "_"), value, true);
264+
scriptObject.SetValue(property.Name.ToLowerInvariant(), value, true);
265265
}
266266
}
267267

0 commit comments

Comments
 (0)