mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 18:25:28 +00:00
2008-09-24 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: just fail on location null or empty instead of checking the assembly type. Avoids failures on the ms runtime. svn path=/trunk/gtk-sharp/; revision=113989
This commit is contained in:
parent
4c6832ec18
commit
ead904c8a3
|
@ -1,3 +1,8 @@
|
|||
2008-09-24 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* glib/GType.cs: just fail on location null or empty instead of
|
||||
checking the assembly type. Avoids failures on the ms runtime.
|
||||
|
||||
2008-09-23 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* bootstrap-2.12: bump svn version after tag.
|
||||
|
|
|
@ -160,8 +160,7 @@ namespace GLib {
|
|||
visited [asm] = asm;
|
||||
Type result = asm.GetType (type_name);
|
||||
if (result == null) {
|
||||
if (asm is System.Reflection.Emit.AssemblyBuilder)
|
||||
/* These don't support Location */
|
||||
if (asm.Location == null || asm.Location.Length == 0)
|
||||
return null;
|
||||
string asm_dir = Path.GetDirectoryName (asm.Location);
|
||||
foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
|
||||
|
|
Loading…
Reference in a new issue