File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
coreclr/tools/aot/ILCompiler.TypeSystem.Tests/CoreTestAssembly
libraries/System.Runtime/tests/System Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 5252 <!--
5353 TODO: Remove pinned version once arcade supplies a compiler that enables the repo to compile.
5454 -->
55- <MicrosoftNetCompilersToolsetVersion >4.4.0-2.22412.11 </MicrosoftNetCompilersToolsetVersion >
55+ <MicrosoftNetCompilersToolsetVersion >4.4.0-3.22452.8 </MicrosoftNetCompilersToolsetVersion >
5656 <StaticCsVersion >0.2.0</StaticCsVersion >
5757 <!-- SDK dependencies -->
5858 <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 @@ -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