Skip to content

Conversation

JoeRobich
Copy link
Member

No description provided.

@@ -549,7 +549,7 @@ public class Foo
Assert.Null(exception);
}

[Fact]
[Fact(Skip = "Need Roslyn EA for the TestGeneratorReference")]
Copy link
Member Author

@JoeRobich JoeRobich Mar 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change to include checksum in the caching (dotnet/roslyn#77141) causes the test to throw due to our TestGeneratorReference class. An interface was added for testing purposes and we can use that once Roslyn exposes it to us through our ExternalAccess library.

}
}
";
string input = $$"""
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reformatted this so that my formatter won't remove this necessary whitespace.

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to suppress warnings due to building against net6.0 with net9.0 libraries.

("Generate type 'Console' -> Generate nested class 'Console'", CodeActionKind.QuickFix),
("Extract local function", CodeActionKind.RefactorExtract),
("Extract method", CodeActionKind.RefactorExtract),
("Use expression body for method", CodeActionKind.Refactor),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expression body refactoring are now being offered for non-empty selections dotnet/roslyn#76969

@JoeRobich JoeRobich requested a review from 333fred March 19, 2025 08:11
@JoeRobich JoeRobich assigned dibarbet and unassigned dibarbet Mar 19, 2025
@JoeRobich JoeRobich merged commit 4bcb0d6 into master Mar 19, 2025
16 checks passed
@JoeRobich JoeRobich deleted the dev/jorobich/update-roslyn branch March 19, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants