Skip to content
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
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/APIMatic.Core.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpGet/ApiCallGetDynamicError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace APIMatic.Core.Test.Api.HttpGet
{
[TestFixture]
internal class ApiCallGetDynamicError : ApiCallTest
internal sealed class ApiCallGetDynamicError : ApiCallTest
{
[Test]
public void ApiCall_GetDynamicError_Local_501StausCode()
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpGet/ApiCallGetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ public void ApiCall_GetNumber_MissingContent()

// Act and Assert
var exp = Assert.Throws<FormatException>(() => CoreHelper.RunTask(apiCall));
Assert.AreEqual("Input string was not in a correct format.", exp.Message);
Assert.AreEqual("The input string '' was not in a correct format.", exp.Message);
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace APIMatic.Core.Test.Api.HttpPost
{
[TestFixture]
internal class ApiCallPostContainerTest : ApiCallTest
internal sealed class ApiCallPostContainerTest : ApiCallTest
{
[Test]
public void ApiCall_PostModelAsContainerData_OKResponse()
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpPost/ApiCallPostFileTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace APIMatic.Core.Test.Api.HttpPost
{
[TestFixture]
internal class ApiCallPostFileTest : ApiCallTest
internal sealed class ApiCallPostFileTest : ApiCallTest
{
[Test]
public void ApiCall_PostFileData_OKResponse()
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpPost/ApiCallPostStreamTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace APIMatic.Core.Test.Api.HttpPost
{
[TestFixture]
internal class ApiCallPostStreamTest : ApiCallTest
internal sealed class ApiCallPostStreamTest : ApiCallTest
{
[Test]
public void ApiCall_PostBodyStream_OKResponse()
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpPost/ApiCallPostTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace APIMatic.Core.Test.Api.HttpPost
{
[TestFixture]
internal class ApiCallPostTest : ApiCallTest
internal sealed class ApiCallPostTest : ApiCallTest
{
[Test]
public void ApiCall_PostBody_OKResponse()
Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/Api/HttpPost/ApiCallPostXmlTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace APIMatic.Core.Test.Api.HttpPost
{
[TestFixture]
internal class ApiCallPostXmlTest : ApiCallTest
internal sealed class ApiCallPostXmlTest : ApiCallTest
{
[Test]
public void ApiCall_PostXmlLong_OKResponse()
Expand Down
16 changes: 9 additions & 7 deletions APIMatic.Core.Test/AuthenticationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,19 @@ public void Multiple_Authentication_AND_Validation_Failure()
"-> Missing required header field: TOKEN", exp.Message);
}

[Test]
public void Multiple_Authentication_AND_All_Missing_Validation_Failure()
{
var expectedLines = new[]
{
"Following authentication credentials are required:",
private static readonly string[] sourceArray =
[
"Following authentication credentials are required:",
"-> Missing required query field: API-KEY",
"-> Missing required query field: TOKEN",
"-> Missing required header field: API-KEY",
"-> Missing required header field: TOKEN"
}.OrderBy(line => line);
];

[Test]
public void Multiple_Authentication_AND_All_Missing_Validation_Failure()
{
var expectedLines = sourceArray.OrderBy(line => line);

var globalConfiguration = new GlobalConfiguration.Builder()
.ServerUrls(new Dictionary<Enum, string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static ArrayOfMapContainer Fromorbit(List<Dictionary<string, Orbit>> valu
public abstract T Match<T>(Func<List<Dictionary<string, Atom>>, T> atom, Func<List<Dictionary<string, Orbit>>, T> orbit);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, List<Dictionary<string, Atom>>>))]
private class AtomCase : ArrayOfMapContainer, ICaseValue<AtomCase, List<Dictionary<string, Atom>>>
private sealed class AtomCase : ArrayOfMapContainer, ICaseValue<AtomCase, List<Dictionary<string, Atom>>>
{
public List<Dictionary<string, Atom>> value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, List<Dictionary<string, Orbit>>>))]
private class OrbitCase : ArrayOfMapContainer, ICaseValue<OrbitCase, List<Dictionary<string, Orbit>>>
private sealed class OrbitCase : ArrayOfMapContainer, ICaseValue<OrbitCase, List<Dictionary<string, Orbit>>>
{
public List<Dictionary<string, Orbit>> value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static CustomAnyOfContainer FromOrbit(Orbit value)
public abstract T Match<T>(Func<Atom, T> atom, Func<Orbit, T> orbit);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Atom>))]
private class AtomCase : CustomAnyOfContainer, ICaseValue<AtomCase, Atom>
private sealed class AtomCase : CustomAnyOfContainer, ICaseValue<AtomCase, Atom>
{
public Atom value;

Expand All @@ -53,7 +53,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, Orbit>))]
private class OrbitCase : CustomAnyOfContainer, ICaseValue<OrbitCase, Orbit>
private sealed class OrbitCase : CustomAnyOfContainer, ICaseValue<OrbitCase, Orbit>
{
public Orbit value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static CustomNestedOneOfContainer Fromorbit(NativeOneOfContainer value)
public abstract T Match<T>(Func<Atom, T> atom, Func<NativeOneOfContainer, T> nestedOneOf);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Atom>))]
private class AtomCase : CustomNestedOneOfContainer, ICaseValue<AtomCase, Atom>
private sealed class AtomCase : CustomNestedOneOfContainer, ICaseValue<AtomCase, Atom>
{
public Atom value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, NativeOneOfContainer>))]
private class OrbitCase : CustomNestedOneOfContainer, ICaseValue<OrbitCase, NativeOneOfContainer>
private sealed class OrbitCase : CustomNestedOneOfContainer, ICaseValue<OrbitCase, NativeOneOfContainer>
{
public NativeOneOfContainer value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static CustomOneOfCollectionContainer Fromorbit(Orbit[] value)
public abstract T Match<T>(Func<Atom[], T> atom, Func<Orbit[], T> orbit);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Atom[]>))]
private class AtomCase : CustomOneOfCollectionContainer, ICaseValue<AtomCase, Atom[]>
private sealed class AtomCase : CustomOneOfCollectionContainer, ICaseValue<AtomCase, Atom[]>
{
public Atom[] value;

Expand All @@ -53,7 +53,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, Orbit[]>))]
private class OrbitCase : CustomOneOfCollectionContainer, ICaseValue<OrbitCase, Orbit[]>
private sealed class OrbitCase : CustomOneOfCollectionContainer, ICaseValue<OrbitCase, Orbit[]>
{
public Orbit[] value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static CustomOneOfContainer Fromorbit(Orbit value)
public abstract T Match<T>(Func<Atom, T> atom, Func<Orbit, T> orbit);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Atom>))]
private class AtomCase : CustomOneOfContainer, ICaseValue<AtomCase, Atom>
private sealed class AtomCase : CustomOneOfContainer, ICaseValue<AtomCase, Atom>
{
public Atom value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, Orbit>))]
private class OrbitCase : CustomOneOfContainer, ICaseValue<OrbitCase, Orbit>
private sealed class OrbitCase : CustomOneOfContainer, ICaseValue<OrbitCase, Orbit>
{
public Orbit value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static CustomOneOfWithDiscContainer FromHelium(Helium value)
public abstract T Match<T>(Func<Atom, T> atom, Func<Helium, T> helium);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Atom>))]
private class AtomCase : CustomOneOfWithDiscContainer, ICaseValue<AtomCase, Atom>
private sealed class AtomCase : CustomOneOfWithDiscContainer, ICaseValue<AtomCase, Atom>
{
public Atom value;

Expand All @@ -60,7 +60,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<HeliumCase, Helium>))]
private class HeliumCase : CustomOneOfWithDiscContainer, ICaseValue<HeliumCase, Helium>
private sealed class HeliumCase : CustomOneOfWithDiscContainer, ICaseValue<HeliumCase, Helium>
{
public Helium value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static EnumAnyOfContainer FromMonthNumber(MonthNumber value)
public abstract T Match<T>(Func<WorkingDays, T> workingDays, Func<Days, T> days, Func<MonthNumber, T> monthNumber);

[JsonConverter(typeof(UnionTypeCaseConverter<WorkingDaysCase, WorkingDays>))]
private class WorkingDaysCase : EnumAnyOfContainer, ICaseValue<WorkingDaysCase, WorkingDays>
private sealed class WorkingDaysCase : EnumAnyOfContainer, ICaseValue<WorkingDaysCase, WorkingDays>
{
public WorkingDays value;

Expand All @@ -60,7 +60,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<DaysCase, Days>))]
private class DaysCase : EnumAnyOfContainer, ICaseValue<DaysCase, Days>
private sealed class DaysCase : EnumAnyOfContainer, ICaseValue<DaysCase, Days>
{
public Days value;

Expand All @@ -87,7 +87,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<MonthNumberCase, MonthNumber>))]
private class MonthNumberCase : EnumAnyOfContainer, ICaseValue<MonthNumberCase, MonthNumber>
private sealed class MonthNumberCase : EnumAnyOfContainer, ICaseValue<MonthNumberCase, MonthNumber>
{
public MonthNumber value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static MapOfArrayContainer Fromorbit(Dictionary<string, List<Orbit>> valu
public abstract T Match<T>(Func<Dictionary<string, List<Atom>>, T> atomDictionay, Func<Dictionary<string, List<Orbit>>, T> orbitsDictionay);

[JsonConverter(typeof(UnionTypeCaseConverter<AtomCase, Dictionary<string, List<Atom>>>))]
private class AtomCase : MapOfArrayContainer, ICaseValue<AtomCase, Dictionary<string, List<Atom>>>
private sealed class AtomCase : MapOfArrayContainer, ICaseValue<AtomCase, Dictionary<string, List<Atom>>>
{
public Dictionary<string, List<Atom>> value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<OrbitCase, Dictionary<string, List<Orbit>>>))]
private class OrbitCase : MapOfArrayContainer, ICaseValue<OrbitCase, Dictionary<string, List<Orbit>>>
private sealed class OrbitCase : MapOfArrayContainer, ICaseValue<OrbitCase, Dictionary<string, List<Orbit>>>
{
public Dictionary<string, List<Orbit>> value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static NativeAnyOfCollectionContainer FromMString(string[] value)
public abstract T Match<T>(Func<double[], T> precisionArray, Func<string[], T> mStringArray);

[JsonConverter(typeof(UnionTypeCaseConverter<PrecisionArrayCase, double[]>), JTokenType.Float)]
private class PrecisionArrayCase : NativeAnyOfCollectionContainer, ICaseValue<PrecisionArrayCase, double[]>
private sealed class PrecisionArrayCase : NativeAnyOfCollectionContainer, ICaseValue<PrecisionArrayCase, double[]>
{
public double[] value;

Expand All @@ -55,7 +55,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<MStringArrayCase, string[]>), JTokenType.String)]
private class MStringArrayCase : NativeAnyOfCollectionContainer, ICaseValue<MStringArrayCase, string[]>
private sealed class MStringArrayCase : NativeAnyOfCollectionContainer, ICaseValue<MStringArrayCase, string[]>
{
public string[] value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static NativeAnyOfContainer FromString(string value)
public abstract T Match<T>(Func<double, T> precision, Func<string, T> mString);

[JsonConverter(typeof(UnionTypeCaseConverter<PrecisionCase, double>), JTokenType.Float)]
private class PrecisionCase : NativeAnyOfContainer, ICaseValue<PrecisionCase, double>
private sealed class PrecisionCase : NativeAnyOfContainer, ICaseValue<PrecisionCase, double>
{
public double value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<StringCase, string>), JTokenType.String)]
private class StringCase : NativeAnyOfContainer, ICaseValue<StringCase, string>
private sealed class StringCase : NativeAnyOfContainer, ICaseValue<StringCase, string>
{
public string value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static NativeDateTimeAnyOfContainer FromRFC3339DateTime(DateTime value)
public abstract T Match<T>(Func<DateTime?, T> rfc1123DateTime, Func<DateTime?, T> rfc3339DateTime);

[JsonConverter(typeof(UnionTypeCaseConverter<DateTimeCase, DateTime?>), JTokenType.Date)]
private class DateTimeCase : NativeDateTimeAnyOfContainer, ICaseValue<DateTimeCase, DateTime?>, ICustomConverter
private sealed class DateTimeCase : NativeDateTimeAnyOfContainer, ICaseValue<DateTimeCase, DateTime?>, ICustomConverter
{
public DateTime? value;

Expand Down Expand Up @@ -61,7 +61,7 @@ public JsonConverter GetJsonConverter()
}

[JsonConverter(typeof(UnionTypeCaseConverter<DateTimeCase2, DateTime?>), JTokenType.Date)]
private class DateTimeCase2 : NativeDateTimeAnyOfContainer, ICaseValue<DateTimeCase2, DateTime?>, ICustomConverter
private sealed class DateTimeCase2 : NativeDateTimeAnyOfContainer, ICaseValue<DateTimeCase2, DateTime?>, ICustomConverter
{
public DateTime? value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static NativeNullableOneOfContainer FromMString(string value)
public abstract T Match<T>(Func<double?, T> precision, Func<string, T> mString);

[JsonConverter(typeof(UnionTypeCaseConverter<PrecisionCase, double?>), JTokenType.Float, JTokenType.Null)]
private class PrecisionCase : NativeNullableOneOfContainer, ICaseValue<PrecisionCase, double?>
private sealed class PrecisionCase : NativeNullableOneOfContainer, ICaseValue<PrecisionCase, double?>
{
public double? value;

Expand All @@ -54,7 +54,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<MStringCase, string>), JTokenType.String)]
private class MStringCase : NativeNullableOneOfContainer, ICaseValue<MStringCase, string>
private sealed class MStringCase : NativeNullableOneOfContainer, ICaseValue<MStringCase, string>
{
public string value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static NativeOneOfCollectionContainer FromCutomTypeDictionary(Dictionary<
public abstract T Match<T>(Func<double[], T> precision, Func<string[], T> mString, Func<Dictionary<string, Atom>, T> customTypeDictionay);

[JsonConverter(typeof(UnionTypeCaseConverter<PrecisionArrayCase, double[]>), JTokenType.Float)]
private class PrecisionArrayCase : NativeOneOfCollectionContainer, ICaseValue<PrecisionArrayCase, double[]>
private sealed class PrecisionArrayCase : NativeOneOfCollectionContainer, ICaseValue<PrecisionArrayCase, double[]>
{
public double[] value;

Expand All @@ -62,7 +62,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<MStringArrayCase, string[]>), JTokenType.String)]
private class MStringArrayCase : NativeOneOfCollectionContainer, ICaseValue<MStringArrayCase, string[]>
private sealed class MStringArrayCase : NativeOneOfCollectionContainer, ICaseValue<MStringArrayCase, string[]>
{
public string[] value;

Expand All @@ -89,7 +89,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<CustomTypeDictionaryCase, Dictionary<string, Atom>>))]
private class CustomTypeDictionaryCase : NativeOneOfCollectionContainer, ICaseValue<CustomTypeDictionaryCase, Dictionary<string, Atom>>
private sealed class CustomTypeDictionaryCase : NativeOneOfCollectionContainer, ICaseValue<CustomTypeDictionaryCase, Dictionary<string, Atom>>
{
public Dictionary<string, Atom> value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static NativeOneOfContainer FromMString(string value)
public abstract T Match<T>(Func<double, T> precision, Func<string, T> mString);

[JsonConverter(typeof(UnionTypeCaseConverter<PrecisionCase, double>), JTokenType.Float)]
private class PrecisionCase : NativeOneOfContainer, ICaseValue<PrecisionCase, double>
private sealed class PrecisionCase : NativeOneOfContainer, ICaseValue<PrecisionCase, double>
{
public double value;

Expand All @@ -55,7 +55,7 @@ public override string ToString()
}

[JsonConverter(typeof(UnionTypeCaseConverter<MStringCase, string>), JTokenType.String)]
private class MStringCase : NativeOneOfContainer, ICaseValue<MStringCase, string>
private sealed class MStringCase : NativeOneOfContainer, ICaseValue<MStringCase, string>
{
public string value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static NativeOneOfContainer FromMString(string value)

public abstract T Match<T>(Func<double, T> precision, Func<string, T> mString);

private class PrecisionCase : NativeOneOfContainer, ICaseValue<PrecisionCase, double>
private sealed class PrecisionCase : NativeOneOfContainer, ICaseValue<PrecisionCase, double>
{
public double value;

Expand All @@ -52,7 +52,7 @@ public override string ToString()
}
}

private class MStringCase : NativeOneOfContainer, ICaseValue<MStringCase, string>
private sealed class MStringCase : NativeOneOfContainer, ICaseValue<MStringCase, string>
{
public string value;

Expand Down
2 changes: 1 addition & 1 deletion APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace APIMatic.Core.Test.MockTypes.Models
{
internal class ServerResponse : BaseModel
internal sealed class ServerResponse : BaseModel
{
/// <summary>
/// Initializes a new instance of the <see cref="ServerResponse"/> class.
Expand Down Expand Up @@ -80,7 +80,7 @@
/// ToString overload.
/// </summary>
/// <param name="toStringOutput">List of strings.</param>
protected new void ToString(List<string> toStringOutput)

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.1.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.1.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.2.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 2.2.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 3.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 3.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 7.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 7.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 6.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 6.0.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 3.1.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type

Check warning on line 83 in APIMatic.Core.Test/MockTypes/Models/ServerResponse.cs

View workflow job for this annotation

GitHub Actions / Dotnet 3.1.x on ubuntu-22.04

'ServerResponse.ToString(List<string>)': new protected member declared in sealed type
{
toStringOutput.Add($"this.Passed = {Passed}");
toStringOutput.Add($"this.Message = {(Message == null ? "null" : Message == string.Empty ? "" : Message)}");
Expand Down
Loading
Loading