https://bugs.winehq.org/show_bug.cgi?id=40248
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Hi, Gennady.
What version of .NET runtime are you testing with? With wine-mono it fails earlier, at 'id.Groups', because of this:
--- WindowsIdentity.cs [MonoTODO ("not implemented")] public IdentityReferenceCollection Groups { get { throw new NotImplementedException (); } } ---