Skip to content

Commit

Permalink
update to 8.0 TFM (dotnet#5369)
Browse files Browse the repository at this point in the history
* Update dependencies from https://github.com/dotnet/arcade build 20231006.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23506.1

* Update dependencies from https://github.com/dotnet/arcade build 20231006.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23506.2

* Update dependencies from https://github.com/dotnet/arcade build 20231006.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23506.2

* Update dependencies from https://github.com/dotnet/arcade build 20231008.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23508.1

* Update dependencies from https://github.com/dotnet/arcade build 20231010.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.1

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231010.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23510.4

* Update dependencies from https://github.com/dotnet/arcade build 20231016.5

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23516.5

* Update dependencies from https://github.com/dotnet/arcade build 20231017.7

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23517.7

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231018.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23518.2

* Update dependencies from https://github.com/dotnet/arcade build 20231024.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23524.1

* Update dependencies from https://github.com/dotnet/arcade build 20231025.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23525.2

* Update dependencies from https://github.com/dotnet/arcade build 20231027.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23527.1

* Update dependencies from https://github.com/dotnet/arcade build 20231027.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23527.4

* Update dependencies from https://github.com/dotnet/arcade build 20231028.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23528.2

* Update dependencies from https://github.com/dotnet/arcade build 20231028.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23528.2

* Update dependencies from https://github.com/dotnet/arcade build 20231031.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23531.1

* Update dependencies from https://github.com/dotnet/arcade build 20231031.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23531.4

* Update dependencies from https://github.com/dotnet/arcade build 20231101.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23551.1

* Update dependencies from https://github.com/dotnet/arcade build 20231102.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23552.4

* Update dependencies from https://github.com/dotnet/arcade build 20231103.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23553.1

* Update dependencies from https://github.com/dotnet/arcade build 20231103.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23553.1

* Update dependencies from https://github.com/dotnet/arcade build 20231103.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23553.1

* Update dependencies from https://github.com/dotnet/arcade build 20231106.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23556.4

* Update dependencies from https://github.com/dotnet/arcade build 20231107.7

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23557.7

* Update dependencies from https://github.com/dotnet/arcade build 20231108.3

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23558.3

* Update dependencies from https://github.com/dotnet/arcade build 20231109.3

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23559.3

* Update dependencies from https://github.com/dotnet/arcade build 20231110.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23560.1

* Update dependencies from https://github.com/dotnet/arcade build 20231110.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23560.1

* Update dependencies from https://github.com/dotnet/arcade build 20231110.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23560.1

* Update dependencies from https://github.com/dotnet/arcade build 20231113.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23563.1

* Update dependencies from https://github.com/dotnet/arcade build 20231114.3

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23564.3

* Update dependencies from https://github.com/dotnet/arcade build 20231115.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23565.1

* Update dependencies from https://github.com/dotnet/arcade build 20231115.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23565.1

* Update dependencies from https://github.com/dotnet/arcade build 20231117.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23567.1

* Update dependencies from https://github.com/dotnet/arcade build 20231117.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23567.1

* Update dependencies from https://github.com/dotnet/arcade build 20231117.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23567.1

* Update dependencies from https://github.com/dotnet/arcade build 20231120.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23570.1

* Update dependencies from https://github.com/dotnet/arcade build 20231120.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23570.1

* Update dependencies from https://github.com/dotnet/arcade build 20231122.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23572.2

* Update dependencies from https://github.com/dotnet/arcade build 20231122.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23572.2

* Update dependencies from https://github.com/dotnet/arcade build 20231122.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23572.2

* Update dependencies from https://github.com/dotnet/arcade build 20231122.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23572.2

* Update dependencies from https://github.com/dotnet/arcade build 20231122.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23572.2

* Update dependencies from https://github.com/dotnet/arcade build 20231127.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23577.2

* Update dependencies from https://github.com/dotnet/arcade build 20231128.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23578.2

* Update dependencies from https://github.com/dotnet/arcade build 20231129.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23579.2

* Update dependencies from https://github.com/dotnet/arcade build 20231130.7

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23580.7

* Update dependencies from https://github.com/dotnet/arcade build 20231201.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23601.1

* Update dependencies from https://github.com/dotnet/arcade build 20231201.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23601.1

* update to 8.0 TFM

* Update dependencies from https://github.com/dotnet/arcade build 20231201.1

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.23504.4 -> To Version 9.0.0-beta.23601.1

* fix various XUnitTest errors

* update asp.net core to 8.x

* update aspnet core version

* update Helix to 8.x

* fix a test issue with Linux

* update Linux image pool

* revert the build image change

* update Linux OS IDs

* update per code review feedback

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2 people authored and organich committed Aug 31, 2024
1 parent 78929ea commit 68614a2
Showing 51 changed files with 101 additions and 24 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -40,10 +40,10 @@
</ItemGroup>

<PropertyGroup>
<ScenarioTestTargetFrameworks>net6.0;net7.0;net8.0</ScenarioTestTargetFrameworks>
<UnitTestTargetFrameworks>net6.0;net7.0;net8.0</UnitTestTargetFrameworks>
<ScenarioTestTargetFrameworks>net8.0</ScenarioTestTargetFrameworks>
<UnitTestTargetFrameworks>net8.0</UnitTestTargetFrameworks>
<!-- This is the target framework version of the built tests picked up to send to Helix -->
<XUnitPublishTargetFramework>net6.0</XUnitPublishTargetFramework>
<XUnitPublishTargetFramework>net8.0</XUnitPublishTargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(IsTestProject)' == 'true'">
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<CLSCompliant>false</CLSCompliant>
<IsPackable>false</IsPackable>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<CLSCompliant>false</CLSCompliant>
<IsTestProject>true</IsTestProject>
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>
<OutputType>Library</OutputType>
<CLSCompliant>false</CLSCompliant>
<IsPackable>false</IsPackable>
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<CLSCompliant>true</CLSCompliant>
<IsPackable>true</IsPackable>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<PackageDescription>Provides the types that allow security communications with SOAP messages using WS-Federation.</PackageDescription>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<IsPackable>true</IsPackable>
<!-- Workaround for https://github.com/NuGet/NuGet.Client/pull/3016 -->
<NoWarn>$(NoWarn);NU5131</NoWarn>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<PackageDescription>Provides the types that permit SOAP messages to be exchanged using Http (example: BasicHttpBinding).</PackageDescription>
</PropertyGroup>
Original file line number Diff line number Diff line change
@@ -333,7 +333,7 @@ public static void ProxyCredentialType_Propagates_To_TransportBindingElement(Htt
public static void ExtendedProtectionPolicy_Propagates_To_TransportBindingElement()
{
var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport);
var epp = new ExtendedProtectionPolicy(PolicyEnforcement.Always);
var epp = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupported);
binding.Security.Transport.ExtendedProtectionPolicy = epp;
var be = binding.CreateBindingElements();
var htbe = be.Find<HttpTransportBindingElement>();
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<CLSCompliant>true</CLSCompliant>
<IsPackable>true</IsPackable>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>System.ServiceModel</RootNamespace>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
Original file line number Diff line number Diff line change
@@ -12,12 +12,13 @@ internal class NFTransportDefaults
public const long MaxReceivedMessageSize = 65536;
public const int MaxBufferSize = (int)MaxReceivedMessageSize;
public const bool RequireClientCertificate = false;
#pragma warning disable SYSLIB0039
public const SSAuth.SslProtocols SslProtocols =
// SSL3 is not supported in CoreFx.
SSAuth.SslProtocols.Tls |
// SSL3 is not supported in CoreFx.
SSAuth.SslProtocols.Tls |
SSAuth.SslProtocols.Tls11 |
SSAuth.SslProtocols.Tls12;

#pragma warning restore SYSLIB0039
public static MessageEncoderFactory GetDefaultMessageEncoderFactory()
{
return new BinaryMessageEncodingBindingElement().CreateMessageEncoderFactory();
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<CLSCompliant>true</CLSCompliant>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
<CLSCompliant>true</CLSCompliant>
<IsPackable>true</IsPackable>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<RootNamespace>System.ServiceModel</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageDescription>Provides the types that permit SOAP messages to be exchanged using named pipes (example: NetNamedPipeBinding).</PackageDescription>
Original file line number Diff line number Diff line change
@@ -28,10 +28,12 @@ public PipeException(string message, Exception inner)
{
}

#pragma warning disable SYSLIB0051
protected PipeException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
#pragma warning restore SYSLIB0051

public virtual int ErrorCode
{
Original file line number Diff line number Diff line change
@@ -11,6 +11,8 @@ public class AddressAccessDeniedException : CommunicationException
public AddressAccessDeniedException() { }
public AddressAccessDeniedException(string message) : base(message) { }
public AddressAccessDeniedException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected AddressAccessDeniedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<IsPackable>true</IsPackable>
<!-- Workaround for https://github.com/NuGet/NuGet.Client/pull/3016 -->
<NoWarn>$(NoWarn);NU5131</NoWarn>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<PackageDescription>Provides the types that permit SOAP messages to be exchanged using TCP (example: NetTcpBinding).</PackageDescription>
</PropertyGroup>
Original file line number Diff line number Diff line change
@@ -18,11 +18,13 @@ internal static class TcpTransportDefaults
public const long MaxReceivedMessageSize = 65536;
public const long MaxBufferPoolSize = 512 * 1024;
public const int MaxBufferSize = (int)MaxReceivedMessageSize;
#pragma warning disable SYSLIB0039
public const SslProtocols SslProtocols =
// SSL3 is not supported in CoreFx.
SSAuth.SslProtocols.Tls |
SSAuth.SslProtocols.Tls11 |
SSAuth.SslProtocols.Tls12;
#pragma warning restore SYSLIB0039
public static TimeSpan ConnectionLeaseTimeout => TimeSpan.FromMinutes(5);
public const bool PortSharingEnabled = false;
public const bool TeredoEnabled = false;
Original file line number Diff line number Diff line change
@@ -19,6 +19,8 @@ public FatalException(string message, Exception innerException) : base(message,
Fx.Assert(innerException == null || !Fx.IsFatal(innerException), "FatalException can't be used to wrap fatal exceptions.");
}

#pragma warning disable SYSLIB0051
protected FatalException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -990,14 +990,18 @@ private void UnhandledExceptionFrame(IAsyncResult result)
internal class InternalException : SystemException
{
public InternalException(string description) : base(InternalSR.ShipAssertExceptionMessage(description)) { }
#pragma warning disable SYSLIB0051
protected InternalException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}

[Serializable]
internal class FatalInternalException : InternalException
{
public FatalInternalException(string description) : base(description) { }
#pragma warning disable SYSLIB0051
protected FatalInternalException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,8 @@
<IsPackable>true</IsPackable>
<!-- Workaround for https://github.com/NuGet/NuGet.Client/pull/3016 -->
<NoWarn>$(NoWarn);NU5131</NoWarn>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsShipping>$(Ship_WcfPackages)</IsShipping>
<PackageDescription>Provides the common types used by all of the WCF libraries.</PackageDescription>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
Original file line number Diff line number Diff line change
@@ -16,7 +16,9 @@ public SecurityMessageSerializationException(string message) : base(message) { }
public SecurityMessageSerializationException(string message, Exception innerException)
: base(message, innerException) { }

#pragma warning disable SYSLIB0051
protected SecurityMessageSerializationException(SerializationInfo info, StreamingContext context)
: base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class SecurityTokenException : Exception
public SecurityTokenException() : base() { }
public SecurityTokenException(string message) : base(message) { }
public SecurityTokenException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected SecurityTokenException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class SecurityTokenValidationException : SecurityTokenException
public SecurityTokenValidationException() : base() { }
public SecurityTokenValidationException(string message) : base(message) { }
public SecurityTokenValidationException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected SecurityTokenValidationException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -18,7 +18,9 @@ public ActionMismatchAddressingException(string message, string soapActionHeader
SoapActionHeader = soapActionHeader;
}

#pragma warning disable SYSLIB0051
protected ActionMismatchAddressingException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051

public string HttpActionHeader { get; }

Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@ public class ActionNotSupportedException : CommunicationException
public ActionNotSupportedException() { }
public ActionNotSupportedException(string message) : base(message) { }
public ActionNotSupportedException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected ActionNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051

internal Message ProvideFault(MessageVersion messageVersion)
{
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class ChannelTerminatedException : CommunicationException
public ChannelTerminatedException() { }
public ChannelTerminatedException(string message) : base(message) { }
public ChannelTerminatedException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected ChannelTerminatedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -165,11 +165,13 @@ internal static class TransportDefaults
public const bool RequireClientCertificate = false;
public const int MaxFaultSize = MaxBufferSize;
public const int MaxSecurityFaultSize = 16384;
#pragma warning disable SYSLIB0039
public const SslProtocols SslProtocols =
// SSL3 is not supported in CoreFx.
System.Security.Authentication.SslProtocols.Tls |
System.Security.Authentication.SslProtocols.Tls11 |
System.Security.Authentication.SslProtocols.Tls12;
#pragma warning restore SYSLIB0039

// Calling CreateFault on an incoming message can expose some DoS-related security
// vulnerabilities when a service is in streaming mode. See MB 47592 for more details.
Original file line number Diff line number Diff line change
@@ -584,10 +584,12 @@ public InternalFaultException(Message faultReply, string message, Exception inne
this.faultReply = faultReply;
}

#pragma warning disable SYSLIB0051
protected InternalFaultException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
#pragma warning restore SYSLIB0051

public Message FaultReply
{
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class CommunicationException : Exception
public CommunicationException() { }
public CommunicationException(string message) : base(message) { }
public CommunicationException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected CommunicationException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class CommunicationObjectAbortedException : CommunicationException
public CommunicationObjectAbortedException() { }
public CommunicationObjectAbortedException(string message) : base(message) { }
public CommunicationObjectAbortedException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected CommunicationObjectAbortedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class CommunicationObjectFaultedException : CommunicationException
public CommunicationObjectFaultedException() { }
public CommunicationObjectFaultedException(string message) : base(message) { }
public CommunicationObjectFaultedException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected CommunicationObjectFaultedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -11,6 +11,8 @@ internal abstract class InvalidBodyAccessException : Exception
{
protected InvalidBodyAccessException(string message) : this(message, null) { }
protected InvalidBodyAccessException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected InvalidBodyAccessException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ public class EndpointNotFoundException : CommunicationException
public EndpointNotFoundException() { }
public EndpointNotFoundException(string message) : base(message) { }
public EndpointNotFoundException(string message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected EndpointNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -114,6 +114,7 @@ public FaultException(MessageFault fault, string action)
Action = action;
}

#pragma warning disable SYSLIB0051
protected FaultException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
@@ -122,6 +123,7 @@ protected FaultException(SerializationInfo info, StreamingContext context)
Fault = (MessageFault)info.GetValue("messageFault", typeof(MessageFault));
Action = info.GetString("action");
}
#pragma warning restore SYSLIB0051

public string Action { get; }

@@ -193,6 +195,7 @@ private static FaultReason CreateReason(string reason)
return (reason != null) ? new FaultReason(reason) : DefaultReason;
}

[System.Obsolete]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
base.GetObjectData(info, context);
@@ -395,11 +398,13 @@ public FaultException(TDetail detail, FaultReason reason, FaultCode code, string
Detail = detail;
}

#pragma warning disable SYSLIB0051
protected FaultException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
Detail = (TDetail)info.GetValue("detail", typeof(TDetail));
}
#pragma warning restore SYSLIB0051

public TDetail Detail { get; }

@@ -408,6 +413,7 @@ public override MessageFault CreateMessageFault()
return MessageFault.CreateFault(Code, Reason, Detail);
}

[System.Obsolete]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
base.GetObjectData(info, context);
Original file line number Diff line number Diff line change
@@ -12,7 +12,9 @@ public class InvalidMessageContractException : Exception
public InvalidMessageContractException() : base() { }
public InvalidMessageContractException(string message) : base(message) { }
public InvalidMessageContractException(String message, Exception innerException) : base(message, innerException) { }
#pragma warning disable SYSLIB0051
protected InvalidMessageContractException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}

Original file line number Diff line number Diff line change
@@ -42,6 +42,8 @@ internal Message ProvideFault(MessageVersion messageVersion)

// for serialization
public MessageHeaderException() { }
#pragma warning disable SYSLIB0051
protected MessageHeaderException(SerializationInfo info, StreamingContext context) : base(info, context) { }
#pragma warning restore SYSLIB0051
}
}
Original file line number Diff line number Diff line change
@@ -15,8 +15,9 @@ internal class MustUnderstandSoapException : CommunicationException
{
// for serialization
public MustUnderstandSoapException() { }
#pragma warning disable SYSLIB0051
protected MustUnderstandSoapException(SerializationInfo info, StreamingContext context) : base(info, context) { }

#pragma warning restore SYSLIB0051
private EnvelopeVersion _envelopeVersion;

public MustUnderstandSoapException(Collection<MessageHeaderInfo> notUnderstoodHeaders, EnvelopeVersion envelopeVersion)
Loading

0 comments on commit 68614a2

Please sign in to comment.