[wasm][net] System.Net.Mail should not throw PNSE for full assembly. (#42974)
* [wasm][net] System.Net.Mail should not throw PNSE for full assembly. * Address review comment. Remove comment line * Address review comments. Remove redundant defs * Activate tests on CI - SmtpClient relevant tests are not supported * Add `[UnsupportedOSPlatform("browser")]` to SmtpClient * Add back System.Net.Mail Unit tests * Remove redundant $(TargetsBrowser) from ItemGroup * Add `[UnsupportedOSPlatform("browser")]` to SmtpClient methods and properties - It does not hurt to have this. * Remove unnecessary Unsupported attribute at the method level * Remove unnecessary Unsupported attribute at the method level * Modify message on skipped test. * Address review comments and remove string resource * Remove redundant AssemblyInfo per review comment * Remove condition attribute * Attribute is needed * Fix build issues
Showing
想要评论请 注册 或 登录