Guard MarshalByRefObject, [Serializable], and InitializeLifetimeService behind #if NETFRAMEWORK #8174
Build #20260513.16 failed
Annotations
Check failure on line 46 in src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs
azure-pipelines / microsoft.testfx
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
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
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
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)