Skip to content

Commit

Permalink
Updating dependencies (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlal authored Nov 26, 2024
1 parent 53a9cbc commit 9e69a5d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Source/Core/Runtime/Exceptions/RuntimeException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ internal RuntimeException(string message, Exception innerException)
/// <summary>
/// Initializes a new instance of the <see cref="RuntimeException"/> class.
/// </summary>
#if NET8_0_OR_GREATER
[Obsolete("Marking obsolete until RuntimeException remains serializable", DiagnosticId = "SYSLIB0051")]
#endif
protected RuntimeException(SerializationInfo serializationInfo, StreamingContext streamingContext)
: base(serializationInfo, streamingContext)
{
Expand Down
4 changes: 4 additions & 0 deletions Source/Test/Rewriting/Types/Collections/Generic/Dictionary.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
using System.Runtime.Serialization;
using Microsoft.Coyote.Runtime;
using SystemGenerics = System.Collections.Generic;
Expand Down Expand Up @@ -246,6 +247,9 @@ public static bool TryGetValue(SystemGenerics.Dictionary<TKey, TValue> instance,
/// Implements the <see cref="ISerializable"/> interface and returns the data needed
/// to serialize the dictionary instance.
/// </summary>
#if NET8_0_OR_GREATER
[Obsolete("Marking obsolete", DiagnosticId = "SYSLIB0051")]
#endif
public static void GetObjectData(SystemGenerics.Dictionary<TKey, TValue> instance,
SerializationInfo info, StreamingContext context)
{
Expand Down
6 changes: 6 additions & 0 deletions Source/Test/Rewriting/Types/Collections/Generic/HashSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ public static SystemGenerics.HashSet<T>.Enumerator GetEnumerator(SystemGenerics.
/// Implements the <see cref="ISerializable"/> interface and returns the data needed to
/// serialize a hash set object.
/// </summary>
#if NET8_0_OR_GREATER
[Obsolete("Marking obsolete", DiagnosticId = "SYSLIB0051")]
#endif
public static void GetObjectData(SystemGenerics.HashSet<T> instance, SerializationInfo info,
StreamingContext context)
{
Expand Down Expand Up @@ -376,6 +379,9 @@ internal Wrapper(SystemGenerics.IEqualityComparer<T> comparer)
/// <summary>
/// Initializes a new instance of the <see cref="Wrapper"/> class.
/// </summary>
#if NET8_0_OR_GREATER
[Obsolete("Marking obsolete", DiagnosticId = "SYSLIB0051")]
#endif
internal Wrapper(SerializationInfo info, StreamingContext context)
: base(info, context) => this.Setup();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Microsoft.Coyote.Rewriting.Types.Runtime.CompilerServices
{
/// <summary>
/// Provides an awaitable object that is the outcome of invoking <see cref="SystemTask.ConfigureAwait"/>.
/// Provides an awaitable object that is the outcome of invoking <see cref="SystemTask.ConfigureAwait(bool)"/>.
/// </summary>
/// <remarks>This type is intended for compiler use only.</remarks>
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.303"
"version": "8.0.404"
}
}

0 comments on commit 9e69a5d

Please sign in to comment.