Would it make sense to mark `DllImportSearchPath` values that don't make sense outside Windows as `[SupportedOSPlatform("windows")]`? _Originally posted by @MichalStrehovsky in https://github.com/dotnet/runtime/pull/119287#pullrequestreview-3178965639_ Only `DllImportSearchPath.AssemblyDirectory` means anything on non-Windows.