[corlib] Override virtual DSA.HashData() methods in DSACryptoServiceProvider (#4150)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 16 Dec 2016 10:53:25 +0000 (11:53 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Dec 2016 10:53:25 +0000 (11:53 +0100)
commit38b073b9de3244b73663c40bb15cdfc4c9acf729
treebd7b0430a65b4b84586f6b92c2ce73108cd70b0a
parentc1086268ba833338bd33ea268f453ebcc063c7bd
[corlib] Override virtual DSA.HashData() methods in DSACryptoServiceProvider (#4150)

The methods were added in .NET 4.6 but couldn't be done abstract so instead
they were added virtual which just throws an exception telling you to override
it in the subclass.

We implemented this for RSACryptoServiceProvider in https://github.com/mono/mono/pull/3770
(the methods were already overriden in that case because we moved to referencesource)
but DSACryptoServiceProvider is still using the Mono code so we need to
implement it there too.
mcs/class/corlib/System.Security.Cryptography/DSACryptoServiceProvider.cs