File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Sentry/Platforms/Native Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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'"
You can’t perform that action at this time.
0 commit comments