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
{{ message }}
Repository navigation
Commit 79eae6a
Browse filesBrowse the repository at this point in the historyBrowse files
Treat the .NET and NUnit OverloadResolutionPriorityAttribute definitions as an expected polyfill collision while preserving the attribute for generated bindings. Account for intentional binding-test diagnostics now surfaced through the in-process MSBuild logger.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0de016bf-f41d-4d46-aab1-34c9850c8f4b
Copy file name to clipboardExpand all lines: tests/dotnet/UnitTests/ProjectTest.cs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3050,6 +3050,10 @@ public void PublishAotMonoTouchTest_NoIL2009 (ApplePlatform platform, string run
3050
3050
.FilterWarnings(platform);
3051
3051
varexpectedWarnings=newExpectedBuildMessage[]{
3052
3052
newExpectedBuildMessage($"ILC",$"MonoTouchFixtures.ObjCRuntime.ClassTest.GetHandle(): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available."),
3053
+
newExpectedBuildMessage($"MSBuild",$"The type Bindings.Test.Protocol.P2 has a [Protocol] and a [BaseType] attribute, but no [Model] attribute. This is likely incorrect; either remove the [BaseType] attribute, or add a [Model] attribute."),
3054
+
newExpectedBuildMessage($"MSBuild",$"The type Bindings.Test.ProtocolWithBlockProperties has a [Protocol] and a [BaseType] attribute, but no [Model] attribute. This is likely incorrect; either remove the [BaseType] attribute, or add a [Model] attribute."),
3055
+
newExpectedBuildMessage($"MSBuild",$"[NullAllowed] should not be used on methods, like 'Element GetElement(Key)', but only on properties, parameters and return values."),
3056
+
newExpectedBuildMessage($"MSBuild",$"[NullAllowed] should not be used on methods, like 'Foundation.NSEnumerator`1[Element] GetEnumerator()', but only on properties, parameters and return values."),
3053
3057
newExpectedBuildMessage($"MSBuild",$"It's not safe to remove the dynamic registrar, because monotouchtest references 'ObjCRuntime.Runtime.ConnectMethod (System.Reflection.MethodInfo, ObjCRuntime.Selector)'."),
3054
3058
newExpectedBuildMessage($"MSBuild",$"It's not safe to remove the dynamic registrar, because monotouchtest references 'ObjCRuntime.Runtime.ConnectMethod (System.Type, System.Reflection.MethodInfo, Foundation.ExportAttribute)'."),
3055
3059
newExpectedBuildMessage($"MSBuild",$"It's not safe to remove the dynamic registrar, because monotouchtest references 'ObjCRuntime.Runtime.ConnectMethod (System.Type, System.Reflection.MethodInfo, ObjCRuntime.Selector)'."),
0 commit comments