Skip to content

Commit

Permalink
Fix Keyword Ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianJSClark committed Sep 3, 2024
1 parent 2e93b84 commit a56ceeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Aydsko.iRacingData/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

namespace Aydsko.iRacingData;

static internal class Extensions
internal static class Extensions
{
/// <summary>Add the parameter with the property's <see cref="JsonPropertyNameAttribute.Name"/> as the key and it's value if that value is not null.</summary>
/// <typeparam name="T">Type of the property.</typeparam>
/// <param name="parameters">Collection of parameters to add to.</param>
/// <param name="parameter">An expression which accesses the property.</param>
/// <exception cref="ArgumentException">The expression couldn't be properly understood by the method.</exception>
static internal void AddParameterIfNotNull<T>(this IDictionary<string, object?> parameters, Expression<Func<T>> parameter)
internal static void AddParameterIfNotNull<T>(this IDictionary<string, object?> parameters, Expression<Func<T>> parameter)
{
#if (NET6_0_OR_GREATER)
ArgumentNullException.ThrowIfNull(parameter);
Expand Down Expand Up @@ -55,7 +55,7 @@ static internal void AddParameterIfNotNull<T>(this IDictionary<string, object?>
parameters.Add(new(parameterName, parameterValue));
}

static internal Uri ToUrlWithQuery(this string url, IEnumerable<KeyValuePair<string, object?>> parameters)
internal static Uri ToUrlWithQuery(this string url, IEnumerable<KeyValuePair<string, object?>> parameters)
{
var builder = new UriBuilder(url);

Expand Down Expand Up @@ -152,7 +152,7 @@ static IEnumerable<string> GetNonNullValues(Array array)

#if (NET6_0_OR_GREATER == false)
[System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "<Pending>")]
static internal CookieCollection GetAllCookies(this CookieContainer container)
internal static CookieCollection GetAllCookies(this CookieContainer container)
{
var result = new CookieCollection();

Expand Down

0 comments on commit a56ceeb

Please sign in to comment.