[Refactor] Use List<T>
rather than Collection<T>
#4315
Build MacOS Release failed
Annotations
Check failure on line 61 in src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs#L61
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs(61,133): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 3: cannot convert from 'out System.Collections.Generic.ICollection<string>' to 'out System.Collections.Generic.List<string>'
Check failure on line 66 in src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs#L66
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs(66,36): error CS8602: (NETCORE_ENGINEERING_TELEMETRY=Build) Dereference of a possibly null reference.
Check failure on line 4 in src/Adapter/MSTest.TestAdapter/Discovery/TypeEnumerator.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTest.TestAdapter/Discovery/TypeEnumerator.cs#L4
src/Adapter/MSTest.TestAdapter/Discovery/TypeEnumerator.cs(4,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
Check failure on line 61 in src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs#L61
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs(61,133): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 3: cannot convert from 'out System.Collections.Generic.ICollection<string>' to 'out System.Collections.Generic.List<string>'
Check failure on line 66 in src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs#L66
src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs(66,36): error CS8602: (NETCORE_ENGINEERING_TELEMETRY=Build) Dereference of a possibly null reference.