public void MonitoringIsEnabled()
{
Assert.False(AppDomain.MonitoringIsEnabled);
Assert.Throws<ArgumentException>(() => {AppDomain.MonitoringIsEnabled = false;});
Assert.Throws<PlatformNotSupportedException>(() => {AppDomain.MonitoringIsEnabled = true;});
}