Bug 46739 - Assembly::Evidence property crashes for unbaked assembly
Summary: Assembly::Evidence property crashes for unbaked assembly
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
Depends on:
Reported: 2016-11-10 17:21 UTC by Marek Safar
Modified: 2016-11-18 22:48 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Marek Safar 2016-11-10 17:21:29 UTC
at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Security.Policy.Evidence.IsAuthenticodePresent (System.Reflection.Assembly) <IL 0x00007, 0x000b1>
  at System.Security.Policy.Evidence.GetDefaultHostEvidence (System.Reflection.Assembly) [0x0009a] in /Users/marek/git/mono/mcs/class/corlib/System.Security.Policy/Evidence.cs:262
  at System.Reflection.Assembly.UnprotectedGetEvidence () [0x0001c] in /Users/marek/git/mono/mcs/class/corlib/System.Reflection/Assembly.cs:203
  at System.Reflection.Assembly.get_Evidence () [0x00002] in /Users/marek/git/mono/mcs/class/corlib/System.Reflection/Assembly.cs:190
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this__ (object,intptr,intptr,intptr) <IL 0x00020, 0x00163>
  at <unknown> <0xffffffff>
  at System.Reflection.Emit.AssemblyBuilder.Save (string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageFileMachine) [0x0028c] in /Users/marek/git/mono/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs:905
  at System.Reflection.Emit.AssemblyBuilder.Save (string) [0x00009] in /Users/marek/git/mono/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs:914
Comment 1 Marek Safar 2016-11-18 22:48:26 UTC
Fixed in master