PowerShellStandard
PowerShellStandard copied to clipboard
ValidateArgumentsAttribute.Validate method is not abstract
ValidateArgumentsAttribute.Validate method is actually an abstract method, but it is not abstract in the reference assembly. So the code that calls the ValidateArgumentsAttribute.Validate method will not produce a compile error, but an exception will be thrown at run time.
https://github.com/PowerShell/PowerShellStandard/blob/3e302f8b22d6745bf3585ad12dbee848a970724f/src/5/System.Management.Automation-lib.cs#L6775-L6781
thanks! @aetos382 please let me know if you find more!