@@ -599,18 +599,7 @@ public ConditionList NotResideInNamespaceContaining(string name)
599599 {
600600 _sequence . AddFunctionCall ( FunctionDelegates . ResideInNamespaceMatching , $ "^.*{ name } .*$", false ) ;
601601 return new ConditionList ( _types , _should , _sequence ) ;
602- }
603-
604- /// <summary>
605- /// Selects types that have a dependency on a particular type.
606- /// </summary>
607- /// <param name="dependency">The dependency to match against. This can be a namespace or a specific type.</param>
608- /// <returns>An updated set of conditions that can be applied to a list of types.</returns>
609- public ConditionList HaveDependencyOn ( string dependency )
610- {
611- _sequence . AddFunctionCall ( FunctionDelegates . HaveDependencyOnAny , new List < string > { dependency } , true ) ;
612- return new ConditionList ( _types , _should , _sequence ) ;
613- }
602+ }
614603
615604 /// <summary>
616605 /// Selects types that have a dependency on any of the supplied types.
@@ -644,17 +633,7 @@ public ConditionList OnlyHaveDependenciesOn(params string[] dependencies)
644633 _sequence . AddFunctionCall ( FunctionDelegates . OnlyHaveDependenciesOnAnyOrNone , dependencies , true ) ;
645634 return new ConditionList ( _types , _should , _sequence ) ;
646635 }
647-
648- /// <summary>
649- /// Selects types that do not have a dependency on a particular type.
650- /// </summary>
651- /// <param name="dependency">The dependency type to match against. This can be a namespace or a specific type.</param>
652- /// <returns>An updated set of conditions that can be applied to a list of types.</returns>
653- public ConditionList NotHaveDependencyOn ( string dependency )
654- {
655- _sequence . AddFunctionCall ( FunctionDelegates . HaveDependencyOnAny , new List < string > { dependency } , false ) ;
656- return new ConditionList ( _types , _should , _sequence ) ;
657- }
636+
658637 /// <summary>
659638 /// Selects types that do not have a dependency on any of the particular types.
660639 /// </summary>
0 commit comments