Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove redundant partials #1382

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/Humanizer/FluentDate/On.Days.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/// <summary>
/// </summary>
public partial class On
public class On
{
/// <summary>
/// Provides fluent date accessors for January
Expand Down Expand Up @@ -213,7 +213,6 @@ public class February
public static DateTime The(int dayNumber)
=> new(DateTime.Now.Year, 2, dayNumber);


/// <summary>
/// The 1st day of February of the current year
/// </summary>
Expand Down Expand Up @@ -399,7 +398,6 @@ public class March
public static DateTime The(int dayNumber)
=> new(DateTime.Now.Year, 3, dayNumber);


/// <summary>
/// The 1st day of March of the current year
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Humanizer/FluentDate/On.Days.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Humanizer;

/// <summary>
/// </summary>
public partial class On
public class On
{
<#
const int leapYear = 2012;
Expand Down
4 changes: 1 addition & 3 deletions src/Humanizer/FluentDate/OnDate.Days.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#if NET6_0_OR_GREATER
namespace Humanizer;

/// <summary>
/// </summary>
public partial class OnDate
public class OnDate
{
/// <summary>
/// Provides fluent date accessors for January
Expand Down
4 changes: 1 addition & 3 deletions src/Humanizer/FluentDate/OnDate.Days.tt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
#if NET6_0_OR_GREATER
namespace Humanizer;

/// <summary>
/// </summary>
public partial class OnDate
public class OnDate
{
<#
const int leapYear = 2012;
Expand Down
3 changes: 0 additions & 3 deletions src/Humanizer/Localisation/ResourceKeys.Common.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
namespace Humanizer
{
/// <summary>
///
/// </summary>
public partial class ResourceKeys
{
const string Single = "Single";
Expand Down