J2N icon indicating copy to clipboard operation
J2N copied to clipboard

Conflict with AsReadOnly() extensions

Open eladmarg opened this issue 3 months ago • 2 comments

Because newer .net core version has the extension AsReadOnly(), there is a conflict between this extension.

my suggestion is to add #IF_FLAG for the compiler to avoid this conflict. (this detected as part of targeting lucenenet to 8.0)

eladmarg avatar Mar 23 '24 17:03 eladmarg

Yeah, looks like we will need to target net8.0 to avoid this. Can you be more specific as to which types you are seeing this in?

NightOwl888 avatar Mar 27 '24 16:03 NightOwl888

Yeah, looks like we will need to target net8.0 to avoid this. Can you be more specific as to which types you are seeing this in?

Mostly at the Dictionary and List

eladmarg avatar Mar 27 '24 17:03 eladmarg