Skip to content

Commit 538065b

Browse files
authored
Update Roslyn compiler build (#75058)
* Update to compiler build 4.4.0-3.22431.10 * Add missing types * Remove duplicate Microsoft.Interop.SourceGeneration reference
1 parent 029bc7f commit 538065b

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<!--
5050
TODO: Remove pinned version once arcade supplies a compiler that enables the repo to compile.
5151
-->
52-
<MicrosoftNetCompilersToolsetVersion>4.4.0-2.22412.11</MicrosoftNetCompilersToolsetVersion>
52+
<MicrosoftNetCompilersToolsetVersion>4.4.0-3.22452.8</MicrosoftNetCompilersToolsetVersion>
5353
<StaticCsVersion>0.2.0</StaticCsVersion>
5454
<!-- SDK dependencies -->
5555
<MicrosoftDotNetApiCompatTaskVersion>7.0.100-rc.1.22402.1</MicrosoftDotNetApiCompatTaskVersion>

src/coreclr/tools/aot/ILCompiler.TypeSystem.Tests/CoreTestAssembly/Platform.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ public struct RuntimeMethodHandle { }
6161
public struct RuntimeFieldHandle { }
6262

6363
public class Attribute { }
64+
public class AttributeUsageAttribute : Attribute
65+
{
66+
public AttributeUsageAttribute(AttributeTargets targets) { }
67+
public bool AllowMultiple { get; set; }
68+
public bool Inherited { get; set; }
69+
}
70+
71+
public enum AttributeTargets { }
6472

6573
public class ThreadStaticAttribute : Attribute { }
6674

src/libraries/System.Net.WebSockets.Client/src/System.Net.WebSockets.Client.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
</ItemGroup>
4646
<ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'Browser'">
4747
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
48-
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
4948
<Reference Include="System.Runtime.InteropServices.JavaScript" />
5049
</ItemGroup>
5150
</Project>

src/libraries/System.Runtime/tests/System/Attributes.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,11 @@ public static void customAttributeCount()
331331
{
332332
List<CustomAttributeData> customAttributes = typeof(GetCustomAttribute).Module.CustomAttributes.ToList();
333333
// [System.Security.UnverifiableCodeAttribute()]
334+
// [System.Runtime.CompilerServices.RefSafetyRulesAttribute((Int32)11)]
334335
// [TestAttributes.FooAttribute()]
335336
// [TestAttributes.ComplicatedAttribute((Int32)1, Stuff = 2)]
336337
// [System.Diagnostics.DebuggableAttribute((Boolean)True, (Boolean)False)]
337-
Assert.Equal(4, customAttributes.Count);
338+
Assert.Equal(5, customAttributes.Count);
338339
}
339340

340341
[Fact]

0 commit comments

Comments
 (0)