Skip to content

Commit

Permalink
fix: use unionwith instead of intersectwith
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Jul 26, 2024
1 parent 7dd5709 commit 881872d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/CommonLib/Processors/LdapPropertyProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ public class LdapPropertyProcessor {
private static readonly HashSet<string> ReservedAttributes = new();

static LdapPropertyProcessor() {
ReservedAttributes.IntersectWith(CommonProperties.TypeResolutionProps);
ReservedAttributes.IntersectWith(CommonProperties.BaseQueryProps);
ReservedAttributes.IntersectWith(CommonProperties.GroupResolutionProps);
ReservedAttributes.IntersectWith(CommonProperties.ComputerMethodProps);
ReservedAttributes.IntersectWith(CommonProperties.ACLProps);
ReservedAttributes.IntersectWith(CommonProperties.ObjectPropsProps);
ReservedAttributes.IntersectWith(CommonProperties.ContainerProps);
ReservedAttributes.IntersectWith(CommonProperties.SPNTargetProps);
ReservedAttributes.IntersectWith(CommonProperties.DomainTrustProps);
ReservedAttributes.IntersectWith(CommonProperties.GPOLocalGroupProps);
ReservedAttributes.IntersectWith(CommonProperties.CertAbuseProps);
ReservedAttributes.UnionWith(CommonProperties.TypeResolutionProps);
ReservedAttributes.UnionWith(CommonProperties.BaseQueryProps);
ReservedAttributes.UnionWith(CommonProperties.GroupResolutionProps);
ReservedAttributes.UnionWith(CommonProperties.ComputerMethodProps);
ReservedAttributes.UnionWith(CommonProperties.ACLProps);
ReservedAttributes.UnionWith(CommonProperties.ObjectPropsProps);
ReservedAttributes.UnionWith(CommonProperties.ContainerProps);
ReservedAttributes.UnionWith(CommonProperties.SPNTargetProps);
ReservedAttributes.UnionWith(CommonProperties.DomainTrustProps);
ReservedAttributes.UnionWith(CommonProperties.GPOLocalGroupProps);
ReservedAttributes.UnionWith(CommonProperties.CertAbuseProps);
ReservedAttributes.Add(LDAPProperties.DSASignature);
}

Expand Down

0 comments on commit 881872d

Please sign in to comment.