LinkWithAttribute.Dlsym Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies if the managed assembly requires using dlsym to resolve P/Invokes to native functions.
public ObjCRuntime.DlsymOption Dlsym { get; set; }
member this.Dlsym : ObjCRuntime.DlsymOption with get, set
Property Value
Developers should set this value to Disabled if the library does not require using dlsym, since the AOT compiler can generate faster and smaller code.
Remarks
The library requires using dlsym to resolve P/Invokes to native functions if it contains P/Invokes to native functions that don't exist on the target platform.