Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mono alc from gchandle #62120

Merged
merged 5 commits into from
Nov 30, 2021
Merged

Conversation

srxqds
Copy link
Contributor

@srxqds srxqds commented Nov 29, 2021

fix: #62052

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Nov 29, 2021
@ghost
Copy link

ghost commented Nov 29, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: srxqds
Assignees: -
Labels:

area-AssemblyLoader-mono, community-contribution

Milestone: -

@lateralusX
Copy link
Member

Compile error:

 /__w/1/s/src/mono/mono/metadata/assembly-load-context.c:431:27: error: too few arguments to function ‘mono_class_get_field_from_name_full’
    431 |                 resolve = mono_class_get_field_from_name_full (alc_class, "_nativeAssemblyLoadContext");
        |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /__w/1/s/src/mono/mono/mini/../../mono/metadata/handle.h:26,
                   from /__w/1/s/src/mono/mono/mini/../../mono/metadata/exception-internals.h:11,
                   from /__w/1/s/src/mono/mono/metadata/assembly-load-context.c:7:
  /__w/1/s/src/mono/mono/mini/../../mono/metadata/class-internals.h:1227:1: note: declared here
   1227 | mono_class_get_field_from_name_full (MonoClass *klass, const char *name, MonoType *type);
        | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lateralusX lateralusX self-requested a review November 30, 2021 09:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-AssemblyLoader-mono community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mono][bug] mono_alc_from_gchandle return wrong value?
3 participants