Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fbf161c
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Nov 4, 2025
df29b24
Fix MemoryMarshal.Cast implicit conversion error after Roslyn update …
Copilot Nov 6, 2025
46bb931
Fix conversion error
steveisok Nov 10, 2025
fd0957e
Update dependencies from https://github.com/dotnet/roslyn build 20251…
dotnet-maestro[bot] Nov 11, 2025
9aa0b69
Cherry-pick dotnet/roslyn update from .NET 10
am11 Dec 12, 2024
6e2757c
Fix CS8620 compiler error in HttpHeaders after Roslyn 4.14.0 update (…
Copilot Nov 14, 2025
985324a
Cherry-pick dotnet/roslyn update from .NET 10
am11 Nov 2, 2024
74beff9
Merge branch 'release/9.0-staging' into darc-release/9.0-staging-4da6…
sbomer Nov 20, 2025
8f7224b
Use Enumerable.Reverse for clarity in PermuteDimensions
sbomer Nov 20, 2025
d3b617a
Update dependencies from https://github.com/dotnet/roslyn build 20251…
dotnet-maestro[bot] Nov 21, 2025
05805c5
Cherry-pick dotnet/roslyn update from .NET 10
dotnet-maestro[bot] Apr 2, 2025
afbd218
Update dependencies from https://github.com/dotnet/roslyn build 20251…
dotnet-maestro[bot] Nov 22, 2025
7a7691c
Use Enumerable.Reverse in LibraryImportGenerator.Tests
sbomer Nov 24, 2025
349e2b2
Merge remote-tracking branch 'origin/release/9.0-staging' into darc-r…
sbomer Dec 3, 2025
291fa3d
Revert non-update changes
sbomer Dec 3, 2025
bfcf50a
Don't use toolset compiler package
sbomer Dec 3, 2025
3269af0
Add back prebuilt baseline
sbomer Dec 3, 2025
1fb69f8
Add back attribute for new warning
sbomer Dec 4, 2025
247d9c9
Fix test analyzer reference
sbomer Dec 4, 2025
98fc924
Fix CustomMarshaller tests
sbomer Dec 4, 2025
739e3f7
Fix RegularExpressions tests
sbomer Dec 4, 2025
81eefc3
Update dependencies from https://github.com/dotnet/roslyn build 20251…
dotnet-maestro[bot] Dec 10, 2025
53bf905
Update dependencies from https://github.com/dotnet/roslyn build 20251…
dotnet-maestro[bot] Dec 11, 2025
dc78cfe
Merge branch 'release/9.0-staging' into darc-release/9.0-staging-4da6…
jeffhandley Dec 23, 2025
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
13 changes: 13 additions & 0 deletions eng/SourceBuildPrebuiltBaseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,18 @@
<UsagePattern IdentityGlob="System.IO.Pipelines/7.0.0" />
<UsagePattern IdentityGlob="System.IO.Pipelines/8.0.*" />
<UsagePattern IdentityGlob="System.Security.Cryptography.Pkcs/5.0.0" />

<!-- Dependencies of Roslyn, replaced with live packages during full source build
https://github.com/dotnet/runtime/pull/112937#discussion_r2022951143 -->
<UsagePattern IdentityGlob="Microsoft.Bcl.AsyncInterfaces/9.0.0" />
<UsagePattern IdentityGlob="System.Collections.Immutable/9.0.0" />
<UsagePattern IdentityGlob="System.Composition/9.0.0" />
<UsagePattern IdentityGlob="System.Composition.AttributedModel/9.0.0" />
<UsagePattern IdentityGlob="System.Composition.Convention/9.0.0" />
<UsagePattern IdentityGlob="System.Composition.Hosting/9.0.0" />
<UsagePattern IdentityGlob="System.Composition.Runtime/9.0.0" />
<UsagePattern IdentityGlob="System.Composition.TypedParts/9.0.0" />
<UsagePattern IdentityGlob="System.IO.Pipelines/9.0.0" />
<UsagePattern IdentityGlob="System.Reflection.Metadata/9.0.0" />
</IgnorePatterns>
</UsageData>
22 changes: 11 additions & 11 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -360,30 +360,30 @@
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>91ea918f8fb26ec1d290283e5c5eeb1b003113da</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.12.0-3.25569.8">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.14.0-3.25609.16">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>dc344ef24932dcd53cdd24c15364a5996bc6a675</Sha>
<Sha>44b81fc54139e9fce040efc2a6558110c038896b</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.12.0-3.25569.8">
<Dependency Name="Microsoft.CodeAnalysis" Version="4.14.0-3.25609.16">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>dc344ef24932dcd53cdd24c15364a5996bc6a675</Sha>
<Sha>44b81fc54139e9fce040efc2a6558110c038896b</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-3.25569.8">
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.14.0-3.25609.16">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>dc344ef24932dcd53cdd24c15364a5996bc6a675</Sha>
<Sha>44b81fc54139e9fce040efc2a6558110c038896b</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.25615.3">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>7576c1d00aeef14c682c31b193ff8e58273cdd16</Sha>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.12.0-beta1.25609.16">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>44b81fc54139e9fce040efc2a6558110c038896b</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.25615.3">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>7576c1d00aeef14c682c31b193ff8e58273cdd16</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.12.0-3.25569.8">
<Dependency Name="Microsoft.SourceBuild.Intermediate.roslyn" Version="4.14.0-3.25609.16">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>dc344ef24932dcd53cdd24c15364a5996bc6a675</Sha>
<Sha>44b81fc54139e9fce040efc2a6558110c038896b</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.ApiCompat.Task" Version="9.0.109">
Expand Down
10 changes: 4 additions & 6 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,23 @@
<FlagNetStandard1XDependencies Condition="'$(FlagNetStandard1XDependencies)' == ''">true</FlagNetStandard1XDependencies>
<!-- Runtime controls its dependency graph via Traversal projects and doesn't want or need Arcade's ExcludeFrom infrastructure. -->
<DisableArcadeExcludeFromBuildSupport>true</DisableArcadeExcludeFromBuildSupport>
<!-- Use SDK compilers in full VMR builds. -->
<UsingToolMicrosoftNetCompilers Condition="'$(DotNetBuildOrchestrator)' != 'true'">true</UsingToolMicrosoftNetCompilers>
</PropertyGroup>
<ItemGroup>
<WorkloadSdkBandVersions Include="$(SdkBandVersion)" SupportsMachineArch="true" />
</ItemGroup>
<PropertyGroup>
<!-- dotnet/roslyn-analyzers dependencies -->
<MicrosoftCodeAnalysisAnalyzersVersion>3.11.0-beta1.25615.3</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.12.0-beta1.25609.16</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.25615.3</MicrosoftCodeAnalysisNetAnalyzersVersion>
<!-- dotnet/roslyn dependencies -->
<!--
These versions should not be used by any project that contributes to the design-time experience in VS, such as an analyzer, code-fix, or generator assembly.
Any tools that contribute to the design-time experience should use the MicrosoftCodeAnalysisVersion_LatestVS property above to ensure
they do not break the local dev experience.
-->
<MicrosoftCodeAnalysisCSharpVersion>4.12.0-3.25569.8</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>4.12.0-3.25569.8</MicrosoftCodeAnalysisVersion>
<MicrosoftNetCompilersToolsetVersion>4.12.0-3.25569.8</MicrosoftNetCompilersToolsetVersion>
<MicrosoftCodeAnalysisCSharpVersion>4.14.0-3.25609.16</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>4.14.0-3.25609.16</MicrosoftCodeAnalysisVersion>
<MicrosoftNetCompilersToolsetVersion>4.14.0-3.25609.16</MicrosoftNetCompilersToolsetVersion>
</PropertyGroup>
<!--
For source generator support we need to target multiple versions of Roslyn in order to be able to run on older versions of Roslyn.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ public void FromManaged(ManagedType m, Span<byte> buffer) {}
public void Free() {}
public ReadOnlySpan<byte> GetManagedValuesSource() => default;
public Span<T> GetUnmanagedValuesDestination() => default;

public static int BufferSize
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ public void FromManaged(ManagedType m, Span<byte> b) {}
public int ToUnmanaged() => default;

public void Free() {}

public static int BufferSize
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,6 @@ static class MarshallerType<T>
public static ReadOnlySpan<int> GetManagedValuesSource(ManagedType m) => default;

public static Span<T> GetUnmanagedValuesDestination(nint unmanaged, int numElements) => default;

public static int BufferSize
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ class ManagedType {}
static class MarshallerType
{
public static nint ConvertToUnmanaged(ManagedType m, Span<byte> b) => default;

public static int BufferSize
{
get
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisVersion_LatestVS)" />
</ItemGroup>

</Project>
Loading