Skip to content

Commit b1d3972

Browse files
authored
chore: InternalVisibleTo Unity SDK tests (#4130)
1 parent e72ca08 commit b1d3972

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Sentry/Sentry.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<ItemGroup Condition="'$(SolutionName)' == 'Sentry.Unity'">
2424
<InternalsVisibleTo Include="Sentry.Unity" />
25+
<InternalsVisibleTo Include="Sentry.Unity.Tests" />
2526
</ItemGroup>
2627

2728
<!-- Platform-specific props included here -->

src/Sentry/SentrySdk.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,6 @@ internal static IDisposable UseHub(IHub hub)
209209
return new DisposeHandle(hub);
210210
}
211211

212-
/// <summary>
213-
/// Allows to set the trace
214-
/// </summary>
215-
internal static void SetTrace(SentryId traceId, SpanId parentSpanId) =>
216-
CurrentHub.ConfigureScope(scope =>
217-
scope.SetPropagationContext(new SentryPropagationContext(traceId, parentSpanId)));
218-
219212
/// <summary>
220213
/// Flushes the queue of captured events until the timeout set in <see cref="SentryOptions.FlushTimeout"/>
221214
/// is reached.

0 commit comments

Comments
 (0)