Skip to content

Add test cases with trivias (comments) for code fix behavior

cbd04fa
Select commit
Loading
Failed to load commit list.
Merged

MSTEST0061: Add analyzer for OSCondition #7015

Add test cases with trivias (comments) for code fix behavior
cbd04fa
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Release) failed Nov 28, 2025 in 10m 1s

Build Windows Release failed

Annotations

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

Build log #L9

Error: Not found SourceFolder: D:\a\_work\1\s\artifacts\tmp\Release\testsuite

Check failure on line 27 in src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs#L27

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs(27,44): error CS1591: (NETCORE_ENGINEERING_TELEMETRY=Build) Missing XML comment for publicly visible type or member 'UseOSConditionAttributeInsteadOfRuntimeCheckFixer.FixableDiagnosticIds'

Check failure on line 30 in src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs#L30

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs(30,36): error CS1591: (NETCORE_ENGINEERING_TELEMETRY=Build) Missing XML comment for publicly visible type or member 'UseOSConditionAttributeInsteadOfRuntimeCheckFixer.GetFixAllProvider()'

Check failure on line 33 in src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs#L33

src\Analyzers\MSTest.Analyzers.CodeFixes\UseOSConditionAttributeInsteadOfRuntimeCheckFixer.cs(33,32): error CS1591: (NETCORE_ENGINEERING_TELEMETRY=Build) Missing XML comment for publicly visible type or member 'UseOSConditionAttributeInsteadOfRuntimeCheckFixer.RegisterCodeFixesAsync(CodeFixContext)'

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Release