File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
coreclr/tools/aot/ILCompiler.TypeSystem.Tests/CoreTestAssembly
System.Net.WebSockets.Client/src
System.Runtime/tests/System Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments