Compiler Error C2865
'function' : illegal comparison for handle_or_pointer
You can compare references to Classes and Structs or managed reference types only for equality to see if they refer to the same object (==) or to different objects (!=).
You cannot compare them for ordering because the .NET runtime might move managed objects at any time, changing the outcome of the test.
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir