diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-01-05 15:13:37 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-01-05 23:18:34 -0800 |
| commit | 0d1851c79901ba6ddbba9bb63f758760fe5be994 (patch) | |
| tree | 2ccb45459fe4290e9c3fb4ad698c20f9cd55203d /src/WixToolset.Core/Link/ResolveReferencesCommand.cs | |
| parent | b00c72ed0ef19d2e46f60361fa06821b0bd5ec94 (diff) | |
| download | wix-0d1851c79901ba6ddbba9bb63f758760fe5be994.tar.gz wix-0d1851c79901ba6ddbba9bb63f758760fe5be994.tar.bz2 wix-0d1851c79901ba6ddbba9bb63f758760fe5be994.zip | |
Fix handling of duplicate directories
Diffstat (limited to 'src/WixToolset.Core/Link/ResolveReferencesCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/Link/ResolveReferencesCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs index 90b61e8b..2bdd5646 100644 --- a/src/WixToolset.Core/Link/ResolveReferencesCommand.cs +++ b/src/WixToolset.Core/Link/ResolveReferencesCommand.cs | |||
| @@ -170,9 +170,9 @@ namespace WixToolset.Core.Link | |||
| 170 | case AccessModifier.Public: | 170 | case AccessModifier.Public: |
| 171 | return true; | 171 | return true; |
| 172 | case AccessModifier.Internal: | 172 | case AccessModifier.Internal: |
| 173 | return symbolWithSection.Section.CompilationId.Equals(referencingSection.CompilationId) || (null != symbolWithSection.Section.LibraryId && symbolWithSection.Section.LibraryId.Equals(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.Protected: |
| 175 | return symbolWithSection.Section.CompilationId.Equals(referencingSection.CompilationId); | 175 | return symbolWithSection.Section.CompilationId == referencingSection.CompilationId; |
| 176 | case AccessModifier.Private: | 176 | case AccessModifier.Private: |
| 177 | return referencingSection == symbolWithSection.Section; | 177 | return referencingSection == symbolWithSection.Section; |
| 178 | default: | 178 | default: |
