This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using System.Reflection; | |
using System.Text.Json; | |
using System.Text.Json.Serialization; | |
namespace Refit; | |
/// <summary> | |
/// A class representing an implementation of <see cref="IHttpContentSerializer"/> that can be | |
/// used with the <c>System.Text.Json</c> source generators. This class cannot be inherited. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<EnablePreviewFeatures>true</EnablePreviewFeatures> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<TargetFramework>net6.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Shouldly" Version="4.0.3" /> | |
</ItemGroup> | |
<ItemGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Martin Costello, 2023. All rights reserved. | |
// Licensed under the Apache 2.0 license. | |
using System.Linq.Expressions; | |
using NSubstitute.Core; | |
using NSubstitute.ExceptionExtensions; | |
namespace NSubstitute; | |
/// <summary> |
OlderNewer