Guard MarshalByRefObject, [Serializable], and InitializeLifetimeService behind #if NETFRAMEWORK #8174
Build Windows Release failed
Annotations
Check failure on line 46 in src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs#L46
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs(46,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 41 in src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs#L41
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs(41,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 46 in src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs#L46
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs(46,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 41 in src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs#L41
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs(41,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 46 in src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs#L46
src\Adapter\MSTestAdapter.PlatformServices\MSTestSettings.cs(46,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)