Skip to content

Commit 3dd4645

Browse files
committed
fix: more occurrences
Signed-off-by: Timo Notheisen <timo.notheisen@js-soft.com>
1 parent b33e4fd commit 3dd4645

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ArchUnitNET/Fluent/Syntax/Elements/ShouldRelateToObjectsThat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ public TRuleTypeShouldConjunction DoNotHaveName(string name)
896896
public TRuleTypeShouldConjunction DoNotHaveNameMatching(string pattern)
897897
{
898898
_ruleCreator.ContinueComplexCondition(
899-
ObjectPredicatesDefinition<TReferenceType>.DoNotHaveName(pattern)
899+
ObjectPredicatesDefinition<TReferenceType>.DoNotHaveNameMatching(pattern)
900900
);
901901
return Create<TRuleTypeShouldConjunction, TRuleType>(_ruleCreator);
902902
}

ArchUnitNET/Fluent/Syntax/Elements/Types/TypeConditionsDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ public static ICondition<TRuleType> ResideInNamespace(string fullName)
534534
public static ICondition<TRuleType> ResideInNamespaceMatching(string pattern)
535535
{
536536
return new SimpleCondition<TRuleType>(
537-
type => type.ResidesInNamespace(pattern),
537+
type => type.ResidesInNamespaceMatching(pattern),
538538
obj => "does reside in " + obj.Namespace.FullName,
539539
"reside in namespace with full name matching \"" + pattern + "\""
540540
);

ArchUnitNET/Fluent/Syntax/Elements/Types/TypePredicatesDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ public static IPredicate<T> DoNotResideInAssembly(string fullName)
697697
public static IPredicate<T> DoNotResideInAssemblyMatching(string pattern)
698698
{
699699
return new SimplePredicate<T>(
700-
type => !type.ResidesInAssembly(pattern),
700+
type => !type.ResidesInAssemblyMatching(pattern),
701701
"do not reside in assembly with full name matching \"" + pattern + "\""
702702
);
703703
}

0 commit comments

Comments
 (0)