Skip to content

Commit

Permalink
Made Sentry.Values private
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell committed Oct 31, 2023
1 parent 99105fe commit fd9df9d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 26 deletions.
3 changes: 1 addition & 2 deletions src/Sentry/SentryValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ namespace Sentry;
/// <summary>
/// Helps serialization of Sentry protocol types which include a values property.
/// </summary>
// TODO: consider removing this as we control the serialization now
public sealed class SentryValues<T> : IJsonSerializable
internal sealed class SentryValues<T> : IJsonSerializable
{
/// <summary>
/// The values.
Expand Down
6 changes: 0 additions & 6 deletions test/Sentry.Tests/ApiApprovalTests.Run.Core3_1.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -835,12 +835,6 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryValues<T> : Sentry.IJsonSerializable
{
public SentryValues(System.Collections.Generic.IEnumerable<T>? values) { }
public System.Collections.Generic.IEnumerable<T> Values { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down
6 changes: 0 additions & 6 deletions test/Sentry.Tests/ApiApprovalTests.Run.DotNet6_0.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -836,12 +836,6 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryValues<T> : Sentry.IJsonSerializable
{
public SentryValues(System.Collections.Generic.IEnumerable<T>? values) { }
public System.Collections.Generic.IEnumerable<T> Values { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down
6 changes: 0 additions & 6 deletions test/Sentry.Tests/ApiApprovalTests.Run.DotNet7_0.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -836,12 +836,6 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryValues<T> : Sentry.IJsonSerializable
{
public SentryValues(System.Collections.Generic.IEnumerable<T>? values) { }
public System.Collections.Generic.IEnumerable<T> Values { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down
6 changes: 0 additions & 6 deletions test/Sentry.Tests/ApiApprovalTests.Run.Net4_8.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -834,12 +834,6 @@ namespace Sentry
public override string ToString() { }
public static Sentry.SentryTraceHeader Parse(string value) { }
}
public sealed class SentryValues<T> : Sentry.IJsonSerializable
{
public SentryValues(System.Collections.Generic.IEnumerable<T>? values) { }
public System.Collections.Generic.IEnumerable<T> Values { get; }
public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
}
public class Session : Sentry.ISession
{
public Session(string? distinctId, string release, string? environment) { }
Expand Down

0 comments on commit fd9df9d

Please sign in to comment.