Skip to content

Commit 80dbe29

Browse files
Add note about NAOT (#9181)
Co-authored-by: Jan Kotas <[email protected]>
1 parent da66597 commit 80dbe29

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

xml/System.Runtime.InteropServices/DllImportSearchPath.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
<Docs>
5050
<summary>Specifies the paths that are used to search for DLLs that provide functions for platform invokes.</summary>
5151
<remarks>
52-
<format type="text/markdown"><![CDATA[
53-
54-
## Remarks
55-
Use the <xref:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute> attribute to apply a set of paths to an entire assembly or to an individual platform invoke.
56-
52+
<format type="text/markdown"><![CDATA[
53+
54+
## Remarks
55+
Use the <xref:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute> attribute to apply a set of paths to an entire assembly or to an individual platform invoke.
56+
5757
]]></format>
5858
</remarks>
5959
</Docs>
@@ -137,7 +137,7 @@
137137
</ReturnValue>
138138
<MemberValue>2</MemberValue>
139139
<Docs>
140-
<summary>When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. This value is used by the .NET Framework, before the paths are passed to the Win32 <see href="https://go.microsoft.com/fwlink/?LinkId=236091">LoadLibraryEx</see> function.</summary>
140+
<summary>When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. When used in Native AOT and single-file deployment models, the application's installation directory is considered the "assembly directory" and is searched.</summary>
141141
</Docs>
142142
</Member>
143143
<Member MemberName="LegacyBehavior">
@@ -178,7 +178,7 @@
178178
</ReturnValue>
179179
<MemberValue>0</MemberValue>
180180
<Docs>
181-
<summary>Search the application directory, and then call the Win32 [LoadLibraryEx](https://go.microsoft.com/fwlink/?LinkId=236091) function with the <c>LOAD_WITH_ALTERED_SEARCH_PATH</c> flag. This value is ignored if any other value is specified. Operating systems that do not support the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> attribute use this value, and ignore other values.</summary>
181+
<summary>Search the application directory, and then call the Win32 <see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryexa">LoadLibraryEx</see> function with the <c>LOAD_WITH_ALTERED_SEARCH_PATH</c> flag. This value is ignored if any other value is specified. Operating systems that do not support the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> attribute use this value, and ignore other values.</summary>
182182
</Docs>
183183
</Member>
184184
<Member MemberName="SafeDirectories">

0 commit comments

Comments
 (0)