Prevent regressions due to minor version upgrades of System.Diagnostics while we wait for a permanent solution to Activity private properties.