You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this exception when trying to run a program using Octokit in .NET Fiddle:
[System.TypeLoadException: Inheritance security rules violated while overriding member: 'Octokit.RepositoryFormatException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.]
at Program.d__5.MoveNext(): line 57
[System.AggregateException: One or more errors occurred.]
at Program.Main(String[] args): line 16
I think RepositoryFormatException.GetObjectData should be annotated with System.Security.SecurityCritical, like its base version.
I'll PR this if no one beats me to it 😄
The text was updated successfully, but these errors were encountered:
khellang
changed the title
Mark
Mark RepositoryFormatException.GetObjectData with System.Security.SecurityCritical
Sep 22, 2016
M-Zuber
added a commit
to M-Zuber/octokit.net
that referenced
this issue
Oct 13, 2016
I'm getting this exception when trying to run a program using Octokit in .NET Fiddle:
I think
RepositoryFormatException.GetObjectData
should be annotated withSystem.Security.SecurityCritical
, like its base version.I'll PR this if no one beats me to it 😄
The text was updated successfully, but these errors were encountered: