Allow extension methods without type attribute. (#13839)
* Allow extension methods without type attribute. * Add Extension attribute to type if any member has the attribute. * Handle C# extensions as let bindings in a module. * Add test for recursive types. * Add tests for types in recursive modules. * Only add attribute to module when module declaration has attribute. * Add additional test. * Add CSharp Extension Attribute Not Required as a Preview Language Feature * Passing propper Fsharp.Core version to executed tests in legacy FsharpSuite * Fix for tests that use NetFramework types (like winforms brushes etc.) Co-authored-by: NEdgar Gonzalez <edgar.gonzalez@fundourselves.com> Co-authored-by: NTomas Grosup <tomasgrosup@microsoft.com> Co-authored-by: NVlad Zarytovskii <vzaritovsky@hotmail.com>
Showing
想要评论请 注册 或 登录