forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bgen] Fix assembly comparison. Fixes xamarin#19612.
This fixes a regression in .NET 8, where we changed the temporary assembly name when building using a project file / MSBuild - we started compiling the temporary binding code in MSBuild instead of in the generator, and in the process we changed the name of the temporary assembly. This broke logic in bgen that compared the assembly name to check if a given type is from the temporary assembly or not. Fix this by checking the actual temporary assembly instead of the name of the assembly instead. Fixes xamarin#19612.
- Loading branch information
1 parent
d4c6cfc
commit bda19bb
Showing
5 changed files
with
74 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
|
||
using Foundation; | ||
using ObjCRuntime; | ||
using UIKit; | ||
|
||
namespace iosbindinglib { | ||
[Protocol] | ||
[BaseType(typeof(NSObject))] | ||
public interface ReaderProtocol | ||
{ | ||
} | ||
|
||
[BaseType(typeof(NSObject))] | ||
public interface Reader : ReaderProtocol | ||
{ | ||
} | ||
} |