Skip to content

Investigate why extension methods without type attribute not been found when defined in a different project#16291

Closed
edgarfgp wants to merge 1 commit intodotnet:mainfrom
edgarfgp:cshsarp-style-extesnion-not-working-when-defines-in-a-different-project
Closed

Investigate why extension methods without type attribute not been found when defined in a different project#16291
edgarfgp wants to merge 1 commit intodotnet:mainfrom
edgarfgp:cshsarp-style-extesnion-not-working-when-defines-in-a-different-project

Conversation

@edgarfgp
Copy link
Contributor

Follow up: #13839


// Commenting out [<Extension>] breaks
//[<Extension>]
type WidgetBuilderExtensions =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem here is when unpickling the binary of the Producer, there is no attribute present on the type.

In #13839 we are pushing the attribute to the type, and that must somehow not get pickled.

Copy link
Contributor

@nojaf nojaf Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The signature data does not have the attribute, there lies the problem.

@edgarfgp
Copy link
Contributor Author

edgarfgp commented Dec 3, 2023

Closing this in favour of #16368

@edgarfgp edgarfgp closed this Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants