Files
dotnet-runtime/src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj
T
Stephen Toub dacbc6e6fa Remove delegate allocation from HttpContent.Headers
There's no need to allocate a delegate that stores a reference to this... we can just pass in this.


Commit migrated from https://github.com/dotnet/corefx/commit/211c8a119f8bd5abed3a4941ac93e0193ee6bfb2
2016-11-14 16:59:26 -05:00

356 lines
20 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<Configuration Condition="'$(Configuration)'==''">Windows_Debug</Configuration>
</PropertyGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Windows_Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5F9C3C9F-652E-461E-B2D6-85D264F5A733}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>System.Net.Http.Unit.Tests</RootNamespace>
<AssemblyName>System.Net.Http.Unit.Tests</AssemblyName>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NugetTargetMoniker Condition="'$(TargetGroup)' == ''">.NETStandard,Version=v1.7</NugetTargetMoniker>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Unix_Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Unix_Release|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Release|AnyCPU'" />
<ItemGroup>
<Compile Include="$(CommonPath)\System\NotImplemented.cs">
<Link>ProductionCode\Common\System\NotImplemented.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\CharArrayHelpers.cs">
<Link>ProductionCode\Common\System\CharArrayHelpers.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\StringExtensions.cs">
<Link>ProductionCode\Common\System\StringExtensions.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\IO\StreamHelpers.CopyValidation.cs">
<Link>ProductionCode\Common\System\IO\StreamHelpers.CopyValidation.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\HttpKnownHeaderNames.cs">
<Link>ProductionCode\Common\System\Net\HttpKnownHeaderNames.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\HttpKnownHeaderNames.TryGetHeaderName.cs">
<Link>ProductionCode\Common\System\Net\HttpKnownHeaderNames.TryGetHeaderName.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\HttpStatusDescription.cs">
<Link>ProductionCode\Common\System\Net\HttpStatusDescription.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\HttpVersionInternal.cs">
<Link>ProductionCode\Common\System\Net\HttpVersionInternal.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Logging\NetEventSource.Common.cs">
<Link>ProductionCode\Common\System\Net\Logging\NetEventSource.Common.cs</Link>
</Compile>
<Compile Include="$(CommonTestPath)\System\ShouldNotBeInvokedException.cs">
<Link>Common\System\ShouldNotBeInvokedException.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\MailAddress.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\MailAddress.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\DomainLiteralReader.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\DomainLiteralReader.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\DotAtomReader.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\DotAtomReader.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\MailAddressParser.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\MailAddressParser.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\MailBnfHelper.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\MailBnfHelper.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\QuotedPairReader.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\QuotedPairReader.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\QuotedStringFormatReader.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\QuotedStringFormatReader.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Mail\WhitespaceReader.cs">
<Link>ProductionCode\Common\src\System\Net\Mail\WhitespaceReader.cs</Link>
</Compile>
<Compile Include="..\..\src\Internal\UriHelper.cs">
<Link>ProductionCode\Internal\UriHelper.cs</Link>
</Compile>
<Compile Include="..\..\src\Shims\Uri.cs">
<Link>ProductionCode\Shims\Uri.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\ByteArrayContent.cs">
<Link>ProductionCode\System\Net\Http\ByteArrayContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\ClientCertificateOption.cs">
<Link>ProductionCode\System\Net\Http\ClientCertificateOption.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\DelegatingHandler.cs">
<Link>ProductionCode\System\Net\Http\DelegatingHandler.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\IO\DelegatingStream.cs">
<Link>ProductionCode\System\IO\DelegatingStream.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\FormUrlEncodedContent.cs">
<Link>ProductionCode\System\Net\Http\FormUrlEncodedContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\AuthenticationHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\AuthenticationHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\BaseHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\BaseHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ByteArrayHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\ByteArrayHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\CacheControlHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\CacheControlHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\CacheControlHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\CacheControlHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ContentDispositionHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\ContentDispositionHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ContentRangeHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\ContentRangeHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\DateHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\DateHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\EntityTagHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\EntityTagHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\GenericHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\GenericHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HeaderUtilities.cs">
<Link>ProductionCode\System\Net\Http\Headers\HeaderUtilities.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpContentHeaders.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpContentHeaders.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpGeneralHeaders.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpGeneralHeaders.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpHeaders.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpHeaders.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpHeaderValueCollection.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpHeaderValueCollection.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpRequestHeaders.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpRequestHeaders.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\HttpResponseHeaders.cs">
<Link>ProductionCode\System\Net\Http\Headers\HttpResponseHeaders.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\Int32NumberHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\Int32NumberHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\Int64NumberHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\Int64NumberHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\MediaTypeHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\MediaTypeHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\MediaTypeHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\MediaTypeHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\MediaTypeWithQualityHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\MediaTypeWithQualityHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\NameValueHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\NameValueHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\NameValueWithParametersHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ObjectCollection.cs">
<Link>ProductionCode\System\Net\Http\Headers\ObjectCollection.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ProductHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\ProductHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ProductInfoHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\ProductInfoHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ProductInfoHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\ProductInfoHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\RangeConditionHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\RangeConditionHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\RangeHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\RangeHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\RangeItemHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\RangeItemHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\RetryConditionHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\RetryConditionHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\StringWithQualityHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\StringWithQualityHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\TimeSpanHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\TimeSpanHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\TransferCodingHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\TransferCodingHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\TransferCodingHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\TransferCodingHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\TransferCodingWithQualityHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\TransferCodingWithQualityHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\UriHeaderParser.cs">
<Link>ProductionCode\System\Net\Http\Headers\UriHeaderParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\ViaHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\ViaHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Headers\WarningHeaderValue.cs">
<Link>ProductionCode\System\Net\Http\Headers\WarningHeaderValue.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpClient.cs">
<Link>ProductionCode\System\Net\Http\HttpClient.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpCompletionOption.cs">
<Link>ProductionCode\System\Net\Http\HttpCompletionOption.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpContent.cs">
<Link>ProductionCode\System\Net\Http\HttpContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpMessageHandler.cs">
<Link>ProductionCode\System\Net\Http\HttpMessageHandler.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpMessageInvoker.cs">
<Link>ProductionCode\System\Net\Http\HttpMessageInvoker.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpMethod.cs">
<Link>ProductionCode\System\Net\Http\HttpMethod.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpParseResult.cs">
<Link>ProductionCode\System\Net\Http\HttpParseResult.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpRequestException.cs">
<Link>ProductionCode\System\Net\Http\HttpRequestException.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpRequestMessage.cs">
<Link>ProductionCode\System\Net\Http\HttpRequestMessage.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpResponseMessage.cs">
<Link>ProductionCode\System\Net\Http\HttpResponseMessage.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpRuleParser.cs">
<Link>ProductionCode\System\Net\Http\HttpRuleParser.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\HttpUtilities.cs">
<Link>ProductionCode\System\Net\Http\HttpUtilities.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\MessageProcessingHandler.cs">
<Link>ProductionCode\System\Net\Http\MessageProcessingHandler.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\MultipartContent.cs">
<Link>ProductionCode\System\Net\Http\MultipartContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\MultipartFormDataContent.cs">
<Link>ProductionCode\System\Net\Http\MultipartFormDataContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\NetEventSource.Http.cs">
<Link>ProductionCode\System\Net\Http\NetEventSource.Http.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\StreamContent.cs">
<Link>ProductionCode\System\Net\Http\StreamContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\StreamToStreamCopy.cs">
<Link>ProductionCode\System\Net\Http\StreamToStreamCopy.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\StringContent.cs">
<Link>ProductionCode\System\Net\Http\StringContent.cs</Link>
</Compile>
<Compile Include="..\..\src\System\Net\Http\Unix\CurlResponseHeaderReader.cs">
<Link>ProductionCode\System\Net\Http\CurlResponseHeaderReader.cs</Link>
</Compile>
<Compile Include="Fakes\HttpClientHandler.cs" />
<Compile Include="Headers\AuthenticationHeaderValueTest.cs" />
<Compile Include="Headers\ByteArrayHeaderParserTest.cs" />
<Compile Include="Headers\CacheControlHeaderParserTest.cs" />
<Compile Include="Headers\CacheControlHeaderValueTest.cs" />
<Compile Include="Headers\ContentDispositionHeaderValueTest.cs" />
<Compile Include="Headers\ContentRangeHeaderValueTest.cs" />
<Compile Include="Headers\CurlResponseHeaderReaderTest.cs" />
<Compile Include="Headers\DateHeaderParserTest.cs" />
<Compile Include="Headers\EntityTagHeaderValueTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\AuthenticationParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\ContentRangeParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\EntityTagParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\HostParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\MailAddressParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\NameValueParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\NameValueWithParametersParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\ProductParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\RangeConditionParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\RangeParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\RetryConditionParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\StringWithQualityParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\TokenListParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\ViaParserTest.cs" />
<Compile Include="Headers\GenericHeaderParserTest\WarningParserTest.cs" />
<Compile Include="Headers\HeaderUtilitiesTest.cs" />
<Compile Include="Headers\HttpContentHeadersTest.cs" />
<Compile Include="Headers\HttpHeadersTest.cs" />
<Compile Include="Headers\HttpHeaderValueCollectionTest.cs" />
<Compile Include="Headers\HttpRequestHeadersTest.cs" />
<Compile Include="Headers\HttpResponseHeadersTest.cs" />
<Compile Include="Headers\Int32NumberHeaderParserTest.cs" />
<Compile Include="Headers\Int64NumberHeaderParserTest.cs" />
<Compile Include="Headers\MediaTypeHeaderParserTest.cs" />
<Compile Include="Headers\MediaTypeHeaderValueTest.cs" />
<Compile Include="Headers\MediaTypeWithQualityHeaderValueTest.cs" />
<Compile Include="Headers\NameValueHeaderValueTest.cs" />
<Compile Include="Headers\NameValueWithParametersHeaderValueTest.cs" />
<Compile Include="Headers\ObjectCollectionTest.cs" />
<Compile Include="Headers\ProductHeaderValueTest.cs" />
<Compile Include="Headers\ProductInfoHeaderParserTest.cs" />
<Compile Include="Headers\ProductInfoHeaderValueTest.cs" />
<Compile Include="Headers\RangeConditionHeaderValueTest.cs" />
<Compile Include="Headers\RangeHeaderValueTest.cs" />
<Compile Include="Headers\RangeItemHeaderValueTest.cs" />
<Compile Include="Headers\RetryConditionHeaderValueTest.cs" />
<Compile Include="Headers\StringWithQualityHeaderValueTest.cs" />
<Compile Include="Headers\TimeSpanHeaderParserTest.cs" />
<Compile Include="Headers\TransferCodingHeaderParserTest.cs" />
<Compile Include="Headers\TransferCodingHeaderValueTest.cs" />
<Compile Include="Headers\TransferCodingWithQualityHeaderValueTest.cs" />
<Compile Include="Headers\UriHeaderParserTest.cs" />
<Compile Include="Headers\ViaHeaderValueTest.cs" />
<Compile Include="Headers\WarningHeaderValueTest.cs" />
<Compile Include="HttpContentTest.cs" />
<Compile Include="HttpRuleParserTest.cs" />
<Compile Include="MockContent.cs" />
<Compile Include="StreamToStreamCopyTest.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' != ''">
<Compile Include="..\..\src\Internal\ICloneable.cs">
<Link>ProductionCode\Internal\ICloneable.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\SerializableAttribute.cs">
<Link>Common\System\SerializableAttribute.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>