You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/dotnet/UnitTests/TrimmerWarningsTest.cs
+3-9
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,7 @@ public void TrimmerWarningsManagedStaticRegistrar (ApplePlatform platform, strin
17
17
break;
18
18
caseApplePlatform.MacOSX:
19
19
caseApplePlatform.MacCatalyst:
20
-
expectedWarnings=newExpectedBuildMessage[]{
21
-
newExpectedBuildMessage("ILLink"/* line 0 */,"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeCompiled: Attribute 'System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute' is being referenced in code but the trimmer was instructed to remove all instances of this attribute. If the attribute instances are necessary make sure to either remove the trimmer attribute XML portion which removes the attribute instances, or override the removal by using the trimmer XML descriptor to keep the attribute type (which in turn keeps all of its instances)."),
newExpectedBuildMessage("ILLink"/* line 0 */,"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeCompiled: Attribute 'System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute' is being referenced in code but the trimmer was instructed to remove all instances of this attribute. If the attribute instances are necessary make sure to either remove the trimmer attribute XML portion which removes the attribute instances, or override the removal by using the trimmer XML descriptor to keep the attribute type (which in turn keeps all of its instances)."),
@@ -73,9 +69,7 @@ public void TrimmerWarningsDynamicRegistrar (ApplePlatform platform, string runt
73
69
break;
74
70
caseApplePlatform.MacOSX:
75
71
caseApplePlatform.MacCatalyst:
76
-
expectedWarnings=newExpectedBuildMessage[]{
77
-
newExpectedBuildMessage("ILLink"/* line 0 */,"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeCompiled: Attribute 'System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute' is being referenced in code but the trimmer was instructed to remove all instances of this attribute. If the attribute instances are necessary make sure to either remove the trimmer attribute XML portion which removes the attribute instances, or override the removal by using the trimmer XML descriptor to keep the attribute type (which in turn keeps all of its instances)."),
0 commit comments