Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Use List<T> rather than Collection<T> #4315

Merged
merged 6 commits into from
Dec 11, 2024

Fix build errors

926ce9f
Select commit
Loading
Failed to load commit list.
Merged

[Refactor] Use List<T> rather than Collection<T> #4315

Fix build errors
926ce9f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build MacOS Release) failed Dec 11, 2024 in 3m 58s

Build MacOS Release failed

Annotations

Check failure on line 61 in src/Adapter/MSTest.TestAdapter/Discovery/UnitTestDiscoverer.cs

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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.