diff --git a/src/Aydsko.iRacingData/Extensions.cs b/src/Aydsko.iRacingData/Extensions.cs index 8cddb0e..9223ebb 100644 --- a/src/Aydsko.iRacingData/Extensions.cs +++ b/src/Aydsko.iRacingData/Extensions.cs @@ -15,14 +15,14 @@ namespace Aydsko.iRacingData; -static internal class Extensions +internal static class Extensions { /// Add the parameter with the property's as the key and it's value if that value is not null. /// Type of the property. /// Collection of parameters to add to. /// An expression which accesses the property. /// The expression couldn't be properly understood by the method. - static internal void AddParameterIfNotNull(this IDictionary parameters, Expression> parameter) + internal static void AddParameterIfNotNull(this IDictionary parameters, Expression> parameter) { #if (NET6_0_OR_GREATER) ArgumentNullException.ThrowIfNull(parameter); @@ -55,7 +55,7 @@ static internal void AddParameterIfNotNull(this IDictionary parameters.Add(new(parameterName, parameterValue)); } - static internal Uri ToUrlWithQuery(this string url, IEnumerable> parameters) + internal static Uri ToUrlWithQuery(this string url, IEnumerable> parameters) { var builder = new UriBuilder(url); @@ -152,7 +152,7 @@ static IEnumerable GetNonNullValues(Array array) #if (NET6_0_OR_GREATER == false) [System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "")] - static internal CookieCollection GetAllCookies(this CookieContainer container) + internal static CookieCollection GetAllCookies(this CookieContainer container) { var result = new CookieCollection();