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

Update dependencies from dotnet/roslyn #110105

Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
8cf386f
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 22, 2024
ae6fee2
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 23, 2024
2a13a6f
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 24, 2024
ba99bdf
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 26, 2024
96ae4f3
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 27, 2024
f6364ee
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 28, 2024
089fcd0
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 29, 2024
535c884
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Nov 30, 2024
2e73b10
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Dec 1, 2024
68215e4
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Dec 2, 2024
edd325f
Update dependencies from https://github.com/dotnet/roslyn build 20241…
dotnet-maestro[bot] Dec 3, 2024
d84efa9
Use explicit AsSpan
am11 Dec 3, 2024
fe444d6
Merge branch 'main' into darc-main-19369168-1f4a-490d-90eb-b9e754971a1a
am11 Dec 4, 2024
0b69315
Fix LibraryImportGenerator.UnitTests
am11 Dec 4, 2024
2879dab
Fix regex tests
am11 Dec 4, 2024
a2a1b52
Adjust trimming test for new codegen
sbomer Dec 9, 2024
263d5eb
Merge branch 'main' into darc-main-19369168-1f4a-490d-90eb-b9e754971a1a
am11 Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix regex tests
  • Loading branch information
am11 committed Dec 4, 2024
commit 2879dab7b8de4d1c8f49358b18e17e3acaf7330b
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ public async Task TopLevelStatements(InvocationType invocationType)
string test = @"using System.Text.RegularExpressions;
var isMatch = [|" + ConstructRegexInvocation(invocationType, pattern: "\"\"") + @"|]" + isMatchInvocation + ";";
string fixedCode = @"using System.Text.RegularExpressions;
var isMatch = MyRegex().IsMatch("""");

partial class Program
var isMatch = MyRegex().IsMatch(""""); partial class Program
{
[GeneratedRegex("""")]
private static partial Regex MyRegex();
Expand Down Expand Up @@ -850,9 +848,7 @@ public async Task TopLevelStatements_MultipleSourceFiles()
},
FixedState =
{
Sources = { "public class C { }", @"var r = MyRegex();

partial class Program
Sources = { "public class C { }", @"var r = MyRegex(); partial class Program
{
[System.Text.RegularExpressions.GeneratedRegex("""")]
private static partial System.Text.RegularExpressions.Regex MyRegex();
Expand Down
Loading