diff --git a/snippets/csharp/System/Math/Atan/Project.csproj b/snippets/csharp/System/Math/Atan/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Atan/Project.csproj +++ b/snippets/csharp/System/Math/Atan/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/BigMul/Project.csproj b/snippets/csharp/System/Math/BigMul/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/BigMul/Project.csproj +++ b/snippets/csharp/System/Math/BigMul/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Ceiling/Project.csproj b/snippets/csharp/System/Math/Ceiling/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Ceiling/Project.csproj +++ b/snippets/csharp/System/Math/Ceiling/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Cos/Project.csproj b/snippets/csharp/System/Math/Cos/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Cos/Project.csproj +++ b/snippets/csharp/System/Math/Cos/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Cosh/Project.csproj b/snippets/csharp/System/Math/Cosh/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Cosh/Project.csproj +++ b/snippets/csharp/System/Math/Cosh/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/E/Project.csproj b/snippets/csharp/System/Math/E/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/E/Project.csproj +++ b/snippets/csharp/System/Math/E/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Exp/Project.csproj b/snippets/csharp/System/Math/Exp/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Exp/Project.csproj +++ b/snippets/csharp/System/Math/Exp/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/IEEERemainder/Project.csproj b/snippets/csharp/System/Math/IEEERemainder/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/IEEERemainder/Project.csproj +++ b/snippets/csharp/System/Math/IEEERemainder/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Log10/Project.csproj b/snippets/csharp/System/Math/Log10/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Log10/Project.csproj +++ b/snippets/csharp/System/Math/Log10/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/LogMethod/Project.csproj b/snippets/csharp/System/Math/LogMethod/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Math/LogMethod/Project.csproj +++ b/snippets/csharp/System/Math/LogMethod/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Math/Max/Project.csproj b/snippets/csharp/System/Math/Max/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Max/Project.csproj +++ b/snippets/csharp/System/Math/Max/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Min/Project.csproj b/snippets/csharp/System/Math/Min/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Min/Project.csproj +++ b/snippets/csharp/System/Math/Min/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Overview/Project.csproj b/snippets/csharp/System/Math/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Overview/Project.csproj +++ b/snippets/csharp/System/Math/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Pow/Project.csproj b/snippets/csharp/System/Math/Pow/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Pow/Project.csproj +++ b/snippets/csharp/System/Math/Pow/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Sign/Project.csproj b/snippets/csharp/System/Math/Sign/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Sign/Project.csproj +++ b/snippets/csharp/System/Math/Sign/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Sqrt/Project.csproj b/snippets/csharp/System/Math/Sqrt/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Sqrt/Project.csproj +++ b/snippets/csharp/System/Math/Sqrt/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Tanh/Project.csproj b/snippets/csharp/System/Math/Tanh/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Tanh/Project.csproj +++ b/snippets/csharp/System/Math/Tanh/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Math/Truncate/Project.csproj b/snippets/csharp/System/Math/Truncate/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Math/Truncate/Project.csproj +++ b/snippets/csharp/System/Math/Truncate/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/MissingFieldException/Overview/Project.csproj b/snippets/csharp/System/MissingFieldException/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/MissingFieldException/Overview/Project.csproj +++ b/snippets/csharp/System/MissingFieldException/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/MulticastDelegate/Overview/Project.csproj b/snippets/csharp/System/MulticastDelegate/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/MulticastDelegate/Overview/Project.csproj +++ b/snippets/csharp/System/MulticastDelegate/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NonSerializedAttribute/Overview/Project.csproj b/snippets/csharp/System/NonSerializedAttribute/Overview/Project.csproj deleted file mode 100644 index ce6cbed10f4..00000000000 --- a/snippets/csharp/System/NonSerializedAttribute/Overview/Project.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - Exe - net4.8 - - - - - - - diff --git a/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs b/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs deleted file mode 100644 index aec265c26e4..00000000000 --- a/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs +++ /dev/null @@ -1,68 +0,0 @@ -// -using System; -using System.IO; -using System.Runtime.Serialization.Formatters.Soap; - -public class Test { - public static void Main() { - - // Creates a new TestSimpleObject object. - TestSimpleObject obj = new TestSimpleObject(); - - Console.WriteLine("Before serialization the object contains: "); - obj.Print(); - - // Opens a file and serializes the object into it in binary format. - Stream stream = File.Open("data.xml", FileMode.Create); - SoapFormatter formatter = new SoapFormatter(); - - formatter.Serialize(stream, obj); - stream.Close(); - - // Empties obj. - obj = null; - - // Opens file "data.xml" and deserializes the object from it. - stream = File.Open("data.xml", FileMode.Open); - formatter = new SoapFormatter(); - - obj = (TestSimpleObject)formatter.Deserialize(stream); - stream.Close(); - - Console.WriteLine(""); - Console.WriteLine("After deserialization the object contains: "); - obj.Print(); - } -} - -// A test object that needs to be serialized. -[Serializable()] -public class TestSimpleObject { - - public int member1; - public string member2; - public string member3; - public double member4; - - // A field that is not serialized. - [NonSerialized()] public string member5; - - public TestSimpleObject() { - - member1 = 11; - member2 = "hello"; - member3 = "hello"; - member4 = 3.14159265; - member5 = "hello world!"; - } - - public void Print() { - - Console.WriteLine("member1 = '{0}'", member1); - Console.WriteLine("member2 = '{0}'", member2); - Console.WriteLine("member3 = '{0}'", member3); - Console.WriteLine("member4 = '{0}'", member4); - Console.WriteLine("member5 = '{0}'", member5); - } -} -// diff --git a/snippets/csharp/System/NullReferenceException/Overview/Project.csproj b/snippets/csharp/System/NullReferenceException/Overview/Project.csproj index 80f35861282..7bf564e08d4 100644 --- a/snippets/csharp/System/NullReferenceException/Overview/Project.csproj +++ b/snippets/csharp/System/NullReferenceException/Overview/Project.csproj @@ -3,7 +3,7 @@ Exe disable - net9.0 + net10.0 diff --git a/snippets/csharp/System/Nullable/GetUnderlyingType/Project.csproj b/snippets/csharp/System/Nullable/GetUnderlyingType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Nullable/GetUnderlyingType/Project.csproj +++ b/snippets/csharp/System/Nullable/GetUnderlyingType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/Equals/Project.csproj b/snippets/csharp/System/NullableT/Equals/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/Equals/Project.csproj +++ b/snippets/csharp/System/NullableT/Equals/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/GetValueOrDefault/Project.csproj b/snippets/csharp/System/NullableT/GetValueOrDefault/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/GetValueOrDefault/Project.csproj +++ b/snippets/csharp/System/NullableT/GetValueOrDefault/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/HasValue/Project.csproj b/snippets/csharp/System/NullableT/HasValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/HasValue/Project.csproj +++ b/snippets/csharp/System/NullableT/HasValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/Overview/Project.csproj b/snippets/csharp/System/NullableT/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/Overview/Project.csproj +++ b/snippets/csharp/System/NullableT/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/ToString/Project.csproj b/snippets/csharp/System/NullableT/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/ToString/Project.csproj +++ b/snippets/csharp/System/NullableT/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/NullableT/op_Explicit/Project.csproj b/snippets/csharp/System/NullableT/op_Explicit/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/NullableT/op_Explicit/Project.csproj +++ b/snippets/csharp/System/NullableT/op_Explicit/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Object/Finalize/Project.csproj b/snippets/csharp/System/Object/Finalize/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Object/Finalize/Project.csproj +++ b/snippets/csharp/System/Object/Finalize/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Object/MemberwiseClone/Project.csproj b/snippets/csharp/System/Object/MemberwiseClone/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Object/MemberwiseClone/Project.csproj +++ b/snippets/csharp/System/Object/MemberwiseClone/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Object/Overview/Project.csproj b/snippets/csharp/System/Object/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Object/Overview/Project.csproj +++ b/snippets/csharp/System/Object/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/ObjectDisposedException/Overview/Project.csproj b/snippets/csharp/System/ObjectDisposedException/Overview/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/ObjectDisposedException/Overview/Project.csproj +++ b/snippets/csharp/System/ObjectDisposedException/Overview/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/ObsoleteAttribute/IsError/Project.csproj b/snippets/csharp/System/ObsoleteAttribute/IsError/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/ObsoleteAttribute/IsError/Project.csproj +++ b/snippets/csharp/System/ObsoleteAttribute/IsError/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/Clone/Project.csproj b/snippets/csharp/System/OperatingSystem/Clone/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/Clone/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/Clone/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/Overview/Project.csproj b/snippets/csharp/System/OperatingSystem/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/Overview/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/Platform/Project.csproj b/snippets/csharp/System/OperatingSystem/Platform/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/Platform/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/Platform/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/ServicePack/Project.csproj b/snippets/csharp/System/OperatingSystem/ServicePack/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/ServicePack/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/ServicePack/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/ToString/Project.csproj b/snippets/csharp/System/OperatingSystem/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/ToString/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OperatingSystem/VersionString/Project.csproj b/snippets/csharp/System/OperatingSystem/VersionString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OperatingSystem/VersionString/Project.csproj +++ b/snippets/csharp/System/OperatingSystem/VersionString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/OverflowException/Overview/Project.csproj b/snippets/csharp/System/OverflowException/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/OverflowException/Overview/Project.csproj +++ b/snippets/csharp/System/OverflowException/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/ParamArrayAttribute/Overview/Project.csproj b/snippets/csharp/System/ParamArrayAttribute/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/ParamArrayAttribute/Overview/Project.csproj +++ b/snippets/csharp/System/ParamArrayAttribute/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/PlatformID/Overview/Project.csproj b/snippets/csharp/System/PlatformID/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/PlatformID/Overview/Project.csproj +++ b/snippets/csharp/System/PlatformID/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Random/.ctor/Project.csproj b/snippets/csharp/System/Random/.ctor/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Random/.ctor/Project.csproj +++ b/snippets/csharp/System/Random/.ctor/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Random/Next/Project.csproj b/snippets/csharp/System/Random/Next/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Random/Next/Project.csproj +++ b/snippets/csharp/System/Random/Next/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Random/NextBytes/Project.csproj b/snippets/csharp/System/Random/NextBytes/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Random/NextBytes/Project.csproj +++ b/snippets/csharp/System/Random/NextBytes/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Random/NextDouble/Project.csproj b/snippets/csharp/System/Random/NextDouble/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Random/NextDouble/Project.csproj +++ b/snippets/csharp/System/Random/NextDouble/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Random/Overview/project.csproj b/snippets/csharp/System/Random/Overview/project.csproj index b6c877752cd..8c2171c96fb 100644 --- a/snippets/csharp/System/Random/Overview/project.csproj +++ b/snippets/csharp/System/Random/Overview/project.csproj @@ -2,7 +2,7 @@ exe - net8.0 + net10.0 enable enable diff --git a/snippets/csharp/System/ReadOnlySpanT/GetPinnableReference/cs.csproj b/snippets/csharp/System/ReadOnlySpanT/GetPinnableReference/cs.csproj index 8f2e93906d3..24581d5dc6a 100644 --- a/snippets/csharp/System/ReadOnlySpanT/GetPinnableReference/cs.csproj +++ b/snippets/csharp/System/ReadOnlySpanT/GetPinnableReference/cs.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable true diff --git a/snippets/csharp/System/RuntimeTypeHandle/Overview/Project.csproj b/snippets/csharp/System/RuntimeTypeHandle/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/RuntimeTypeHandle/Overview/Project.csproj +++ b/snippets/csharp/System/RuntimeTypeHandle/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/SByte/MaxValue/Project.csproj b/snippets/csharp/System/SByte/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/SByte/MaxValue/Project.csproj +++ b/snippets/csharp/System/SByte/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/SByte/TryParse/Project.csproj b/snippets/csharp/System/SByte/TryParse/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/SByte/TryParse/Project.csproj +++ b/snippets/csharp/System/SByte/TryParse/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Single/MaxValue/Project.csproj b/snippets/csharp/System/Single/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Single/MaxValue/Project.csproj +++ b/snippets/csharp/System/Single/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Single/MinValue/Project.csproj b/snippets/csharp/System/Single/MinValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Single/MinValue/Project.csproj +++ b/snippets/csharp/System/Single/MinValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Single/ToString/Project.csproj b/snippets/csharp/System/Single/ToString/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Single/ToString/Project.csproj +++ b/snippets/csharp/System/Single/ToString/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Single/TryParse/Project.csproj b/snippets/csharp/System/Single/TryParse/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Single/TryParse/Project.csproj +++ b/snippets/csharp/System/Single/TryParse/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Span.Enumerator/synchronization.csproj b/snippets/csharp/System/Span.Enumerator/synchronization.csproj index 21981895620..fe34df0f6ca 100644 --- a/snippets/csharp/System/Span.Enumerator/synchronization.csproj +++ b/snippets/csharp/System/Span.Enumerator/synchronization.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable Program diff --git a/snippets/csharp/System/Span/Overview/program.csproj b/snippets/csharp/System/Span/Overview/program.csproj index ba51a80bfe0..e67b9ab45c3 100644 --- a/snippets/csharp/System/Span/Overview/program.csproj +++ b/snippets/csharp/System/Span/Overview/program.csproj @@ -3,7 +3,7 @@ true Exe - net6.0 + net10.0 enable Latest diff --git a/snippets/csharp/System/Span/Slice/slice.csproj b/snippets/csharp/System/Span/Slice/slice.csproj index 649ae14631d..3d7de13b2e5 100644 --- a/snippets/csharp/System/Span/Slice/slice.csproj +++ b/snippets/csharp/System/Span/Slice/slice.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable diff --git a/snippets/csharp/System/StackOverflowException/Overview/Project.csproj b/snippets/csharp/System/StackOverflowException/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/StackOverflowException/Overview/Project.csproj +++ b/snippets/csharp/System/StackOverflowException/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/Chars/Project.csproj b/snippets/csharp/System/String/Chars/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/Chars/Project.csproj +++ b/snippets/csharp/System/String/Chars/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/Compare/Example.csproj b/snippets/csharp/System/String/Compare/Example.csproj index 5f7ec23133c..b3124e1c87b 100644 --- a/snippets/csharp/System/String/Compare/Example.csproj +++ b/snippets/csharp/System/String/Compare/Example.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable 8.0 True diff --git a/snippets/csharp/System/String/CompareOrdinal/Project.csproj b/snippets/csharp/System/String/CompareOrdinal/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/CompareOrdinal/Project.csproj +++ b/snippets/csharp/System/String/CompareOrdinal/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/Contains/Project.csproj b/snippets/csharp/System/String/Contains/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/Contains/Project.csproj +++ b/snippets/csharp/System/String/Contains/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/CopyTo/Project.csproj b/snippets/csharp/System/String/CopyTo/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/CopyTo/Project.csproj +++ b/snippets/csharp/System/String/CopyTo/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/Equals/Project.csproj b/snippets/csharp/System/String/Equals/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/Equals/Project.csproj +++ b/snippets/csharp/System/String/Equals/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/GetEnumerator/Project.csproj b/snippets/csharp/System/String/GetEnumerator/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/GetEnumerator/Project.csproj +++ b/snippets/csharp/System/String/GetEnumerator/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/GetHashCode/Project.csproj b/snippets/csharp/System/String/GetHashCode/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/GetHashCode/Project.csproj +++ b/snippets/csharp/System/String/GetHashCode/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/GetTypeCode/Project.csproj b/snippets/csharp/System/String/GetTypeCode/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/GetTypeCode/Project.csproj +++ b/snippets/csharp/System/String/GetTypeCode/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/IndexOfAny/Project.csproj b/snippets/csharp/System/String/IndexOfAny/Project.csproj index 92e46ddaccf..a15a29bf12c 100644 --- a/snippets/csharp/System/String/IndexOfAny/Project.csproj +++ b/snippets/csharp/System/String/IndexOfAny/Project.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 diff --git a/snippets/csharp/System/String/Insert/Project.csproj b/snippets/csharp/System/String/Insert/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/Insert/Project.csproj +++ b/snippets/csharp/System/String/Insert/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/IsInterned/Project.csproj b/snippets/csharp/System/String/IsInterned/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/IsInterned/Project.csproj +++ b/snippets/csharp/System/String/IsInterned/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/IsNormalized/Project.csproj b/snippets/csharp/System/String/IsNormalized/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/IsNormalized/Project.csproj +++ b/snippets/csharp/System/String/IsNormalized/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/Length/Project.csproj b/snippets/csharp/System/String/Length/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/Length/Project.csproj +++ b/snippets/csharp/System/String/Length/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/Remove/Project.csproj b/snippets/csharp/System/String/Remove/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/Remove/Project.csproj +++ b/snippets/csharp/System/String/Remove/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/Replace/Project.csproj b/snippets/csharp/System/String/Replace/Project.csproj index 24f58ecd991..ffb97e9872d 100644 --- a/snippets/csharp/System/String/Replace/Project.csproj +++ b/snippets/csharp/System/String/Replace/Project.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/Split/String.Split.csproj b/snippets/csharp/System/String/Split/String.Split.csproj index 4b3ba452f12..9784e4cbb99 100644 --- a/snippets/csharp/System/String/Split/String.Split.csproj +++ b/snippets/csharp/System/String/Split/String.Split.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable Split diff --git a/snippets/csharp/System/String/ToCharArray/Project.csproj b/snippets/csharp/System/String/ToCharArray/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/ToCharArray/Project.csproj +++ b/snippets/csharp/System/String/ToCharArray/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/ToLower/Project.csproj b/snippets/csharp/System/String/ToLower/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/ToLower/Project.csproj +++ b/snippets/csharp/System/String/ToLower/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/ToLowerInvariant/Project.csproj b/snippets/csharp/System/String/ToLowerInvariant/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/ToLowerInvariant/Project.csproj +++ b/snippets/csharp/System/String/ToLowerInvariant/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/ToString/Project.csproj b/snippets/csharp/System/String/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/ToString/Project.csproj +++ b/snippets/csharp/System/String/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/ToUpperInvariant/Project.csproj b/snippets/csharp/System/String/ToUpperInvariant/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/ToUpperInvariant/Project.csproj +++ b/snippets/csharp/System/String/ToUpperInvariant/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/TrimEnd/Project.csproj b/snippets/csharp/System/String/TrimEnd/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/String/TrimEnd/Project.csproj +++ b/snippets/csharp/System/String/TrimEnd/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/String/op_Equality/Project.csproj b/snippets/csharp/System/String/op_Equality/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/op_Equality/Project.csproj +++ b/snippets/csharp/System/String/op_Equality/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/String/op_Inequality/Project.csproj b/snippets/csharp/System/String/op_Inequality/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/String/op_Inequality/Project.csproj +++ b/snippets/csharp/System/String/op_Inequality/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/StringComparer/CurrentCulture/Project.csproj b/snippets/csharp/System/StringComparer/CurrentCulture/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/StringComparer/CurrentCulture/Project.csproj +++ b/snippets/csharp/System/StringComparer/CurrentCulture/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/StringComparer/Overview/Project.csproj b/snippets/csharp/System/StringComparer/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/StringComparer/Overview/Project.csproj +++ b/snippets/csharp/System/StringComparer/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/ThreadStaticAttribute/Overview/Project.csproj b/snippets/csharp/System/ThreadStaticAttribute/Overview/Project.csproj index d260053fe00..a5bdb8bb0cc 100644 --- a/snippets/csharp/System/ThreadStaticAttribute/Overview/Project.csproj +++ b/snippets/csharp/System/ThreadStaticAttribute/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 enable diff --git a/snippets/csharp/System/TimeSpan/.ctor/Project.csproj b/snippets/csharp/System/TimeSpan/.ctor/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TimeSpan/.ctor/Project.csproj +++ b/snippets/csharp/System/TimeSpan/.ctor/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TimeSpan/Add/Project.csproj b/snippets/csharp/System/TimeSpan/Add/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/Add/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Add/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/Compare/Project.csproj b/snippets/csharp/System/TimeSpan/Compare/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/Compare/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Compare/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/CompareTo/Project.csproj b/snippets/csharp/System/TimeSpan/CompareTo/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TimeSpan/CompareTo/Project.csproj +++ b/snippets/csharp/System/TimeSpan/CompareTo/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TimeSpan/Days/Project.csproj b/snippets/csharp/System/TimeSpan/Days/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/Days/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Days/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/Duration/Project.csproj b/snippets/csharp/System/TimeSpan/Duration/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/Duration/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Duration/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/FromDays/Project.csproj b/snippets/csharp/System/TimeSpan/FromDays/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TimeSpan/FromDays/Project.csproj +++ b/snippets/csharp/System/TimeSpan/FromDays/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TimeSpan/GetHashCode/Project.csproj b/snippets/csharp/System/TimeSpan/GetHashCode/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/GetHashCode/Project.csproj +++ b/snippets/csharp/System/TimeSpan/GetHashCode/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/MaxValue/Project.csproj b/snippets/csharp/System/TimeSpan/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/MaxValue/Project.csproj +++ b/snippets/csharp/System/TimeSpan/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/Overview/Project.csproj b/snippets/csharp/System/TimeSpan/Overview/Project.csproj index 274b5ecb6d6..f99395b4b2b 100644 --- a/snippets/csharp/System/TimeSpan/Overview/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 diff --git a/snippets/csharp/System/TimeSpan/Subtract/Project.csproj b/snippets/csharp/System/TimeSpan/Subtract/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/Subtract/Project.csproj +++ b/snippets/csharp/System/TimeSpan/Subtract/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/TotalDays/Project.csproj b/snippets/csharp/System/TimeSpan/TotalDays/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/TotalDays/Project.csproj +++ b/snippets/csharp/System/TimeSpan/TotalDays/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/TotalHours/Project.csproj b/snippets/csharp/System/TimeSpan/TotalHours/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/TotalHours/Project.csproj +++ b/snippets/csharp/System/TimeSpan/TotalHours/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/TotalMilliseconds/Project.csproj b/snippets/csharp/System/TimeSpan/TotalMilliseconds/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/TotalMilliseconds/Project.csproj +++ b/snippets/csharp/System/TimeSpan/TotalMilliseconds/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/TotalMinutes/Project.csproj b/snippets/csharp/System/TimeSpan/TotalMinutes/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/TotalMinutes/Project.csproj +++ b/snippets/csharp/System/TimeSpan/TotalMinutes/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/TotalSeconds/Project.csproj b/snippets/csharp/System/TimeSpan/TotalSeconds/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/TotalSeconds/Project.csproj +++ b/snippets/csharp/System/TimeSpan/TotalSeconds/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeSpan/op_Addition/Project.csproj b/snippets/csharp/System/TimeSpan/op_Addition/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TimeSpan/op_Addition/Project.csproj +++ b/snippets/csharp/System/TimeSpan/op_Addition/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TimeSpan/op_Equality/Project.csproj b/snippets/csharp/System/TimeSpan/op_Equality/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeSpan/op_Equality/Project.csproj +++ b/snippets/csharp/System/TimeSpan/op_Equality/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/Project.csproj b/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/Project.csproj b/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/ClearCachedData/Project.csproj b/snippets/csharp/System/TimeZoneInfo/ClearCachedData/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/ClearCachedData/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/ClearCachedData/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/Project.csproj b/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/Project.csproj b/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/DaylightName/Project.csproj b/snippets/csharp/System/TimeZoneInfo/DaylightName/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/DaylightName/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/DaylightName/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/Equals/Project.csproj b/snippets/csharp/System/TimeZoneInfo/Equals/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/Equals/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/Equals/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/GetAmbiguousTimeOffsets/Project.csproj b/snippets/csharp/System/TimeZoneInfo/GetAmbiguousTimeOffsets/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/GetAmbiguousTimeOffsets/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/GetAmbiguousTimeOffsets/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/GetUtcOffset/Project.csproj b/snippets/csharp/System/TimeZoneInfo/GetUtcOffset/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/GetUtcOffset/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/GetUtcOffset/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TimeZoneInfo/HasSameRules/Project.csproj b/snippets/csharp/System/TimeZoneInfo/HasSameRules/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TimeZoneInfo/HasSameRules/Project.csproj +++ b/snippets/csharp/System/TimeZoneInfo/HasSameRules/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2,T3/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2,T3/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2,T3/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2,T3/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1,T2/Overview/Project.csproj b/snippets/csharp/System/TupleT1,T2/Overview/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TupleT1,T2/Overview/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2/Overview/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TupleT1,T2/ToString/Project.csproj b/snippets/csharp/System/TupleT1,T2/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1,T2/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1,T2/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1/Item1/Project.csproj b/snippets/csharp/System/TupleT1/Item1/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1/Item1/Project.csproj +++ b/snippets/csharp/System/TupleT1/Item1/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/Project.csproj b/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/Project.csproj +++ b/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/TupleT1/ToString/Project.csproj b/snippets/csharp/System/TupleT1/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TupleT1/ToString/Project.csproj +++ b/snippets/csharp/System/TupleT1/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/Assembly/Project.csproj b/snippets/csharp/System/Type/Assembly/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/Assembly/Project.csproj +++ b/snippets/csharp/System/Type/Assembly/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/AssemblyQualifiedName/Project.csproj b/snippets/csharp/System/Type/AssemblyQualifiedName/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/AssemblyQualifiedName/Project.csproj +++ b/snippets/csharp/System/Type/AssemblyQualifiedName/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/Attributes/system.type.attributes.csproj b/snippets/csharp/System/Type/Attributes/system.type.attributes.csproj index 0dc116f7a60..a15a29bf12c 100644 --- a/snippets/csharp/System/Type/Attributes/system.type.attributes.csproj +++ b/snippets/csharp/System/Type/Attributes/system.type.attributes.csproj @@ -2,7 +2,7 @@ Exe - net48 + net10.0 diff --git a/snippets/csharp/System/Type/BaseType/Project.csproj b/snippets/csharp/System/Type/BaseType/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/BaseType/Project.csproj +++ b/snippets/csharp/System/Type/BaseType/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/ContainsGenericParameters/Project.csproj b/snippets/csharp/System/Type/ContainsGenericParameters/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/ContainsGenericParameters/Project.csproj +++ b/snippets/csharp/System/Type/ContainsGenericParameters/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/DeclaringMethod/Project.csproj b/snippets/csharp/System/Type/DeclaringMethod/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/DeclaringMethod/Project.csproj +++ b/snippets/csharp/System/Type/DeclaringMethod/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/DeclaringType/Project.csproj b/snippets/csharp/System/Type/DeclaringType/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/DeclaringType/Project.csproj +++ b/snippets/csharp/System/Type/DeclaringType/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/DefaultBinder/Project.csproj b/snippets/csharp/System/Type/DefaultBinder/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/DefaultBinder/Project.csproj +++ b/snippets/csharp/System/Type/DefaultBinder/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/FilterAttribute/Project.csproj b/snippets/csharp/System/Type/FilterAttribute/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/FilterAttribute/Project.csproj +++ b/snippets/csharp/System/Type/FilterAttribute/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/FilterNameIgnoreCase/Project.csproj b/snippets/csharp/System/Type/FilterNameIgnoreCase/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/FilterNameIgnoreCase/Project.csproj +++ b/snippets/csharp/System/Type/FilterNameIgnoreCase/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/FindInterfaces/Project.csproj b/snippets/csharp/System/Type/FindInterfaces/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/FindInterfaces/Project.csproj +++ b/snippets/csharp/System/Type/FindInterfaces/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/FindMembers/Project.csproj b/snippets/csharp/System/Type/FindMembers/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/FindMembers/Project.csproj +++ b/snippets/csharp/System/Type/FindMembers/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GUID/Project.csproj b/snippets/csharp/System/Type/GUID/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GUID/Project.csproj +++ b/snippets/csharp/System/Type/GUID/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GenericParameterAttributes/Project.csproj b/snippets/csharp/System/Type/GenericParameterAttributes/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GenericParameterAttributes/Project.csproj +++ b/snippets/csharp/System/Type/GenericParameterAttributes/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GenericParameterPosition/Project.csproj b/snippets/csharp/System/Type/GenericParameterPosition/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GenericParameterPosition/Project.csproj +++ b/snippets/csharp/System/Type/GenericParameterPosition/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetArrayRank/Project.csproj b/snippets/csharp/System/Type/GetArrayRank/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetArrayRank/Project.csproj +++ b/snippets/csharp/System/Type/GetArrayRank/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetConstructor/Project.csproj b/snippets/csharp/System/Type/GetConstructor/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetConstructor/Project.csproj +++ b/snippets/csharp/System/Type/GetConstructor/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetDefaultMembers/Project.csproj b/snippets/csharp/System/Type/GetDefaultMembers/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetDefaultMembers/Project.csproj +++ b/snippets/csharp/System/Type/GetDefaultMembers/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetElementType/Project.csproj b/snippets/csharp/System/Type/GetElementType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetElementType/Project.csproj +++ b/snippets/csharp/System/Type/GetElementType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetField/Project.csproj b/snippets/csharp/System/Type/GetField/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetField/Project.csproj +++ b/snippets/csharp/System/Type/GetField/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetFields/Project.csproj b/snippets/csharp/System/Type/GetFields/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetFields/Project.csproj +++ b/snippets/csharp/System/Type/GetFields/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetGenericArguments/Project.csproj b/snippets/csharp/System/Type/GetGenericArguments/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetGenericArguments/Project.csproj +++ b/snippets/csharp/System/Type/GetGenericArguments/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetGenericTypeDefinition/Project.csproj b/snippets/csharp/System/Type/GetGenericTypeDefinition/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetGenericTypeDefinition/Project.csproj +++ b/snippets/csharp/System/Type/GetGenericTypeDefinition/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetInterfaces/Project.csproj b/snippets/csharp/System/Type/GetInterfaces/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetInterfaces/Project.csproj +++ b/snippets/csharp/System/Type/GetInterfaces/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetMember/Project.csproj b/snippets/csharp/System/Type/GetMember/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetMember/Project.csproj +++ b/snippets/csharp/System/Type/GetMember/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetMethod/Project.csproj b/snippets/csharp/System/Type/GetMethod/Project.csproj index e4b35115ad7..4fb1fd7656b 100644 --- a/snippets/csharp/System/Type/GetMethod/Project.csproj +++ b/snippets/csharp/System/Type/GetMethod/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 Program true diff --git a/snippets/csharp/System/Type/GetMethods/Project.csproj b/snippets/csharp/System/Type/GetMethods/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetMethods/Project.csproj +++ b/snippets/csharp/System/Type/GetMethods/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetNestedTypes/Project.csproj b/snippets/csharp/System/Type/GetNestedTypes/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetNestedTypes/Project.csproj +++ b/snippets/csharp/System/Type/GetNestedTypes/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetProperties/Project.csproj b/snippets/csharp/System/Type/GetProperties/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetProperties/Project.csproj +++ b/snippets/csharp/System/Type/GetProperties/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetProperty/Project.csproj b/snippets/csharp/System/Type/GetProperty/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/GetProperty/Project.csproj +++ b/snippets/csharp/System/Type/GetProperty/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/GetTypeCode/Project.csproj b/snippets/csharp/System/Type/GetTypeCode/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetTypeCode/Project.csproj +++ b/snippets/csharp/System/Type/GetTypeCode/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/GetTypeFromHandle/Project.csproj b/snippets/csharp/System/Type/GetTypeFromHandle/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/GetTypeFromHandle/Project.csproj +++ b/snippets/csharp/System/Type/GetTypeFromHandle/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/HasElementTypeImpl/Project.csproj b/snippets/csharp/System/Type/HasElementTypeImpl/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/HasElementTypeImpl/Project.csproj +++ b/snippets/csharp/System/Type/HasElementTypeImpl/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/InvokeMember/Project.csproj b/snippets/csharp/System/Type/InvokeMember/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/InvokeMember/Project.csproj +++ b/snippets/csharp/System/Type/InvokeMember/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsAbstract/Project.csproj b/snippets/csharp/System/Type/IsAbstract/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsAbstract/Project.csproj +++ b/snippets/csharp/System/Type/IsAbstract/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsAnsiClass/Project.csproj b/snippets/csharp/System/Type/IsAnsiClass/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsAnsiClass/Project.csproj +++ b/snippets/csharp/System/Type/IsAnsiClass/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsArray/Project.csproj b/snippets/csharp/System/Type/IsArray/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsArray/Project.csproj +++ b/snippets/csharp/System/Type/IsArray/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsArrayImpl/Project.csproj b/snippets/csharp/System/Type/IsArrayImpl/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsArrayImpl/Project.csproj +++ b/snippets/csharp/System/Type/IsArrayImpl/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsAutoLayout/Project.csproj b/snippets/csharp/System/Type/IsAutoLayout/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsAutoLayout/Project.csproj +++ b/snippets/csharp/System/Type/IsAutoLayout/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsClass/Project.csproj b/snippets/csharp/System/Type/IsClass/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsClass/Project.csproj +++ b/snippets/csharp/System/Type/IsClass/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsContextfulImpl/Project.csproj b/snippets/csharp/System/Type/IsContextfulImpl/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsContextfulImpl/Project.csproj +++ b/snippets/csharp/System/Type/IsContextfulImpl/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsEnum/Project.csproj b/snippets/csharp/System/Type/IsEnum/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsEnum/Project.csproj +++ b/snippets/csharp/System/Type/IsEnum/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsExplicitLayout/Project.csproj b/snippets/csharp/System/Type/IsExplicitLayout/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsExplicitLayout/Project.csproj +++ b/snippets/csharp/System/Type/IsExplicitLayout/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsGenericParameter/Project.csproj b/snippets/csharp/System/Type/IsGenericParameter/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsGenericParameter/Project.csproj +++ b/snippets/csharp/System/Type/IsGenericParameter/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsInstanceOfType/Project.csproj b/snippets/csharp/System/Type/IsInstanceOfType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsInstanceOfType/Project.csproj +++ b/snippets/csharp/System/Type/IsInstanceOfType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsInterface/Project.csproj b/snippets/csharp/System/Type/IsInterface/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsInterface/Project.csproj +++ b/snippets/csharp/System/Type/IsInterface/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsLayoutSequential/Project.csproj b/snippets/csharp/System/Type/IsLayoutSequential/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsLayoutSequential/Project.csproj +++ b/snippets/csharp/System/Type/IsLayoutSequential/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsMarshalByRefImpl/Project.csproj b/snippets/csharp/System/Type/IsMarshalByRefImpl/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsMarshalByRefImpl/Project.csproj +++ b/snippets/csharp/System/Type/IsMarshalByRefImpl/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsNested/Project.csproj b/snippets/csharp/System/Type/IsNested/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsNested/Project.csproj +++ b/snippets/csharp/System/Type/IsNested/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsNotPublic/Project.csproj b/snippets/csharp/System/Type/IsNotPublic/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsNotPublic/Project.csproj +++ b/snippets/csharp/System/Type/IsNotPublic/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsPrimitiveImpl/Project.csproj b/snippets/csharp/System/Type/IsPrimitiveImpl/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsPrimitiveImpl/Project.csproj +++ b/snippets/csharp/System/Type/IsPrimitiveImpl/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsPublic/Project.csproj b/snippets/csharp/System/Type/IsPublic/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsPublic/Project.csproj +++ b/snippets/csharp/System/Type/IsPublic/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsSealed/Project.csproj b/snippets/csharp/System/Type/IsSealed/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsSealed/Project.csproj +++ b/snippets/csharp/System/Type/IsSealed/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsSubclassOf/Project.csproj b/snippets/csharp/System/Type/IsSubclassOf/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/IsSubclassOf/Project.csproj +++ b/snippets/csharp/System/Type/IsSubclassOf/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/IsValueType/Project.csproj b/snippets/csharp/System/Type/IsValueType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsValueType/Project.csproj +++ b/snippets/csharp/System/Type/IsValueType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/IsVisible/Project.csproj b/snippets/csharp/System/Type/IsVisible/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/IsVisible/Project.csproj +++ b/snippets/csharp/System/Type/IsVisible/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/MakeByRefType/Project.csproj b/snippets/csharp/System/Type/MakeByRefType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/MakeByRefType/Project.csproj +++ b/snippets/csharp/System/Type/MakeByRefType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/MakeGenericType/Project.csproj b/snippets/csharp/System/Type/MakeGenericType/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/Type/MakeGenericType/Project.csproj +++ b/snippets/csharp/System/Type/MakeGenericType/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/Type/MemberType/Project.csproj b/snippets/csharp/System/Type/MemberType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/MemberType/Project.csproj +++ b/snippets/csharp/System/Type/MemberType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/Module/Project.csproj b/snippets/csharp/System/Type/Module/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/Module/Project.csproj +++ b/snippets/csharp/System/Type/Module/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/ReflectedType/Project.csproj b/snippets/csharp/System/Type/ReflectedType/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/ReflectedType/Project.csproj +++ b/snippets/csharp/System/Type/ReflectedType/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/StructLayoutAttribute/Project.csproj b/snippets/csharp/System/Type/StructLayoutAttribute/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/StructLayoutAttribute/Project.csproj +++ b/snippets/csharp/System/Type/StructLayoutAttribute/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Type/TypeHandle/Project.csproj b/snippets/csharp/System/Type/TypeHandle/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Type/TypeHandle/Project.csproj +++ b/snippets/csharp/System/Type/TypeHandle/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TypeLoadException/.ctor/Project.csproj b/snippets/csharp/System/TypeLoadException/.ctor/Project.csproj index ef45acdbf04..1eddf5e00ac 100644 --- a/snippets/csharp/System/TypeLoadException/.ctor/Project.csproj +++ b/snippets/csharp/System/TypeLoadException/.ctor/Project.csproj @@ -1,9 +1,6 @@ Library - net4.8 + net10.0 - - - diff --git a/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.cs b/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.cs deleted file mode 100644 index d5a4877f315..00000000000 --- a/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.cs +++ /dev/null @@ -1,90 +0,0 @@ -// System.TypeLoadException.GetObjectData -// System.TypeLoadException - -/* This program demonstrates the 'GetObjectData' method and the - protected constructor TypeLoadException(SerializationInfo,StreamingContext) - of 'TypeLoadException' class. It generates an exception and - serializes the exception data to a file and then reconstitutes the - exception. -*/ - -// -// - -using System; -using System.Reflection; -using System.Runtime.Serialization; -using System.Runtime.Serialization.Formatters.Soap; -using System.IO; - -class GetObjectDataDemo -{ - public static void Main() - { - // Get a reference to the assembly mscorlib.dll, which is always - // loaded. (System.String is defined in mscorlib.) - Assembly mscorlib = typeof(string).Assembly; - - try - { - Console.WriteLine ("Attempting to load a type not present in the assembly 'mscorlib'"); - // This loading of invalid type raises a TypeLoadException - Type myType = mscorlib.GetType("System.NonExistentType", true); - } - catch (TypeLoadException) - { - // Serialize the exception to disk and reconstitute it. - System.DateTime ErrorDatetime = DateTime.Now; - Console.WriteLine("A TypeLoadException has been raised."); - - // Create MyTypeLoadException instance with current time. - MyTypeLoadException myException = new MyTypeLoadException(ErrorDatetime); - IFormatter myFormatter = new SoapFormatter(); - Stream myFileStream = new FileStream("typeload.xml", FileMode.Create, FileAccess.Write, FileShare.None); - Console.WriteLine("Serializing the TypeLoadException with DateTime as " + ErrorDatetime); - - // Serialize the MyTypeLoadException instance to a file. - myFormatter.Serialize(myFileStream, myException); - myFileStream.Close(); - - Console.WriteLine("Deserializing the Exception."); - myFileStream = new FileStream("typeload.xml", FileMode.Open, FileAccess.Read, FileShare.None); - - // Deserialize and reconstitute the instance from file. - myException = (MyTypeLoadException) myFormatter.Deserialize(myFileStream); - myFileStream.Close(); - Console.WriteLine("Deserialized exception has ErrorDateTime = " + myException.ErrorDateTime); - } - } -} - -// This class overrides the GetObjectData method and initializes -// its data with current time. - -[Serializable] -public class MyTypeLoadException : TypeLoadException -{ - private System.DateTime _errorDateTime = DateTime.Now; - public DateTime ErrorDateTime { get { return _errorDateTime; }} - - public MyTypeLoadException(DateTime myDateTime) - { - _errorDateTime = myDateTime; - } - - protected MyTypeLoadException(SerializationInfo sInfo, StreamingContext sContext) - : base(sInfo, sContext) - { - // Reconstitute the deserialized information into the instance. - _errorDateTime = sInfo.GetDateTime("ErrorDate"); - } - - public override void GetObjectData(SerializationInfo sInfo, StreamingContext sContext) - { - base.GetObjectData(sInfo, sContext); - // Add a value to the Serialization information. - sInfo.AddValue("ErrorDate", ErrorDateTime); - } -} -// -// diff --git a/snippets/csharp/System/TypeLoadException/Message/Project.csproj b/snippets/csharp/System/TypeLoadException/Message/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TypeLoadException/Message/Project.csproj +++ b/snippets/csharp/System/TypeLoadException/Message/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/TypedReference/Overview/Project.csproj b/snippets/csharp/System/TypedReference/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/TypedReference/Overview/Project.csproj +++ b/snippets/csharp/System/TypedReference/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt16/CompareTo/Project.csproj b/snippets/csharp/System/UInt16/CompareTo/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt16/CompareTo/Project.csproj +++ b/snippets/csharp/System/UInt16/CompareTo/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt16/Equals/Project.csproj b/snippets/csharp/System/UInt16/Equals/Project.csproj index 0cafbe7f65e..5a62abd6f00 100644 --- a/snippets/csharp/System/UInt16/Equals/Project.csproj +++ b/snippets/csharp/System/UInt16/Equals/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 Example diff --git a/snippets/csharp/System/UInt16/MaxValue/Project.csproj b/snippets/csharp/System/UInt16/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt16/MaxValue/Project.csproj +++ b/snippets/csharp/System/UInt16/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt32/CompareTo/Project.csproj b/snippets/csharp/System/UInt32/CompareTo/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt32/CompareTo/Project.csproj +++ b/snippets/csharp/System/UInt32/CompareTo/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt32/Equals/Project.csproj b/snippets/csharp/System/UInt32/Equals/Project.csproj index 29255f5f4b1..c8263ab3adb 100644 --- a/snippets/csharp/System/UInt32/Equals/Project.csproj +++ b/snippets/csharp/System/UInt32/Equals/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 diff --git a/snippets/csharp/System/UInt32/MaxValue/Project.csproj b/snippets/csharp/System/UInt32/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt32/MaxValue/Project.csproj +++ b/snippets/csharp/System/UInt32/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt64/CompareTo/Project.csproj b/snippets/csharp/System/UInt64/CompareTo/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt64/CompareTo/Project.csproj +++ b/snippets/csharp/System/UInt64/CompareTo/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UInt64/MaxValue/Project.csproj b/snippets/csharp/System/UInt64/MaxValue/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UInt64/MaxValue/Project.csproj +++ b/snippets/csharp/System/UInt64/MaxValue/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UIntPtr/Add/Project.csproj b/snippets/csharp/System/UIntPtr/Add/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UIntPtr/Add/Project.csproj +++ b/snippets/csharp/System/UIntPtr/Add/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UIntPtr/Subtract/Project.csproj b/snippets/csharp/System/UIntPtr/Subtract/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UIntPtr/Subtract/Project.csproj +++ b/snippets/csharp/System/UIntPtr/Subtract/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UnauthorizedAccessException/Overview/Project.csproj b/snippets/csharp/System/UnauthorizedAccessException/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UnauthorizedAccessException/Overview/Project.csproj +++ b/snippets/csharp/System/UnauthorizedAccessException/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/AbsolutePath/Project.csproj b/snippets/csharp/System/Uri/AbsolutePath/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/AbsolutePath/Project.csproj +++ b/snippets/csharp/System/Uri/AbsolutePath/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/AbsoluteUri/Project.csproj b/snippets/csharp/System/Uri/AbsoluteUri/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/AbsoluteUri/Project.csproj +++ b/snippets/csharp/System/Uri/AbsoluteUri/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/Authority/Project.csproj b/snippets/csharp/System/Uri/Authority/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/Authority/Project.csproj +++ b/snippets/csharp/System/Uri/Authority/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/CheckHostName/Project.csproj b/snippets/csharp/System/Uri/CheckHostName/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/CheckHostName/Project.csproj +++ b/snippets/csharp/System/Uri/CheckHostName/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/CheckSchemeName/Project.csproj b/snippets/csharp/System/Uri/CheckSchemeName/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Uri/CheckSchemeName/Project.csproj +++ b/snippets/csharp/System/Uri/CheckSchemeName/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/Host/Project.csproj b/snippets/csharp/System/Uri/Host/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/Host/Project.csproj +++ b/snippets/csharp/System/Uri/Host/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/Overview/Project.csproj b/snippets/csharp/System/Uri/Overview/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/Overview/Project.csproj +++ b/snippets/csharp/System/Uri/Overview/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/PathAndQuery/Project.csproj b/snippets/csharp/System/Uri/PathAndQuery/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/PathAndQuery/Project.csproj +++ b/snippets/csharp/System/Uri/PathAndQuery/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/Port/Project.csproj b/snippets/csharp/System/Uri/Port/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/Port/Project.csproj +++ b/snippets/csharp/System/Uri/Port/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Uri/Scheme/Project.csproj b/snippets/csharp/System/Uri/Scheme/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/Uri/Scheme/Project.csproj +++ b/snippets/csharp/System/Uri/Scheme/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UriBuilder/Fragment/Project.csproj b/snippets/csharp/System/UriBuilder/Fragment/Project.csproj index c02dc5044e7..a369cfa8a80 100644 --- a/snippets/csharp/System/UriBuilder/Fragment/Project.csproj +++ b/snippets/csharp/System/UriBuilder/Fragment/Project.csproj @@ -2,7 +2,7 @@ Library - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/UriBuilder/Query/Project.csproj b/snippets/csharp/System/UriBuilder/Query/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/UriBuilder/Query/Project.csproj +++ b/snippets/csharp/System/UriBuilder/Query/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/ValueType/Overview/Project.csproj b/snippets/csharp/System/ValueType/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/ValueType/Overview/Project.csproj +++ b/snippets/csharp/System/ValueType/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/ValueType/ToString/Project.csproj b/snippets/csharp/System/ValueType/ToString/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/ValueType/ToString/Project.csproj +++ b/snippets/csharp/System/ValueType/ToString/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Version/.ctor/Project.csproj b/snippets/csharp/System/Version/.ctor/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Version/.ctor/Project.csproj +++ b/snippets/csharp/System/Version/.ctor/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Version/Overview/Project.csproj b/snippets/csharp/System/Version/Overview/Project.csproj index 8810b14fdbd..084fb46c407 100644 --- a/snippets/csharp/System/Version/Overview/Project.csproj +++ b/snippets/csharp/System/Version/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net10.0 false diff --git a/snippets/csharp/System/Version/Parse/Project.csproj b/snippets/csharp/System/Version/Parse/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Version/Parse/Project.csproj +++ b/snippets/csharp/System/Version/Parse/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/Version/TryParse/Project.csproj b/snippets/csharp/System/Version/TryParse/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/Version/TryParse/Project.csproj +++ b/snippets/csharp/System/Version/TryParse/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/csharp/System/WeakReference/Overview/Project.csproj b/snippets/csharp/System/WeakReference/Overview/Project.csproj index aa9fd2ecaaf..ffb97e9872d 100644 --- a/snippets/csharp/System/WeakReference/Overview/Project.csproj +++ b/snippets/csharp/System/WeakReference/Overview/Project.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 \ No newline at end of file diff --git a/snippets/fsharp/System/NonSerializedAttribute/Overview/fs.fsproj b/snippets/fsharp/System/NonSerializedAttribute/Overview/fs.fsproj deleted file mode 100644 index 3c4caff7001..00000000000 --- a/snippets/fsharp/System/NonSerializedAttribute/Overview/fs.fsproj +++ /dev/null @@ -1,18 +0,0 @@ - - - Exe - net48 - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs b/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs deleted file mode 100644 index 239ffea2a64..00000000000 --- a/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs +++ /dev/null @@ -1,50 +0,0 @@ -// -open System -open System.IO -open System.Runtime.Serialization.Formatters.Soap - -// A test object that needs to be serialized. -[] -type TestSimpleObject() = - let member1 = 11 - let member2 = "hello" - let member3 = "hello" - let member4 = 3.14159265 - - // A field that is not serialized. - [] - let member5 = "hello world!" - - member _.Print() = - printfn $"member1 = '{member1}'" - printfn $"member2 = '{member2}'" - printfn $"member3 = '{member3}'" - printfn $"member4 = '{member4}'" - printfn $"member5 = '{member5}'" - -[] -let main _ = - // Creates a new TestSimpleObject object. - let obj = TestSimpleObject() - - printfn "Before serialization the object contains: " - obj.Print() - - // Opens a file and serializes the object into it in binary format. - let stream = File.Open("data.xml", FileMode.Create) - let formatter = SoapFormatter() - - formatter.Serialize(stream, obj) - stream.Close() - - // Opens file "data.xml" and deserializes the object from it. - let stream = File.Open("data.xml", FileMode.Open) - let formatter = new SoapFormatter() - - let obj = formatter.Deserialize stream :?> TestSimpleObject - stream.Close() - - printfn "\nAfter deserialization the object contains: " - obj.Print() - 0 -// diff --git a/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb b/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb deleted file mode 100644 index d31630c8375..00000000000 --- a/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb +++ /dev/null @@ -1,79 +0,0 @@ -' -Imports System.IO -Imports System.Runtime.Serialization -Imports System.Runtime.Serialization.Formatters.Soap - - - - -Public Class Test - - Public Shared Sub Main() - - ' Creates a new TestSimpleObject object. - Dim obj As New TestSimpleObject() - - Console.WriteLine("Before serialization the object contains: ") - obj.Print() - - ' Opens a file and serializes the object into it in binary format. - Dim stream As Stream = File.Open("data.xml", FileMode.Create) - Dim formatter As New SoapFormatter() - - - - formatter.Serialize(stream, obj) - stream.Close() - - ' Empties obj. - obj = Nothing - - ' Opens file "data.xml" and deserializes the object from it. - stream = File.Open("data.xml", FileMode.Open) - formatter = New SoapFormatter() - - - - obj = CType(formatter.Deserialize(stream), TestSimpleObject) - stream.Close() - - Console.WriteLine("") - Console.WriteLine("After deserialization the object contains: ") - obj.Print() - - End Sub - -End Class - - -' A test object that needs to be serialized. - Public Class TestSimpleObject - - Public member1 As Integer - Public member2 As String - Public member3 As String - Public member4 As Double - - ' A member that is not serialized. - Public member5 As String - - - Public Sub New() - member1 = 11 - member2 = "hello" - member3 = "hello" - member4 = 3.14159265 - member5 = "hello world!" - End Sub - - - Public Sub Print() - Console.WriteLine("member1 = '{0}'", member1) - Console.WriteLine("member2 = '{0}'", member2) - Console.WriteLine("member3 = '{0}'", member3) - Console.WriteLine("member4 = '{0}'", member4) - Console.WriteLine("member5 = '{0}'", member5) - End Sub - -End Class -' \ No newline at end of file diff --git a/xml/System/SerializableAttribute.xml b/xml/System/SerializableAttribute.xml index 5ce82da130a..838770e892c 100644 --- a/xml/System/SerializableAttribute.xml +++ b/xml/System/SerializableAttribute.xml @@ -88,13 +88,6 @@ > [!NOTE] > This attribute does not apply to JSON serialization using . -## Examples - The following example demonstrates SOAP serialization of an object that's marked with the attribute. - - :::code language="csharp" source="~/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs" id="Snippet1"::: - :::code language="fsharp" source="~/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb" id="Snippet1"::: - ]]>