diff options
Diffstat (limited to 'src/WixToolset.Core/Link/ResolveReferencesCommand.cs')
-rw-r--r-- | src/WixToolset.Core/Link/ResolveReferencesCommand.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs index 2bdd5646..efb90bb8 100644 --- a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs +++ b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs | |||
@@ -167,13 +167,13 @@ namespace WixToolset.Core.Link | |||
167 | { | 167 | { |
168 | switch (symbolWithSection.Access) | 168 | switch (symbolWithSection.Access) |
169 | { | 169 | { |
170 | case AccessModifier.Public: | 170 | case AccessModifier.Global: |
171 | return true; | 171 | return true; |
172 | case AccessModifier.Internal: | 172 | case AccessModifier.Library: |
173 | return symbolWithSection.Section.CompilationId == referencingSection.CompilationId || (null != symbolWithSection.Section.LibraryId && symbolWithSection.Section.LibraryId == referencingSection.LibraryId); | 173 | return symbolWithSection.Section.CompilationId == referencingSection.CompilationId || (null != symbolWithSection.Section.LibraryId && symbolWithSection.Section.LibraryId == referencingSection.LibraryId); |
174 | case AccessModifier.Protected: | 174 | case AccessModifier.File: |
175 | return symbolWithSection.Section.CompilationId == referencingSection.CompilationId; | 175 | return symbolWithSection.Section.CompilationId == referencingSection.CompilationId; |
176 | case AccessModifier.Private: | 176 | case AccessModifier.Section: |
177 | return referencingSection == symbolWithSection.Section; | 177 | return referencingSection == symbolWithSection.Section; |
178 | default: | 178 | default: |
179 | throw new ArgumentOutOfRangeException(nameof(symbolWithSection.Access)); | 179 | throw new ArgumentOutOfRangeException(nameof(symbolWithSection.Access)); |