Skip to content

Commit 81dadda

Browse files
Gnbrkm41jkotas
andauthored
Fix SpecialFiles.ProgramFiles docs to match the actual implementation. (#4187)
* Update x86 system -> x86 process * ProgramFiles return x86 folder when it's run on a x86 process, regardless of the system architecture * Apply suggestions from code review Co-authored-by: Jan Kotas <[email protected]> Co-authored-by: Jan Kotas <[email protected]>
1 parent 780d105 commit 81dadda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/Environment+SpecialFolder.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
<Docs>
466466
<summary>The directory for components that are shared across applications.
467467

468-
To get the x86 common program files directory on a non-x86 system, use the <see cref="F:System.Environment.SpecialFolder.ProgramFilesX86" /> member.</summary>
468+
To get the x86 common program files directory in a non-x86 process, use the <see cref="F:System.Environment.SpecialFolder.ProgramFilesX86" /> member.</summary>
469469
</Docs>
470470
</Member>
471471
<Member MemberName="CommonProgramFilesX86">
@@ -1356,7 +1356,7 @@
13561356
<Docs>
13571357
<summary>The program files directory.
13581358

1359-
On a non-x86 system, passing <see cref="F:System.Environment.SpecialFolder.ProgramFiles" /> to the <see cref="M:System.Environment.GetFolderPath(System.Environment.SpecialFolder)" /> method returns the path for non-x86 programs. To get the x86 program files directory on a non-x86 system, use the <see cref="F:System.Environment.SpecialFolder.ProgramFilesX86" /> member.</summary>
1359+
In a non-x86 process, passing <see cref="F:System.Environment.SpecialFolder.ProgramFiles" /> to the <see cref="M:System.Environment.GetFolderPath(System.Environment.SpecialFolder)" /> method returns the path for non-x86 programs. To get the x86 program files directory in a non-x86 process, use the <see cref="F:System.Environment.SpecialFolder.ProgramFilesX86" /> member.</summary>
13601360
</Docs>
13611361
</Member>
13621362
<Member MemberName="ProgramFilesX86">

0 commit comments

Comments
 (0)