Skip to content

Commit cfc7920

Browse files
committed
Revert "fix type in feature switch comments"
This reverts commit b914cbc.
1 parent a76a482 commit cfc7920

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Sentry/Platforms/Native/SentryNative.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ internal static class SentryNative
1414

1515
#if NET9_0_OR_GREATER
1616
// FeatureSwitchDefinition should help with trimming disabled code.
17-
// This way, `Sentry.Native.IsEnabled` should be treated as a compile-time constant for trimmed apps.
17+
// This way, `SentryNative.IsEnabled` should be treated as a compile-time constant for trimmed apps.
1818
[FeatureSwitchDefinition(SentryNativeIsEnabledSwitchName)]
1919
#endif
2020
private static bool IsEnabled => !AppContext.TryGetSwitch(SentryNativeIsEnabledSwitchName, out var isEnabled) || isEnabled;

src/Sentry/Platforms/Native/buildTransitive/Sentry.Native.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<!-- When user sets <SentryNative>false</SentryNative> or <SentryNative>disable</SentryNative> in their project -->
13-
<!-- Sentry.Native.IsEnabled should result in compile-time constant for trimmed applications -->
13+
<!-- SentryNative.IsEnabled should result in compile-time constant for trimmed applications -->
1414
<!-- Effectively disabling native library -->
1515
<RuntimeHostConfigurationOption Include="Sentry.Native.IsEnabled"
1616
Condition="'$(SentryNative)' != 'false' and '$(SentryNative)' != 'disable'"

0 commit comments

Comments
 (0)