Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dependencies #512

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}