File tree Expand file tree Collapse file tree 5 files changed +17
-32
lines changed
Expand file tree Collapse file tree 5 files changed +17
-32
lines changed Original file line number Diff line number Diff line change 6666 <ItemGroup Condition =" '$(TargetPlatformIdentifier)'==''" >
6767 <PackageReference Include =" Verify.Xunit" Version =" 30.5.0" />
6868 <PackageReference Include =" Verify.DiffPlex" Version =" 3.1.2" />
69- <PackageReference Include =" PublicApiGenerator" Version =" 11.4 .4" />
69+ <PackageReference Include =" PublicApiGenerator" Version =" 11.5 .4" />
7070 <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.1" PrivateAssets =" All" />
7171 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8.0" />
7272 <PackageReference Include =" coverlet.collector" Version =" 6.0.4" />
Original file line number Diff line number Diff line change @@ -617,20 +617,15 @@ namespace Sentry
617617 Fatal = 4,
618618 }
619619 [System.Diagnostics.DebuggerDisplay("SentryLog \\{ Level = {Level}, Message = \'{Message}\' \\}")]
620- [System.Runtime.CompilerServices.RequiredMember]
621620 public sealed class SentryLog
622621 {
623- [System.Runtime.CompilerServices.RequiredMember]
624- public Sentry.SentryLogLevel Level { get; init; }
625- [System.Runtime.CompilerServices.RequiredMember]
626- public string Message { get; init; }
622+ public required Sentry.SentryLogLevel Level { get; init; }
623+ public required string Message { get; init; }
627624 public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, object>> Parameters { get; init; }
628625 public Sentry.SpanId? SpanId { get; init; }
629626 public string? Template { get; init; }
630- [System.Runtime.CompilerServices.RequiredMember]
631- public System.DateTimeOffset Timestamp { get; init; }
632- [System.Runtime.CompilerServices.RequiredMember]
633- public Sentry.SentryId TraceId { get; init; }
627+ public required System.DateTimeOffset Timestamp { get; init; }
628+ public required Sentry.SentryId TraceId { get; init; }
634629 public void SetAttribute(string key, object value) { }
635630 public bool TryGetAttribute(string key, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { }
636631 }
Original file line number Diff line number Diff line change @@ -617,20 +617,15 @@ namespace Sentry
617617 Fatal = 4,
618618 }
619619 [System.Diagnostics.DebuggerDisplay("SentryLog \\{ Level = {Level}, Message = \'{Message}\' \\}")]
620- [System.Runtime.CompilerServices.RequiredMember]
621620 public sealed class SentryLog
622621 {
623- [System.Runtime.CompilerServices.RequiredMember]
624- public Sentry.SentryLogLevel Level { get; init; }
625- [System.Runtime.CompilerServices.RequiredMember]
626- public string Message { get; init; }
622+ public required Sentry.SentryLogLevel Level { get; init; }
623+ public required string Message { get; init; }
627624 public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, object>> Parameters { get; init; }
628625 public Sentry.SpanId? SpanId { get; init; }
629626 public string? Template { get; init; }
630- [System.Runtime.CompilerServices.RequiredMember]
631- public System.DateTimeOffset Timestamp { get; init; }
632- [System.Runtime.CompilerServices.RequiredMember]
633- public Sentry.SentryId TraceId { get; init; }
627+ public required System.DateTimeOffset Timestamp { get; init; }
628+ public required Sentry.SentryId TraceId { get; init; }
634629 public void SetAttribute(string key, object value) { }
635630 public bool TryGetAttribute(string key, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { }
636631 }
Original file line number Diff line number Diff line change @@ -617,20 +617,15 @@ namespace Sentry
617617 Fatal = 4,
618618 }
619619 [System.Diagnostics.DebuggerDisplay("SentryLog \\{ Level = {Level}, Message = \'{Message}\' \\}")]
620- [System.Runtime.CompilerServices.RequiredMember]
621620 public sealed class SentryLog
622621 {
623- [System.Runtime.CompilerServices.RequiredMember]
624- public Sentry.SentryLogLevel Level { get; init; }
625- [System.Runtime.CompilerServices.RequiredMember]
626- public string Message { get; init; }
622+ public required Sentry.SentryLogLevel Level { get; init; }
623+ public required string Message { get; init; }
627624 public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, object>> Parameters { get; init; }
628625 public Sentry.SpanId? SpanId { get; init; }
629626 public string? Template { get; init; }
630- [System.Runtime.CompilerServices.RequiredMember]
631- public System.DateTimeOffset Timestamp { get; init; }
632- [System.Runtime.CompilerServices.RequiredMember]
633- public Sentry.SentryId TraceId { get; init; }
627+ public required System.DateTimeOffset Timestamp { get; init; }
628+ public required Sentry.SentryId TraceId { get; init; }
634629 public void SetAttribute(string key, object value) { }
635630 public bool TryGetAttribute(string key, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { }
636631 }
Original file line number Diff line number Diff line change @@ -607,13 +607,13 @@ namespace Sentry
607607 [System.Diagnostics.DebuggerDisplay("SentryLog \\{ Level = {Level}, Message = \'{Message}\' \\}")]
608608 public sealed class SentryLog
609609 {
610- public Sentry.SentryLogLevel Level { get; init; }
611- public string Message { get; init; }
610+ public required Sentry.SentryLogLevel Level { get; init; }
611+ public required string Message { get; init; }
612612 public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, object>> Parameters { get; init; }
613613 public Sentry.SpanId? SpanId { get; init; }
614614 public string? Template { get; init; }
615- public System.DateTimeOffset Timestamp { get; init; }
616- public Sentry.SentryId TraceId { get; init; }
615+ public required System.DateTimeOffset Timestamp { get; init; }
616+ public required Sentry.SentryId TraceId { get; init; }
617617 public void SetAttribute(string key, object value) { }
618618 public bool TryGetAttribute(string key, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { }
619619 }
You can’t perform that action at this time.
0 commit comments