[mono] Add mono_assembly_decref, return value on both decref and addref (#20305)
commit990f516a4b506588ee5c3223358c8505b83c3f95
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 26 Aug 2020 14:00:03 +0000 (26 10:00 -0400)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 14:00:03 +0000 (26 10:00 -0400)
treec86649eca7b260b23396c1f151aa57e254ed92f0
parentad95c02c2a9bf9b852c571d856f2d7e8e674757c
[mono] Add mono_assembly_decref, return value on both decref and addref (#20305)

Needed for unloadability

Co-authored-by: CoffeeFlux <CoffeeFlux@users.noreply.github.com>
mono/metadata/assembly-load-context.c
mono/metadata/assembly.c
mono/metadata/metadata-internals.h