From 2edbb5a609bee7423360a58b0cf77db93dd225ee Mon Sep 17 00:00:00 2001 From: Alexander Linne Date: Fri, 26 Sep 2025 16:02:59 +0200 Subject: [PATCH] Refactor attribute with arguments fluent syntax methods Signed-off-by: Alexander Linne --- .../Domain/Extensions/AttributeExtensions.cs | 24 + .../Domain/Extensions/EnumerableExtensions.cs | 20 + .../Extensions/ICanBeAnalyzedExtensions.cs | 48 + .../Syntax/Elements/GivenObjectsThat.cs | 34 +- .../Syntax/Elements/IObjectConditions.cs | 19 +- .../Syntax/Elements/IObjectPredicates.cs | 18 +- .../Elements/ObjectConditionsDefinition.cs | 1296 +++++------------ .../Elements/ObjectPredicatesDefinition.cs | 933 ++---------- .../Fluent/Syntax/Elements/ObjectsShould.cs | 36 +- .../Elements/ShouldRelateToObjectsThat.cs | 35 +- .../Domain/AttributeArgumentTests.cs | 378 ----- ...encingOfTypesOutsideOfArchitectureTests.cs | 75 - .../Elements/ObjectSyntaxElementsTests.cs | 279 +--- ...nyAttributesWithArgumentsTest.verified.txt | 269 +--- ...yAttributesWithNamedArguments.verified.txt | 331 +++-- ...aveAttributeWithArgumentsTest.verified.txt | 532 ++----- ...veAttributeWithNamedArguments.verified.txt | 566 ++++--- ...nyAttributesWithArgumentsTest.verified.txt | 275 +--- ...ributesWithNamedArgumentsTest.verified.txt | 198 +-- ...aveAttributeWithArgumentsTest.verified.txt | 605 ++------ ...tributeWithNamedArgumentsTest.verified.txt | 431 +++--- 21 files changed, 1753 insertions(+), 4649 deletions(-) create mode 100644 ArchUnitNET/Domain/Extensions/ICanBeAnalyzedExtensions.cs diff --git a/ArchUnitNET/Domain/Extensions/AttributeExtensions.cs b/ArchUnitNET/Domain/Extensions/AttributeExtensions.cs index 8fb08ce0..958d130a 100644 --- a/ArchUnitNET/Domain/Extensions/AttributeExtensions.cs +++ b/ArchUnitNET/Domain/Extensions/AttributeExtensions.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Linq; namespace ArchUnitNET.Domain.Extensions @@ -26,5 +27,28 @@ public static bool OnlyHasAttributesMatching(this IHasAttributes a, string patte return a.Attributes.IsNullOrEmpty() || a.Attributes.All(attribute => attribute.FullNameMatches(pattern)); } + + internal static IEnumerable GetAllAttributeArgumentValues( + this AttributeInstance instance + ) => + instance + .AttributeArguments.Select(arg => arg.Value) + .Select(value => + value is ITypeInstance typeInstance ? typeInstance.Type : value + ); + + internal static IEnumerable<(string, object)> GetAllNamedAttributeArgumentTuples( + this AttributeInstance instance + ) => + instance + .AttributeArguments.OfType() + .Select(arg => + ( + arg.Name, + arg.Value is ITypeInstance typeInstance + ? typeInstance.Type + : arg.Value + ) + ); } } diff --git a/ArchUnitNET/Domain/Extensions/EnumerableExtensions.cs b/ArchUnitNET/Domain/Extensions/EnumerableExtensions.cs index a2f9eced..b7822cdb 100644 --- a/ArchUnitNET/Domain/Extensions/EnumerableExtensions.cs +++ b/ArchUnitNET/Domain/Extensions/EnumerableExtensions.cs @@ -42,5 +42,25 @@ public static string FormatDescription( return $"{multipleDescription} {string.Join(" and ", list.Select(elementDescription))}"; } } + + internal static IEnumerable ResolveAttributeArguments( + this IEnumerable objects, + Architecture architecture + ) + { + return objects.Select(obj => + obj is Type type ? architecture.GetITypeOfType(type) : obj + ); + } + + internal static IEnumerable<(string, object)> ResolveNamedAttributeArgumentTuples( + this IEnumerable<(string, object)> namedArguments, + Architecture architecture + ) + { + return namedArguments.Select(arg => + (arg.Item1, arg.Item2 is Type type ? architecture.GetITypeOfType(type) : arg.Item2) + ); + } } } diff --git a/ArchUnitNET/Domain/Extensions/ICanBeAnalyzedExtensions.cs b/ArchUnitNET/Domain/Extensions/ICanBeAnalyzedExtensions.cs new file mode 100644 index 00000000..0b4acfcf --- /dev/null +++ b/ArchUnitNET/Domain/Extensions/ICanBeAnalyzedExtensions.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +namespace ArchUnitNET.Domain.Extensions +{ + internal static class ICanBeAnalyzedExtensions + { + internal static IEnumerable GetAllAttributeArgumentValues( + this ICanBeAnalyzed obj, + Attribute attribute = null + ) + { + var attributeInstances = + attribute == null + ? obj.AttributeInstances + : obj.AttributeInstances.Where(instance => instance.Type.Equals(attribute)); + return attributeInstances + .SelectMany(instance => instance.AttributeArguments.Select(arg => arg.Value)) + .Select(value => + value is ITypeInstance typeInstance ? typeInstance.Type : value + ); + } + + internal static IEnumerable<(string, object)> GetAllNamedAttributeArgumentTuples( + this ICanBeAnalyzed obj, + Attribute attribute = null + ) + { + var attributeInstances = + attribute == null + ? obj.AttributeInstances + : obj.AttributeInstances.Where(instance => instance.Type.Equals(attribute)); + return attributeInstances.SelectMany(instance => + instance + .AttributeArguments.OfType() + .Select(arg => + ( + arg.Name, + arg.Value is ITypeInstance typeInstance + ? typeInstance.Type + : arg.Value + ) + ) + ); + } + } +} diff --git a/ArchUnitNET/Fluent/Syntax/Elements/GivenObjectsThat.cs b/ArchUnitNET/Fluent/Syntax/Elements/GivenObjectsThat.cs index 6263e000..2faa4f62 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/GivenObjectsThat.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/GivenObjectsThat.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using ArchUnitNET.Domain; +using ArchUnitNET.Domain.Extensions; using ArchUnitNET.Fluent.Predicates; using static ArchUnitNET.Fluent.Syntax.ConjunctionFactory; using Attribute = ArchUnitNET.Domain.Attribute; @@ -59,18 +60,16 @@ protected GivenObjectsThat(IArchRuleCreator ruleCreator) public TGivenRuleTypeConjunction HaveAnyAttributesWithArguments(IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAnyAttributesWithArguments(argumentValues)); public TGivenRuleTypeConjunction HaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TGivenRuleTypeConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TGivenRuleTypeConjunction HaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TGivenRuleTypeConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TGivenRuleTypeConjunction HaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TGivenRuleTypeConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TGivenRuleTypeConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TGivenRuleTypeConjunction HaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.HaveAnyAttributesWithNamedArguments(attributeArguments)); - public TGivenRuleTypeConjunction HaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TGivenRuleTypeConjunction HaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => HaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TGivenRuleTypeConjunction HaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TGivenRuleTypeConjunction HaveName(string name) => AddPredicate(ObjectPredicatesDefinition.HaveName(name)); public TGivenRuleTypeConjunction HaveNameMatching(string pattern) => AddPredicate(ObjectPredicatesDefinition.HaveNameMatching(pattern)); @@ -122,20 +121,17 @@ protected GivenObjectsThat(IArchRuleCreator ruleCreator) public TGivenRuleTypeConjunction DoNotHaveAnyAttributes(IEnumerable attributes) => DoNotHaveAnyAttributes(new SystemTypeObjectProvider(attributes)); public TGivenRuleTypeConjunction DoNotHaveAnyAttributesWithArguments(IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithArguments(argumentValues)); - public TGivenRuleTypeConjunction DoNotHaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, argumentValues)); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, argumentValues)); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TGivenRuleTypeConjunction DoNotHaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithNamedArguments(attributeArguments)); - public TGivenRuleTypeConjunction DoNotHaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TGivenRuleTypeConjunction DoNotHaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => DoNotHaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TGivenRuleTypeConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TGivenRuleTypeConjunction DoNotHaveName(string name) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveName(name)); public TGivenRuleTypeConjunction DoNotHaveNameMatching(string pattern) => AddPredicate(ObjectPredicatesDefinition.DoNotHaveNameMatching(pattern)); diff --git a/ArchUnitNET/Fluent/Syntax/Elements/IObjectConditions.cs b/ArchUnitNET/Fluent/Syntax/Elements/IObjectConditions.cs index f24377d8..a31b2f62 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/IObjectConditions.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/IObjectConditions.cs @@ -54,20 +54,17 @@ public interface IObjectConditions TReturnType OnlyHaveAttributes(IEnumerable attributes); TReturnType HaveAnyAttributesWithArguments(IEnumerable argumentValues); - TReturnType HaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues); - TReturnType HaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues); - TReturnType HaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments); TReturnType HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments); TReturnType HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments); TReturnType HaveName(string name); TReturnType HaveNameMatching(string pattern); @@ -121,21 +118,17 @@ public interface IObjectConditions TReturnType NotHaveAnyAttributes(IEnumerable attributes); TReturnType NotHaveAnyAttributesWithArguments(IEnumerable argumentValues); - TReturnType NotHaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues); TReturnType NotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues); - TReturnType NotHaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType NotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues); - TReturnType NotHaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType NotHaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments); - - TReturnType NotHaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType NotHaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments); TReturnType NotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType NotHaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType NotHaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments); TReturnType NotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType NotHaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType NotHaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments); TReturnType NotHaveName(string name); TReturnType NotHaveNameMatching(string pattern); diff --git a/ArchUnitNET/Fluent/Syntax/Elements/IObjectPredicates.cs b/ArchUnitNET/Fluent/Syntax/Elements/IObjectPredicates.cs index 600ded7b..9378c26b 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/IObjectPredicates.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/IObjectPredicates.cs @@ -51,20 +51,17 @@ public interface IObjectPredicates TReturnType OnlyHaveAttributes(IObjectProvider attributes); TReturnType HaveAnyAttributesWithArguments(IEnumerable argumentValues); - TReturnType HaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues); - TReturnType HaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues); - TReturnType HaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType HaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments); TReturnType HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments); TReturnType HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType HaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType HaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments); TReturnType HaveName(string name); TReturnType HaveNameMatching(string pattern); @@ -116,20 +113,17 @@ public interface IObjectPredicates TReturnType DoNotHaveAnyAttributes(IEnumerable attributes); TReturnType DoNotHaveAnyAttributesWithArguments(IEnumerable argumentValues); - TReturnType DoNotHaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues); TReturnType DoNotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues); - TReturnType DoNotHaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType DoNotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues); - TReturnType DoNotHaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues); TReturnType DoNotHaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments); - TReturnType DoNotHaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType DoNotHaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments); TReturnType DoNotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType DoNotHaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType DoNotHaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments); TReturnType DoNotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments); - TReturnType DoNotHaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments); + TReturnType DoNotHaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments); TReturnType DoNotHaveName(string name); TReturnType DoNotHaveNameMatching(string pattern); diff --git a/ArchUnitNET/Fluent/Syntax/Elements/ObjectConditionsDefinition.cs b/ArchUnitNET/Fluent/Syntax/Elements/ObjectConditionsDefinition.cs index d9f3082b..909a8998 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/ObjectConditionsDefinition.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/ObjectConditionsDefinition.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using ArchUnitNET.Domain; -using ArchUnitNET.Domain.Exceptions; using ArchUnitNET.Domain.Extensions; using ArchUnitNET.Fluent.Conditions; using JetBrains.Annotations; @@ -11,7 +10,7 @@ namespace ArchUnitNET.Fluent.Syntax.Elements { - public static class ObjectConditionsDefinition + internal static class ObjectConditionsDefinition where TRuleType : ICanBeAnalyzed { public static ICondition Exist() @@ -274,535 +273,250 @@ public static ICondition HaveAnyAttributesWithArguments( IEnumerable argumentValues ) { - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - string description; - Func failDescription; - if (argumentValueList.IsNullOrEmpty()) - { - description = "have no or any attributes with arguments (always true)"; - failDescription = (ruleType, architecture) => - "not have no or any attributes with arguments (impossible)"; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "have any attributes with arguments \"" + firstArgument + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - - failDescription = (ruleType, architecture) => - { - var actualArgumentValues = ruleType - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(argument => argument.Value) - ) - .ToList(); - if (!actualArgumentValues.Any()) - { - return "does have no attribute with an argument"; - } - - var firstActualArgumentValue = actualArgumentValues.First(); - return actualArgumentValues.Aggregate( - "does have attributes with argument values \"" - + firstActualArgumentValue - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - }; - } - - bool Condition(TRuleType obj, Architecture architecture) + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - var attributeArguments = obj - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(arg => arg.Value) - ) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) .ToList(); - foreach (var arg in argumentValueList) + foreach (var ruleType in ruleTypes) { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) + if ( + ruleType.AttributeInstances.Any(instance => { - return false; - } - } - else if (!attributeArguments.Contains(arg)) - { - return false; - } - } - - return true; - } - - return new ArchitectureCondition(Condition, failDescription, description); - } - - public static ICondition HaveAttributeWithArguments( - [NotNull] Attribute attribute, - IEnumerable argumentValues - ) - { - string description, - failDescription; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - failDescription = "does not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - failDescription = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "does not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) - { - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(attribute)) + var instanceArgumentValues = instance + .GetAllAttributeArgumentValues() + .ToList(); + return resolvedArgumentValueList.All(instanceArgumentValues.Contains); + }) + ) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) + else { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) + var argumentsDescriptions = ruleType.AttributeInstances.Select(instance => { - goto NextAttribute; - } + var argumentsDescription = instance + .GetAllAttributeArgumentValues() + .FormatDescription( + "without arguments", + "with argument", + "with arguments" + ); + return $"{instance.Type.FullName} {argumentsDescription}"; + }); + var failDescription = argumentsDescriptions.FormatDescription( + "does not have any attribute", + "does only have attribute", + "does only have attributes", + elementDescription: str => str + ); + yield return new ConditionResult(ruleType, false, failDescription); } - - return true; - NextAttribute: - ; } - - return false; } - - return new ArchitectureCondition(Condition, description, failDescription); + var description = argumentValueList.FormatDescription( + "have any attributes", + "have any attributes with argument", + "have any attributes with arguments" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition HaveAttributeWithArguments( - [NotNull] Type attribute, - IEnumerable argumentValues + string attributeFullName, + [NotNull] Func getAttribute, + [NotNull] IEnumerable argumentValues ) { - string description, - failDescription; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - failDescription = "does not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - failDescription = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "does not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) - { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return false; - } - - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(archUnitAttribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) - { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) - { - goto NextAttribute; - } - } - - return true; - NextAttribute: - ; - } - - return false; - } - - return new ArchitectureCondition(Condition, description, failDescription); - } - - public static ICondition HaveAnyAttributesWithNamedArguments( - IEnumerable<(string, object)> attributeArguments - ) - { - var argumentList = attributeArguments.ToList(); - string description; - Func failDescription; - if (argumentList.IsNullOrEmpty()) - { - description = "have no or any attributes with named arguments (always true)"; - failDescription = (ruleType, architecture) => - "not have no or any attributes with named arguments (impossible)"; - } - else + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - var firstArgument = argumentList.First(); - description = argumentList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "have any attributes with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - - failDescription = (ruleType, architecture) => + var resolvedAttribute = getAttribute(architecture); + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - var actualNamedArguments = ruleType - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.OfType() + var matchingAttributeInstances = ruleType + .AttributeInstances.Where(instance => + instance.Type.Equals(resolvedAttribute) ) .ToList(); - if (!actualNamedArguments.Any()) - { - return "does have no attribute with a named argument"; - } - - var firstActualNamedArgument = actualNamedArguments.First(); - return actualNamedArguments.Aggregate( - "does have attributes with named arguments \"" - + firstActualNamedArgument.Name - + "=" - + firstActualNamedArgument.Value - + "\"", - (current, arg) => current + " and \"" + arg.Name + "=" + arg.Value + "\"" - ); - }; - } - - bool Condition(TRuleType obj, Architecture architecture) - { - var attArguments = obj - .AttributeInstances.SelectMany(instance => - instance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) + if ( + matchingAttributeInstances.Any(instance => + { + var instanceArgumentValues = instance + .GetAllAttributeArgumentValues() + .ToList(); + return resolvedArgumentValueList.All(instanceArgumentValues.Contains); + }) ) - .ToList(); - var typeAttributeArguments = attArguments - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - return false; - } + yield return new ConditionResult(ruleType, true); } - else if (!attArguments.Contains(arg)) + else { - return false; + var argumentsDescriptions = matchingAttributeInstances.Select(instance => + instance + .GetAllAttributeArgumentValues() + .FormatDescription( + "without arguments", + "with argument", + "with arguments" + ) + ); + var failDescription = argumentsDescriptions.FormatDescription( + $"does not have attribute \"{resolvedAttribute.FullName}\"", + $"does only have attribute \"{resolvedAttribute.FullName}\"", + $"does only have attribute \"{resolvedAttribute.FullName}\"", + elementDescription: str => str + ); + yield return new ConditionResult(ruleType, false, failDescription); } } - - return true; } - - return new ArchitectureCondition(Condition, failDescription, description); + var description = argumentValueList.FormatDescription( + $"have attribute \"{attributeFullName}\"", + $"have attribute \"{attributeFullName}\" with argument", + $"have attribute \"{attributeFullName}\" with arguments" + ); + return new ArchitectureCondition(Condition, description); } - public static ICondition HaveAttributeWithNamedArguments( - [NotNull] Attribute attribute, - IEnumerable<(string, object)> attributeArguments + public static ICondition HaveAnyAttributesWithNamedArguments( + IEnumerable<(string, object)> namedArguments ) { - string description, - failDescription; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - failDescription = "does not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - failDescription = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "does not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(attribute)) + if ( + ruleType.AttributeInstances.Any(instance => + { + var attArguments = instance + .GetAllNamedAttributeArgumentTuples() + .ToList(); + return resolvedNamedArgumentList.All(attArguments.Contains); + }) + ) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + else { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) + var argumentsDescriptions = ruleType.AttributeInstances.Select(instance => { - goto NextAttribute; - } + var argumentsDescription = ruleType + .GetAllNamedAttributeArgumentTuples(instance.Type) + .FormatDescription( + "without named arguments", + "with named argument", + "with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return $"{instance.Type.FullName} {argumentsDescription}"; + }); + var failDescription = argumentsDescriptions.FormatDescription( + "does not have any attribute", + "does only have attribute", + "does only have attributes", + elementDescription: str => str + ); + yield return new ConditionResult(ruleType, false, failDescription); } - - return true; - NextAttribute: - ; } - - return false; } - - return new ArchitectureCondition(Condition, description, failDescription); + var description = namedArgumentList.FormatDescription( + "have any attributes", + "have any attributes with named argument", + "have any attributes with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition HaveAttributeWithNamedArguments( - [NotNull] Type attribute, - IEnumerable<(string, object)> attributeArguments + string attributeFullName, + [NotNull] Func getAttribute, + IEnumerable<(string, object)> namedArguments ) { - string description, - failDescription; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - failDescription = "does not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - failDescription = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "does not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return false; - } - - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedAttribute = getAttribute(architecture); + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(archUnitAttribute)) + var matchingAttributeInstances = ruleType + .AttributeInstances.Where(instance => + instance.Type.Equals(resolvedAttribute) + ) + .ToList(); + if ( + matchingAttributeInstances.Any(instance => + { + var attArguments = instance + .GetAllNamedAttributeArgumentTuples() + .ToList(); + return resolvedNamedArgumentList.All(attArguments.Contains); + }) + ) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + else { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName + var argumentsDescriptions = matchingAttributeInstances.Select(instance => + ruleType + .GetAllNamedAttributeArgumentTuples(instance.Type) + .FormatDescription( + "without named arguments", + "with named argument", + "with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) - { - goto NextAttribute; - } + ); + var failDescription = argumentsDescriptions.FormatDescription( + $"does not have attribute \"{resolvedAttribute.FullName}\"", + $"does only have attribute \"{resolvedAttribute.FullName}\"", + $"does only have attribute \"{resolvedAttribute.FullName}\"", + elementDescription: str => str + ); + yield return new ConditionResult(ruleType, false, failDescription); } - - return true; - NextAttribute: - ; } - - return false; } - - return new ArchitectureCondition(Condition, description, failDescription); + var description = namedArgumentList.FormatDescription( + $"have attribute \"{attributeFullName}\"", + $"have attribute \"{attributeFullName}\" with named argument", + $"have attribute \"{attributeFullName}\" with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition HaveName(string name) @@ -1190,537 +904,223 @@ public static ICondition NotHaveAnyAttributesWithArguments( IEnumerable argumentValues ) { - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - string description; - Func failDescription; - if (argumentValueList.IsNullOrEmpty()) - { - description = "not have no or any attributes with arguments (impossible)"; - failDescription = (ruleType, architecture) => - "have no or any attributes with arguments (always)"; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "not have any attributes with arguments \"" + firstArgument + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); - failDescription = (ruleType, architecture) => - { - var actualArgumentValues = ruleType - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(argument => argument.Value) - ) - .ToList(); - if (!actualArgumentValues.Any()) - { - return "does have no attribute with an argument"; - } - - var firstActualArgumentValue = actualArgumentValues.First(); - return actualArgumentValues.Aggregate( - "does have attributes with argument values \"" - + firstActualArgumentValue - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - }; - } - - bool Condition(TRuleType obj, Architecture architecture) + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - var attributeArguments = obj - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(arg => arg.Value) - ) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) .ToList(); - foreach (var arg in argumentValueList) + foreach (var ruleType in ruleTypes) { - if (arg is Type argType) + var attArguments = ruleType.GetAllAttributeArgumentValues().ToList(); + if (!resolvedArgumentValueList.Any(attArguments.Contains)) { - if (typeAttributeArguments.Any(t => t.FullName == argType.FullName)) - { - return false; - } + yield return new ConditionResult(ruleType, true); } - else if (attributeArguments.Contains(arg)) + else { - return false; - } - } - - return true; - } - - return new ArchitectureCondition(Condition, failDescription, description); - } - - public static ICondition NotHaveAttributeWithArguments( - [NotNull] Attribute attribute, - IEnumerable argumentValues - ) - { - string description, - failDescription; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "not have attribute \"" + attribute.FullName + "\""; - failDescription = "does have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - failDescription = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "does have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) - { - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(attribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) - { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) + var failedAttributesAndArguments = ruleType + .AttributeInstances.Select(instance => { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) + var attributeArguments = ruleType + .GetAllAttributeArgumentValues(instance.Type) + .ToList(); + var failedArguments = resolvedArgumentValueList + .Where(attributeArguments.Contains) + .ToList(); + return (instance, failedArguments); + }) + .Where(t => t.failedArguments.Any()) + .ToList(); + var argumentDescriptions = failedAttributesAndArguments.Select(t => { - goto NextAttribute; - } + var withArguments = + t.failedArguments.Count == 1 ? "with argument" : "with arguments"; + var arguments = t.failedArguments.Select(arg => $"\"{arg}\""); + var argumentsDescription = string.Join(" and ", arguments); + return $"attribute {t.instance.Type.FullName} {withArguments} {argumentsDescription}"; + }); + var failDescription = + "does have " + string.Join(" and ", argumentDescriptions); + yield return new ConditionResult(ruleType, false, failDescription); } - - return false; - NextAttribute: - ; } - - return true; } - return new ArchitectureCondition(Condition, failDescription, description); + var description = argumentValueList.FormatDescription( + "not have any attributes with any of no arguments (always true)", + "not have any attributes with argument", + "not have any attributes with arguments" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition NotHaveAttributeWithArguments( - [NotNull] Type attribute, + string attributeFullName, + [NotNull] Func getAttribute, IEnumerable argumentValues ) { - string description, - failDescription; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "not have attribute \"" + attribute.FullName + "\""; - failDescription = "does have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - failDescription = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "does have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); - bool Condition(TRuleType obj, Architecture architecture) + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return true; - } - - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedAttribute = getAttribute(architecture); + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(archUnitAttribute)) + var failedArguments = ruleType + .GetAllAttributeArgumentValues(resolvedAttribute) + .Where(resolvedArgumentValueList.Contains) + .ToList(); + if (!failedArguments.Any()) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) + else { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) - { - goto NextAttribute; - } + var withArguments = + failedArguments.Count == 1 ? "with argument" : "with arguments"; + var arguments = failedArguments.Select(arg => $"\"{arg}\""); + var argumentsDescription = string.Join(" and ", arguments); + var failDescription = + $"does have attribute \"{resolvedAttribute.FullName}\" {withArguments} {argumentsDescription}"; + yield return new ConditionResult(ruleType, false, failDescription); } - - return false; - NextAttribute: - ; } - - return true; } - return new ArchitectureCondition(Condition, failDescription, description); + var description = argumentValueList.FormatDescription( + $"not have attribute \"{attributeFullName}\" with any of no arguments (always true)", + $"not have attribute \"{attributeFullName}\" with argument", + $"not have attribute \"{attributeFullName}\" with arguments" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition NotHaveAnyAttributesWithNamedArguments( - IEnumerable<(string, object)> attributeArguments + IEnumerable<(string, object)> namedArguments ) { - var argumentList = attributeArguments.ToList(); - string description; - Func failDescription; - if (argumentList.IsNullOrEmpty()) - { - description = "not have no or any attributes with named arguments (impossible)"; - failDescription = (ruleType, architecture) => - "have no or any attributes with named arguments (always true)"; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "not have any attributes with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - - failDescription = (ruleType, architecture) => - { - var actualNamedArguments = ruleType - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.OfType() - ) - .ToList(); - if (!actualNamedArguments.Any()) - { - return "does have no attribute with a named argument"; - } - - var firstActualNamedArgument = actualNamedArguments.First(); - return actualNamedArguments.Aggregate( - "does have attributes with named arguments \"" - + firstActualNamedArgument.Name - + "=" - + firstActualNamedArgument.Value - + "\"", - (current, arg) => current + " and \"" + arg.Name + "=" + arg.Value + "\"" - ); - }; - } - - bool Condition(TRuleType obj, Architecture architecture) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - var attArguments = obj - .AttributeInstances.SelectMany(instance => - instance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - ) + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) .ToList(); - var typeAttributeArguments = attArguments - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.Any(t => - t.Name == arg.Item1 - && ( - t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName == argType.FullName - || t.Value is IType type && type.FullName == argType.FullName - ) - ) - ) - { - return false; - } - } - else if (attArguments.Contains(arg)) - { - return false; - } - } - - return true; - } - - return new ArchitectureCondition(Condition, failDescription, description); - } - - public static ICondition NotHaveAttributeWithNamedArguments( - [NotNull] Attribute attribute, - IEnumerable<(string, object)> attributeArguments - ) - { - string description, - failDescription; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "not have attribute \"" + attribute.FullName + "\""; - failDescription = "does have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - failDescription = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "does have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Condition(TRuleType obj, Architecture architecture) - { - foreach (var attributeInstance in obj.AttributeInstances) + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(attribute)) + var attArguments = ruleType.GetAllNamedAttributeArgumentTuples().ToList(); + if (!resolvedNamedArgumentList.Any(attArguments.Contains)) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + else { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) + var failedAttributesAndArguments = ruleType + .AttributeInstances.Select(instance => { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) + var attributeArguments = + ruleType.GetAllNamedAttributeArgumentTuples(instance.Type); + var failedArguments = resolvedNamedArgumentList + .Where(attributeArguments.Contains) + .ToList(); + return (instance, failedArguments); + }) + .Where(t => t.failedArguments.Any()) + .ToList(); + var argumentDescriptions = failedAttributesAndArguments.Select(t => { - goto NextAttribute; - } + var withArguments = + t.failedArguments.Count == 1 + ? "with named argument" + : "with named arguments"; + var arguments = t.failedArguments.Select(arg => + $"\"{arg.Item1}={arg.Item2}\"" + ); + var argumentsDescription = string.Join(" and ", arguments); + return $"attribute {t.instance.Type.FullName} {withArguments} {argumentsDescription}"; + }); + var failDescription = + "does have " + string.Join(" and ", argumentDescriptions); + yield return new ConditionResult(ruleType, false, failDescription); } - - return false; - NextAttribute: - ; } - - return true; } - - return new ArchitectureCondition(Condition, description, failDescription); + var description = namedArgumentList.FormatDescription( + "not have any attributes with any of no named arguments (always true)", + "not have any attributes with named argument", + "not have any attributes with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition NotHaveAttributeWithNamedArguments( - [NotNull] Type attribute, - IEnumerable<(string, object)> attributeArguments + string attributeFullName, + [NotNull] Func getAttribute, + IEnumerable<(string, object)> namedArguments ) { - string description, - failDescription; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "not have attribute \"" + attribute.FullName + "\""; - failDescription = "does have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - failDescription = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "does have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); - bool Condition(TRuleType obj, Architecture architecture) + IEnumerable Condition( + IEnumerable ruleTypes, + Architecture architecture + ) { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return true; - } - - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedAttribute = getAttribute(architecture); + var resolvedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(archUnitAttribute)) + var failedArguments = ruleType + .GetAllNamedAttributeArgumentTuples(resolvedAttribute) + .Where(resolvedArgumentList.Contains) + .ToList(); + if (!failedArguments.Any()) { - goto NextAttribute; + yield return new ConditionResult(ruleType, true); } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + else { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) - { - goto NextAttribute; - } + var withArguments = + failedArguments.Count == 1 + ? "with named argument" + : "with named arguments"; + var arguments = failedArguments.Select(arg => + $"\"{arg.Item1}={arg.Item2}\"" + ); + var argumentsDescription = string.Join(" and ", arguments); + var failDescription = + $"does have attribute \"{resolvedAttribute.FullName}\" {withArguments} {argumentsDescription}"; + yield return new ConditionResult(ruleType, false, failDescription); } - - return false; - NextAttribute: - ; } - - return true; } - return new ArchitectureCondition(Condition, description, failDescription); + var description = namedArgumentList.FormatDescription( + $"not have attribute \"{attributeFullName}\" with any of no named arguments (always true)", + $"not have attribute \"{attributeFullName}\" with named argument", + $"not have attribute \"{attributeFullName}\" with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return new ArchitectureCondition(Condition, description); } public static ICondition NotHaveName(string name) diff --git a/ArchUnitNET/Fluent/Syntax/Elements/ObjectPredicatesDefinition.cs b/ArchUnitNET/Fluent/Syntax/Elements/ObjectPredicatesDefinition.cs index 40e0fc24..4a198183 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/ObjectPredicatesDefinition.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/ObjectPredicatesDefinition.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using ArchUnitNET.Domain; -using ArchUnitNET.Domain.Exceptions; using ArchUnitNET.Domain.Extensions; using ArchUnitNET.Fluent.Predicates; using JetBrains.Annotations; @@ -11,7 +10,7 @@ namespace ArchUnitNET.Fluent.Syntax.Elements { - public static class ObjectPredicatesDefinition + internal static class ObjectPredicatesDefinition where T : ICanBeAnalyzed { public static IPredicate Are(IObjectProvider objectProvider) @@ -123,432 +122,127 @@ public static IPredicate HaveAnyAttributesWithArguments( IEnumerable argumentValues ) { - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - string description; - if (argumentValueList.IsNullOrEmpty()) + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - description = "have no or any attributes with arguments (always true)"; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "have any attributes with arguments \"" + firstArgument + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - var attributeArguments = obj - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(arg => arg.Value) - ) + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) - { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - return false; - } - } - else if (!attributeArguments.Contains(arg)) - { - return false; - } - } - - return true; - } - - return new ArchitecturePredicate(Predicate, description); - } - - public static IPredicate HaveAttributeWithArguments( - [NotNull] Attribute attribute, - IEnumerable argumentValues - ) - { - string description; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(attribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) + return ruleTypes.Where(ruleType => + ruleType.AttributeInstances.Any(instance => { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) - { - goto NextAttribute; - } - } - - return true; - NextAttribute: - ; - } - - return false; + var instanceArgumentValues = instance + .GetAllAttributeArgumentValues() + .ToList(); + return resolvedArgumentValueList.All(instanceArgumentValues.Contains); + }) + ); } - + var description = argumentValueList.FormatDescription( + "have any attributes", + "have any attributes with argument", + "have any attributes with arguments" + ); return new ArchitecturePredicate(Predicate, description); } public static IPredicate HaveAttributeWithArguments( - [NotNull] Type attribute, + string attributeFullName, + [NotNull] Func getAttribute, IEnumerable argumentValues ) { - string description; - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - } - else + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return false; - } - - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(archUnitAttribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) - { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) + var resolvedAttribute = getAttribute(architecture); + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) + .ToList(); + return ruleTypes.Where(ruleType => + ruleType + .AttributeInstances.Where(instance => + instance.Type.Equals(resolvedAttribute) + ) + .Any(instance => { - goto NextAttribute; - } - } - - return true; - NextAttribute: - ; - } - - return false; + var instanceArgumentValues = instance + .GetAllAttributeArgumentValues() + .ToList(); + return resolvedArgumentValueList.All(instanceArgumentValues.Contains); + }) + ); } - + var description = argumentValueList.FormatDescription( + $"have attribute \"{attributeFullName}\"", + $"have attribute \"{attributeFullName}\" with argument", + $"have attribute \"{attributeFullName}\" with arguments" + ); return new ArchitecturePredicate(Predicate, description); } public static IPredicate HaveAnyAttributesWithNamedArguments( - IEnumerable<(string, object)> attributeArguments + IEnumerable<(string, object)> namedArguments ) { - var argumentList = attributeArguments.ToList(); - string description; - if (argumentList.IsNullOrEmpty()) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - description = "have no or any attributes with named arguments (always true)"; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "have any attributes with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - var attArguments = obj - .AttributeInstances.SelectMany(instance => - instance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - ) - .ToList(); - var typeAttributeArguments = attArguments - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - return false; - } - } - else if (!attArguments.Contains(arg)) + return ruleTypes.Where(ruleType => + ruleType.AttributeInstances.Any(instance => { - return false; - } - } - - return true; + var attArguments = instance.GetAllNamedAttributeArgumentTuples().ToList(); + return resolvedNamedArgumentList.All(attArguments.Contains); + }) + ); } - + var description = namedArgumentList.FormatDescription( + "have any attributes", + "have any attributes with named argument", + "have any attributes with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); return new ArchitecturePredicate(Predicate, description); } public static IPredicate HaveAttributeWithNamedArguments( - [NotNull] Attribute attribute, - IEnumerable<(string, object)> attributeArguments + string attributeFullName, + [NotNull] Func getAttribute, + IEnumerable<(string, object)> namedArguments ) { - string description; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Condition(T obj, Architecture architecture) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(attribute)) - { - goto NextAttribute; - } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) - { - goto NextAttribute; - } - } - - return true; - NextAttribute: - ; - } - - return false; - } - - return new ArchitecturePredicate(Condition, description); - } - - public static IPredicate HaveAttributeWithNamedArguments( - [NotNull] Type attribute, - IEnumerable<(string, object)> attributeArguments - ) - { - string description; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return false; - } - - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(archUnitAttribute)) - { - goto NextAttribute; - } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) + var resolvedAttribute = getAttribute(architecture); + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) + .ToList(); + return ruleTypes.Where(ruleType => + ruleType + .AttributeInstances.Where(instance => + instance.Type.Equals(resolvedAttribute) + ) + .Any(instance => { - goto NextAttribute; - } - } - - return true; - NextAttribute: - ; - } - - return false; + var attArguments = instance + .GetAllNamedAttributeArgumentTuples() + .ToList(); + return resolvedNamedArgumentList.All(attArguments.Contains); + }) + ); } - + var description = namedArgumentList.FormatDescription( + $"have attribute \"{attributeFullName}\"", + $"have attribute \"{attributeFullName}\" with named argument", + $"have attribute \"{attributeFullName}\" with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); return new ArchitecturePredicate(Predicate, description); } @@ -781,437 +475,126 @@ public static IPredicate DoNotHaveAnyAttributesWithArguments( IEnumerable argumentValues ) { - var argumentValueList = argumentValues?.ToList() ?? new List { null }; - string description; - if (argumentValueList.IsNullOrEmpty()) - { - description = "do not have no or any attributes with arguments (impossible)"; - } - else + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "do not have any attributes with arguments \"" + firstArgument + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - var attributeArguments = obj - .AttributeInstances.SelectMany(instance => - instance.AttributeArguments.Select(arg => arg.Value) - ) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) .ToList(); - foreach (var arg in argumentValueList) + foreach (var ruleType in ruleTypes) { - if (arg is Type argType) + var attributeArguments = ruleType.GetAllAttributeArgumentValues().ToList(); + if (!resolvedArgumentValueList.Any(attributeArguments.Contains)) { - if (typeAttributeArguments.Any(t => t.FullName == argType.FullName)) - { - return false; - } - } - else if ( - attributeArguments.Contains(arg) || typeAttributeArguments.Contains(arg) - ) - { - return false; + yield return ruleType; } } - - return true; } - + var description = argumentValueList.FormatDescription( + "do not have any attributes with any of no arguments (always true)", + "do not have any attributes with argument", + "do not have any attributes with arguments" + ); return new ArchitecturePredicate(Predicate, description); } public static IPredicate DoNotHaveAttributeWithArguments( - [NotNull] Attribute attribute, + string attributeFullName, + [NotNull] Func getAttribute, IEnumerable argumentValues ) { - string description; - var argumentValueList = argumentValues?.ToList() ?? new List { }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "do not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "do not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } + var argumentValueList = argumentValues as IList ?? argumentValues.ToList(); - bool Predicate(T obj, Architecture architecture) + IEnumerable Predicate(IEnumerable ruleTypes, Architecture architecture) { - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedAttribute = getAttribute(architecture); + var resolvedArgumentValueList = argumentValueList + .ResolveAttributeArguments(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(attribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) + var attributeArguments = ruleType + .GetAllAttributeArgumentValues(resolvedAttribute) .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) + if (!resolvedArgumentValueList.Any(attributeArguments.Contains)) { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) - { - goto NextAttribute; - } + yield return ruleType; } - - return false; - NextAttribute: - ; } - - return true; - } - - return new ArchitecturePredicate(Predicate, description); - } - - public static IPredicate DoNotHaveAttributeWithArguments( - [NotNull] Type attribute, - IEnumerable argumentValues - ) - { - string description; - var argumentValueList = argumentValues?.ToList() ?? new List { }; - if (argumentValueList.IsNullOrEmpty()) - { - description = "do not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentValueList.First(); - description = argumentValueList - .Where(att => att != firstArgument) - .Aggregate( - "do not have attribute \"" - + attribute.FullName - + "\" with arguments \"" - + firstArgument - + "\"", - (current, argumentValue) => current + " and \"" + argumentValue + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return true; - } - - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(archUnitAttribute)) - { - goto NextAttribute; - } - - var attributeArguments = attributeInstance - .AttributeArguments.Select(arg => arg.Value) - .ToList(); - var typeAttributeArguments = attributeArguments - .OfType>() - .Select(t => t.Type) - .Union(attributeArguments.OfType()) - .ToList(); - foreach (var arg in argumentValueList) - { - if (arg is Type argType) - { - if (typeAttributeArguments.All(t => t.FullName != argType.FullName)) - { - goto NextAttribute; - } - } - else if (!attributeArguments.Contains(arg)) - { - goto NextAttribute; - } - } - - return false; - NextAttribute: - ; - } - - return true; } + var description = argumentValueList.FormatDescription( + $"do not have attribute \"{attributeFullName}\" with any of no arguments (always true)", + $"do not have attribute \"{attributeFullName}\" with argument", + $"do not have attribute \"{attributeFullName}\" with arguments" + ); return new ArchitecturePredicate(Predicate, description); } public static IPredicate DoNotHaveAnyAttributesWithNamedArguments( - IEnumerable<(string, object)> attributeArguments + IEnumerable<(string, object)> namedArguments ) { - var argumentList = attributeArguments.ToList(); - string description; - if (argumentList.IsNullOrEmpty()) - { - description = "do not have no or any attributes with named arguments (impossible)"; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(attribute => attribute != firstArgument) - .Aggregate( - "do not have any attributes with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Condition(T obj, Architecture architecture) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Condition(IEnumerable ruleTypes, Architecture architecture) { - var attArguments = obj - .AttributeInstances.SelectMany(instance => - instance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - ) + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) .ToList(); - var typeAttributeArguments = attArguments - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + foreach (var ruleType in ruleTypes) { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.Any(t => - t.Name == arg.Item1 - && ( - t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName == argType.FullName - || t.Value is IType type && type.FullName == argType.FullName - ) - ) - ) - { - return false; - } - } - else if (attArguments.Contains(arg)) + var attArguments = ruleType.GetAllNamedAttributeArgumentTuples().ToList(); + if (!resolvedNamedArgumentList.Any(attArguments.Contains)) { - return false; + yield return ruleType; } } - - return true; } + var description = namedArgumentList.FormatDescription( + "do not have any attributes with any of no named arguments (always true)", + "do not have any attributes with named argument", + "do not have any attributes with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); return new ArchitecturePredicate(Condition, description); } public static IPredicate DoNotHaveAttributeWithNamedArguments( - [NotNull] Attribute attribute, - IEnumerable<(string, object)> attributeArguments + string attributeFullName, + [NotNull] Func getAttribute, + IEnumerable<(string, object)> namedArguments ) { - string description; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) + var namedArgumentList = + namedArguments as IList<(string, object)> ?? namedArguments.ToList(); + IEnumerable Condition(IEnumerable ruleTypes, Architecture architecture) { - description = "do not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "do not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - foreach (var attributeInstance in obj.AttributeInstances) - { - if (!attributeInstance.Type.Equals(attribute)) - { - goto NextAttribute; - } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) - .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) - { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) - { - goto NextAttribute; - } - } - - return false; - NextAttribute: - ; - } - - return true; - } - - return new ArchitecturePredicate(Predicate, description); - } - - public static IPredicate DoNotHaveAttributeWithNamedArguments( - [NotNull] Type attribute, - IEnumerable<(string, object)> attributeArguments - ) - { - string description; - var argumentList = attributeArguments.ToList(); - if (argumentList.IsNullOrEmpty()) - { - description = "do not have attribute \"" + attribute.FullName + "\""; - } - else - { - var firstArgument = argumentList.First(); - description = argumentList - .Where(att => att != firstArgument) - .Aggregate( - "do not have attribute \"" - + attribute.FullName - + "\" with named arguments \"" - + firstArgument.Item1 - + "=" - + firstArgument.Item2 - + "\"", - (current, arg) => current + " and \"" + arg.Item1 + "=" + arg.Item2 + "\"" - ); - } - - bool Predicate(T obj, Architecture architecture) - { - Attribute archUnitAttribute; - try - { - archUnitAttribute = architecture.GetAttributeOfType(attribute); - } - catch (TypeDoesNotExistInArchitecture) - { - //can't have a dependency - return true; - } - - foreach (var attributeInstance in obj.AttributeInstances) + var resolvedAttribute = getAttribute(architecture); + var resolvedNamedArgumentList = namedArgumentList + .ResolveNamedAttributeArgumentTuples(architecture) + .ToList(); + foreach (var ruleType in ruleTypes) { - if (!attributeInstance.Type.Equals(archUnitAttribute)) - { - goto NextAttribute; - } - - var attributeArgs = attributeInstance - .AttributeArguments.OfType() - .Select(arg => (arg.Name, arg.Value)) + var attArguments = ruleType + .GetAllNamedAttributeArgumentTuples(resolvedAttribute) .ToList(); - var typeAttributeArguments = attributeArgs - .Where(arg => arg.Value is ITypeInstance || arg.Value is IType) - .ToList(); - foreach (var arg in argumentList) + if (!resolvedNamedArgumentList.Any(attArguments.Contains)) { - if (arg.Item2 is Type argType) - { - if ( - typeAttributeArguments.All(t => - t.Name != arg.Item1 - || t.Value is ITypeInstance typeInstance - && typeInstance.Type.FullName != argType.FullName - || t.Value is IType type && type.FullName != argType.FullName - ) - ) - { - goto NextAttribute; - } - } - else if (!attributeArgs.Contains(arg)) - { - goto NextAttribute; - } + yield return ruleType; } - - return false; - NextAttribute: - ; } - - return true; } - return new ArchitecturePredicate(Predicate, description); + var description = namedArgumentList.FormatDescription( + $"do not have attribute \"{attributeFullName}\" with any of no named arguments (always true)", + $"do not have attribute \"{attributeFullName}\" with named argument", + $"do not have attribute \"{attributeFullName}\" with named arguments", + elementDescription: arg => $"\"{arg.Item1}={arg.Item2}\"" + ); + return new ArchitecturePredicate(Condition, description); } public static IPredicate DoNotHaveName(string name) diff --git a/ArchUnitNET/Fluent/Syntax/Elements/ObjectsShould.cs b/ArchUnitNET/Fluent/Syntax/Elements/ObjectsShould.cs index 03791216..adc5365b 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/ObjectsShould.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/ObjectsShould.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -using System.Linq; using ArchUnitNET.Domain; +using ArchUnitNET.Domain.Extensions; using ArchUnitNET.Fluent.Conditions; using ArchUnitNET.Fluent.Syntax.Elements.Types; using ArchUnitNET.Fluent.Syntax.Elements.Types.Attributes; @@ -69,20 +69,17 @@ public TRuleTypeShouldConjunction Exist() public TRuleTypeShouldConjunction OnlyHaveAttributes(IEnumerable attributes) => OnlyHaveAttributes(new SystemTypeObjectProvider(attributes)); public TRuleTypeShouldConjunction HaveAnyAttributesWithArguments(IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.HaveAnyAttributesWithArguments(argumentValues)); - public TRuleTypeShouldConjunction HaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.HaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.HaveAnyAttributesWithNamedArguments(attributeArguments)); - public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => HaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.HaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TRuleTypeShouldConjunction HaveName(string name) => AddCondition(ObjectConditionsDefinition.HaveName(name)); public TRuleTypeShouldConjunction HaveNameMatching(string pattern) => AddCondition(ObjectConditionsDefinition.HaveNameMatching(pattern)); @@ -149,20 +146,17 @@ public TRuleTypeShouldConjunction NotExist() public TRuleTypeShouldConjunction NotHaveAnyAttributes(IEnumerable attributes) => NotHaveAnyAttributes(new SystemTypeObjectProvider(attributes)); public TRuleTypeShouldConjunction NotHaveAnyAttributesWithArguments(IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAnyAttributesWithArguments(argumentValues)); - public TRuleTypeShouldConjunction NotHaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TRuleTypeShouldConjunction NotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TRuleTypeShouldConjunction NotHaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.NotHaveAnyAttributesWithNamedArguments(attributeArguments)); - public TRuleTypeShouldConjunction NotHaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => NotHaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction NotHaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => NotHaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => NotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => NotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => NotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => AddCondition(ObjectConditionsDefinition.NotHaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TRuleTypeShouldConjunction NotHaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => NotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TRuleTypeShouldConjunction NotHaveName(string name) => AddCondition(ObjectConditionsDefinition.NotHaveName(name)); public TRuleTypeShouldConjunction NotHaveNameMatching(string pattern) => AddCondition(ObjectConditionsDefinition.NotHaveNameMatching(pattern)); diff --git a/ArchUnitNET/Fluent/Syntax/Elements/ShouldRelateToObjectsThat.cs b/ArchUnitNET/Fluent/Syntax/Elements/ShouldRelateToObjectsThat.cs index 3eac066b..74a682c4 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/ShouldRelateToObjectsThat.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/ShouldRelateToObjectsThat.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using ArchUnitNET.Domain; +using ArchUnitNET.Domain.Extensions; using ArchUnitNET.Fluent.Predicates; using static ArchUnitNET.Fluent.Syntax.ConjunctionFactory; using Attribute = ArchUnitNET.Domain.Attribute; @@ -58,20 +59,17 @@ protected ShouldRelateToObjectsThat(IArchRuleCreator ruleCreator) public TRuleTypeShouldConjunction OnlyHaveAttributes(IEnumerable attributes) => OnlyHaveAttributes(new SystemTypeObjectProvider(attributes)); public TRuleTypeShouldConjunction HaveAnyAttributesWithArguments(IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAnyAttributesWithArguments(argumentValues)); - public TRuleTypeShouldConjunction HaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TRuleTypeShouldConjunction HaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TRuleTypeShouldConjunction HaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAnyAttributesWithNamedArguments(attributeArguments)); - public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction HaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => HaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => HaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TRuleTypeShouldConjunction HaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => HaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TRuleTypeShouldConjunction HaveName(string name) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveName(name)); public TRuleTypeShouldConjunction HaveNameMatching(string pattern) => ContinueComplexCondition(ObjectPredicatesDefinition.HaveNameMatching(pattern)); @@ -123,20 +121,17 @@ protected ShouldRelateToObjectsThat(IArchRuleCreator ruleCreator) public TRuleTypeShouldConjunction DoNotHaveAnyAttributes(IEnumerable attributes) => DoNotHaveAnyAttributes(new SystemTypeObjectProvider(attributes)); public TRuleTypeShouldConjunction DoNotHaveAnyAttributesWithArguments(IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithArguments(argumentValues)); - public TRuleTypeShouldConjunction DoNotHaveAnyAttributesWithArguments(object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithArguments(new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Attribute attribute, object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, argumentValues)); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Type attribute, object firstArgumentValue, params object[] moreArgumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute, new[] { firstArgumentValue }.Concat(moreArgumentValues))); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Attribute attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute.FullName, _ => attribute, argumentValues)); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithArguments(Type attribute, IEnumerable argumentValues) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), argumentValues)); public TRuleTypeShouldConjunction DoNotHaveAnyAttributesWithNamedArguments(IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAnyAttributesWithNamedArguments(attributeArguments)); - public TRuleTypeShouldConjunction DoNotHaveAnyAttributesWithNamedArguments((string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAnyAttributesWithNamedArguments(new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction DoNotHaveAnyAttributesWithNamedArguments(params (string, object)[] attributeArguments) => DoNotHaveAnyAttributesWithNamedArguments((IEnumerable<(string, object)>)attributeArguments); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute, attributeArguments)); - public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, (string, object) firstAttributeArgument, params (string, object)[] moreAttributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, new[] { firstAttributeArgument }.Concat(moreAttributeArguments)); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute.FullName, _ => attribute, attributeArguments)); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Attribute attribute, params (string, object)[] attributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, IEnumerable<(string, object)> attributeArguments) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveAttributeWithNamedArguments(attribute.FullName, architecture => architecture.GetAttributeOfType(attribute), attributeArguments)); + public TRuleTypeShouldConjunction DoNotHaveAttributeWithNamedArguments(Type attribute, params (string, object)[] attributeArguments) => DoNotHaveAttributeWithNamedArguments(attribute, (IEnumerable<(string, object)>)attributeArguments); public TRuleTypeShouldConjunction DoNotHaveName(string name) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveName(name)); public TRuleTypeShouldConjunction DoNotHaveNameMatching(string pattern) => ContinueComplexCondition(ObjectPredicatesDefinition.DoNotHaveNameMatching(pattern)); diff --git a/ArchUnitNETTests/Domain/AttributeArgumentTests.cs b/ArchUnitNETTests/Domain/AttributeArgumentTests.cs index bea2e095..ef4ecc5d 100644 --- a/ArchUnitNETTests/Domain/AttributeArgumentTests.cs +++ b/ArchUnitNETTests/Domain/AttributeArgumentTests.cs @@ -116,384 +116,6 @@ public void AssignNamesToAttributeParameters() arg => arg.Name == "Parameter3" && (string)arg.Value == "param3_2" ); } - - [Fact] - public void FluentPredicatesTest() - { - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAttributeWithArguments(_attributeWithStringParameters, "param1_1") - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithArguments("param1_0") - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithNamedArguments(("Parameter2", "param2_1")) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithNamedArguments( - ("Parameter2", "param2_1"), - ("Parameter3", "param3_2") - ) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithArguments(null) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .HaveAnyAttributesWithArguments(typeof(ClassWithArrayParameterAttribute)) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .HaveAnyAttributesWithNamedArguments( - ("Type2", typeof(ClassWithArrayParameterAttribute)) - ) - .Should() - .Exist() - .Check(Architecture); - - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithNamedArguments(("Parameter2", "param1_1")) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAttributeWithArguments(_attributeWithStringParameters, "non_existent") - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .HaveAnyAttributesWithNamedArguments( - ("Type3", typeof(ClassWithArrayParameterAttribute)) - ) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .HaveAnyAttributesWithArguments("1") - .Should() - .NotExist() - .Check(Architecture); - - //Negations - - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAttributeWithArguments(_attributeWithStringParameters, "param1_1") - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithArguments("param1_0") - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithNamedArguments(("Parameter2", "param2_1")) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithNamedArguments( - ("Parameter2", "param2_1"), - ("Parameter3", "param3_2") - ) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithArguments(null) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .DoNotHaveAnyAttributesWithArguments(typeof(ClassWithArrayParameterAttribute)) - .Should() - .NotExist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .DoNotHaveAnyAttributesWithNamedArguments( - ("Type2", typeof(ClassWithArrayParameterAttribute)) - ) - .Should() - .NotExist() - .Check(Architecture); - - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithNamedArguments(("Parameter2", "param1_1")) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAttributeWithArguments(_attributeWithStringParameters, "non_existent") - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .And() - .DoNotHaveAnyAttributesWithNamedArguments( - ("Type3", typeof(ClassWithArrayParameterAttribute)) - ) - .Should() - .Exist() - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .And() - .DoNotHaveAnyAttributesWithArguments("1") - .Should() - .Exist() - .Check(Architecture); - } - - [Fact] - public void FluentConditionsTest() - { - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAttributeWithArguments(_attributeWithStringParameters, "param1_1") - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithArguments("param1_0") - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithNamedArguments(("Parameter2", "param2_1")) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithNamedArguments( - ("Parameter2", "param2_1"), - ("Parameter3", "param3_2") - ) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithArguments(null) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .HaveAnyAttributesWithArguments(typeof(ClassWithArrayParameterAttribute)) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .HaveAnyAttributesWithNamedArguments( - ("Type2", typeof(ClassWithArrayParameterAttribute)) - ) - .Check(Architecture); - - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithNamedArguments(("Parameter2", "param1_1")) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAttributeWithArguments(_attributeWithStringParameters, "non_existent") - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .HaveAnyAttributesWithNamedArguments( - ("Type3", typeof(ClassWithArrayParameterAttribute)) - ) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .HaveAnyAttributesWithArguments("1") - .Check(Architecture) - ); - - //Negations - - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAttributeWithArguments(_attributeWithStringParameters, "param1_1") - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithArguments("param1_0") - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithNamedArguments(("Parameter2", "param2_1")) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithNamedArguments( - ("Parameter2", "param2_1"), - ("Parameter3", "param3_2") - ) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithArguments(null) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .NotHaveAnyAttributesWithArguments(typeof(ClassWithArrayParameterAttribute)) - .Check(Architecture) - ); - Assert.Throws(() => - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .NotHaveAnyAttributesWithNamedArguments( - ("Type2", typeof(ClassWithArrayParameterAttribute)) - ) - .Check(Architecture) - ); - - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithNamedArguments(("Parameter2", "param1_1")) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAttributeWithArguments(_attributeWithStringParameters, "non_existent") - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithTypeParameterAttribute)) - .Should() - .NotHaveAnyAttributesWithNamedArguments( - ("Type3", typeof(ClassWithArrayParameterAttribute)) - ) - .Check(Architecture); - Types() - .That() - .Are(typeof(ClassWithMultipleAttributesWithParameters)) - .Should() - .NotHaveAnyAttributesWithArguments("1") - .Check(Architecture); - } } [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] diff --git a/ArchUnitNETTests/Fluent/NoErrorReferencingOfTypesOutsideOfArchitectureTests.cs b/ArchUnitNETTests/Fluent/NoErrorReferencingOfTypesOutsideOfArchitectureTests.cs index f5b51acc..634f3002 100644 --- a/ArchUnitNETTests/Fluent/NoErrorReferencingOfTypesOutsideOfArchitectureTests.cs +++ b/ArchUnitNETTests/Fluent/NoErrorReferencingOfTypesOutsideOfArchitectureTests.cs @@ -33,81 +33,6 @@ private static void AssertNoException(Action action) Assert.Null(exception); } - [Fact] - public void HaveAttributeWithArgumentsTest() - { - var rule = Classes() - .That() - .Are(typeof(EmptyTestClass)) - .Should() - .HaveAttributeWithArguments(_classNotInArchitecture, Enumerable.Empty()); - var negation = Classes() - .That() - .Are(typeof(EmptyTestClass)) - .Should() - .NotHaveAttributeWithArguments(_classNotInArchitecture, Enumerable.Empty()); - Assert.Throws(() => rule.Check(Architecture)); - negation.Check(Architecture); - - AssertNoException(() => - Classes() - .That() - .HaveAttributeWithArguments(_classNotInArchitecture, Enumerable.Empty()) - .GetObjects(Architecture) - ); - AssertNoException(() => - Classes() - .That() - .DoNotHaveAttributeWithArguments( - _classNotInArchitecture, - Enumerable.Empty() - ) - .GetObjects(Architecture) - ); - } - - [Fact] - public void HaveAttributeWithNamedArgumentsTest() - { - var rule = Classes() - .That() - .Are(typeof(EmptyTestClass)) - .Should() - .HaveAttributeWithNamedArguments( - _classNotInArchitecture, - Enumerable.Empty<(string, object)>() - ); - var negation = Classes() - .That() - .Are(typeof(EmptyTestClass)) - .Should() - .NotHaveAttributeWithNamedArguments( - _classNotInArchitecture, - Enumerable.Empty<(string, object)>() - ); - Assert.Throws(() => rule.Check(Architecture)); - negation.Check(Architecture); - - AssertNoException(() => - Classes() - .That() - .HaveAttributeWithNamedArguments( - _classNotInArchitecture, - Enumerable.Empty<(string, object)>() - ) - .GetObjects(Architecture) - ); - AssertNoException(() => - Classes() - .That() - .DoNotHaveAttributeWithNamedArguments( - _classNotInArchitecture, - Enumerable.Empty<(string, object)>() - ) - .GetObjects(Architecture) - ); - } - [Fact] public void AreBeTest() { diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/ObjectSyntaxElementsTests.cs b/ArchUnitNETTests/Fluent/Syntax/Elements/ObjectSyntaxElementsTests.cs index 625cd908..0f9a7eac 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/ObjectSyntaxElementsTests.cs +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/ObjectSyntaxElementsTests.cs @@ -729,116 +729,87 @@ public async Task HaveAnyAttributesWithArgumentsTest() var should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.HaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().HaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().HaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotHeader("No violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument)).AssertNoViolations(helper); should.Be(Types().That().HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.BeTypesThat().HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertNoViolations(helper); helper.AddSnapshotHeader("Violations with type arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.HaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().HaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Violations with value arguments"); should = Types().That().Are(helper.ClassWithoutAttributes).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().HaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); - helper.AddSnapshotHeader("Null argument"); - should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); - - helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithArguments(null).AssertOnlyViolations(helper); - - helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithArguments(null)).AssertOnlyViolations(helper); - - helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithArguments(null).AssertOnlyViolations(helper); - helper.AddSnapshotHeader("Empty arguments"); + should = Types().That().Are(helper.ClassWithoutAttributes).Should(); helper.AddSnapshotSubHeader("Conditions"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should().HaveAnyAttributesWithArguments(new List()).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithTwoAttributesWithArguments).Should().HaveAnyAttributesWithArguments(new List()).AssertNoViolations(helper); + should.HaveAnyAttributesWithArguments(new List()).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments(new List())).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithTwoAttributesWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments(new List())).AssertNoViolations(helper); + should.Be(Types().That().HaveAnyAttributesWithArguments(new List())).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments(new List()).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithTwoAttributesWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments(new List()).AssertNoViolations(helper); + should.BeTypesThat().HaveAnyAttributesWithArguments(new List()).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); should.HaveAnyAttributesWithArguments(new List { helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue }).AssertOnlyViolations(helper); - should.HaveAnyAttributesWithArguments(helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); should.Be(Types().That().HaveAnyAttributesWithArguments(new List { helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue })).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAnyAttributesWithArguments(helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue)).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); should.BeTypesThat().HaveAnyAttributesWithArguments(new List { helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue }).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAnyAttributesWithArguments(helper.UnusedAttributeIntValue, helper.UnusedAttributeStringValue).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple inputs"); helper.AddSnapshotSubHeader("Conditions"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().HaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().HaveAnyAttributesWithArguments(helper.Attribute2IntegerArgument).AssertAnyViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().HaveAnyAttributesWithArguments([helper.Attribute1StringArgument]).AssertNoViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().HaveAnyAttributesWithArguments([helper.Attribute2IntegerArgument]).AssertAnyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments(helper.Attribute1StringArgument)).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments(helper.Attribute2IntegerArgument)).AssertAnyViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments([helper.Attribute1StringArgument])).AssertNoViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().Be(Types().That().HaveAnyAttributesWithArguments([helper.Attribute2IntegerArgument])).AssertAnyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertNoViolations(helper); - Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments(helper.Attribute2IntegerArgument).AssertAnyViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments([helper.Attribute1StringArgument]).AssertNoViolations(helper); + Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should().BeTypesThat().HaveAnyAttributesWithArguments([helper.Attribute2IntegerArgument]).AssertAnyViolations(helper); await helper.AssertSnapshotMatches(); } @@ -942,16 +913,16 @@ public async Task HaveAnyAttributesWithNamedArguments() should.BeTypesThat().HaveAnyAttributesWithNamedArguments(new List<(string, object)> { ("NamedParameter2", helper.UnusedAttributeStringValue) }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Empty arguments"); - should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); + should = Types().That().Are(helper.ClassWithoutAttributes).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAnyAttributesWithNamedArguments(new List<(string, object)>()).AssertNoViolations(helper); + should.HaveAnyAttributesWithNamedArguments(new List<(string, object)>()).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAnyAttributesWithNamedArguments(new List<(string, object)>())).AssertNoViolations(helper); + should.Be(Types().That().HaveAnyAttributesWithNamedArguments(new List<(string, object)>())).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAnyAttributesWithNamedArguments(new List<(string, object)>()).AssertNoViolations(helper); + should.BeTypesThat().HaveAnyAttributesWithNamedArguments(new List<(string, object)>()).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); @@ -1001,133 +972,88 @@ public async Task HaveAttributeWithArgumentsTest() var should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType })).AssertNoViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotHeader("No violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument })).AssertNoViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); helper.AddSnapshotHeader("Violations for wrong attribute"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); - should.HaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1TypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1TypeArgumentSystemType })).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1TypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1TypeArgumentSystemType })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Violations with type arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1, new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.UnusedTypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, new List { helper.UnusedTypeArgumentSystemType })).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.UnusedTypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.UnusedTypeArgumentSystemType })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.UnusedTypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.UnusedTypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument }).AssertOnlyViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument).AssertOnlyViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument })).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument)).AssertOnlyViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument }).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument).AssertOnlyViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Type outside of architecture"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), helper.Attribute1StringArgument).AssertOnlyViolations(helper); - - helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), helper.Attribute1StringArgument)).AssertOnlyViolations(helper); - - helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), helper.Attribute1StringArgument).AssertOnlyViolations(helper); - - helper.AddSnapshotHeader("Null argument"); - should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); - - helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, null).AssertOnlyViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, null).AssertOnlyViolations(helper); + should.HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [helper.Attribute1StringArgument]).AssertException(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, null)).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, null)).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [helper.Attribute1StringArgument])).AssertException(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, null).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, null).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [helper.Attribute1StringArgument]).AssertException(helper); helper.AddSnapshotHeader("Empty arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); @@ -1148,37 +1074,31 @@ public async Task HaveAttributeWithArgumentsTest() should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument }).AssertNoViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument })).AssertNoViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument)).AssertNoViolations(helper); should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument }).AssertNoViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument, helper.Attribute1IntegerArgument).AssertNoViolations(helper); should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument, helper.Attribute1IntegerArgument }).AssertNoViolations(helper); helper.AddSnapshotHeader("Multiple inputs"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertNoViolations(helper); - should.HaveAttributeWithArguments(helper.Attribute2, helper.Attribute2IntegerArgument).AssertAnyViolations(helper); + should.HaveAttributeWithArguments(helper.Attribute1, [helper.Attribute1StringArgument]).AssertNoViolations(helper); + should.HaveAttributeWithArguments(helper.Attribute2, [helper.Attribute2IntegerArgument]).AssertAnyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument)).AssertNoViolations(helper); - should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute2, helper.Attribute2IntegerArgument)).AssertAnyViolations(helper); + should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute1, [helper.Attribute1StringArgument])).AssertNoViolations(helper); + should.Be(Types().That().HaveAttributeWithArguments(helper.Attribute2, [helper.Attribute2IntegerArgument])).AssertAnyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertNoViolations(helper); - should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute2, helper.Attribute2IntegerArgument).AssertAnyViolations(helper); + should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute1, [helper.Attribute1StringArgument]).AssertNoViolations(helper); + should.BeTypesThat().HaveAttributeWithArguments(helper.Attribute2, [helper.Attribute2IntegerArgument]).AssertAnyViolations(helper); await helper.AssertSnapshotMatches(); } @@ -1324,13 +1244,13 @@ public async Task HaveAttributeWithNamedArguments() should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertOnlyViolations(helper); + should.HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertException(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument))).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument))).AssertException(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertException(helper); helper.AddSnapshotHeader("Empty arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); @@ -1351,22 +1271,22 @@ public async Task HaveAttributeWithNamedArguments() should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument)).AssertOnlyViolations(helper); - should.HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) }).AssertOnlyViolations(helper); - should.HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument)).AssertOnlyViolations(helper); - should.HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) }).AssertOnlyViolations(helper); + should.HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument)).AssertOnlyViolations(helper); + should.HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) }).AssertOnlyViolations(helper); + should.HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument)).AssertOnlyViolations(helper); + should.HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument))).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) })).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument))).AssertOnlyViolations(helper); - should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) })).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument))).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) })).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument))).AssertOnlyViolations(helper); + should.Be(Types().That().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument)).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) }).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument)).AssertOnlyViolations(helper); - should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute1StringArgument) }).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument)).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) }).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument)).AssertOnlyViolations(helper); + should.BeTypesThat().HaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)> { ("NamedParameter1", helper.Attribute1TypeArgument), ("NamedParameter2", helper.Attribute2StringArgument) }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple inputs"); should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments, helper.ClassWithTwoAttributesWithNamedArguments).Should(); @@ -2003,85 +1923,61 @@ public async Task NotHaveAnyAttributesWithArgumentsTest() var should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType).AssertNoViolations(helper); should.NotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.UnusedTypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotHeader("No violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.UnusedAttributeStringValue).AssertNoViolations(helper); should.NotHaveAnyAttributesWithArguments(new List { helper.UnusedAttributeStringValue }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.UnusedAttributeStringValue)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedAttributeStringValue })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.UnusedAttributeStringValue).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedAttributeStringValue }).AssertNoViolations(helper); helper.AddSnapshotHeader("Violations with type arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.NotHaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.NotHaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Type without attributes"); should = Types().That().Are(helper.ClassWithoutAttributes).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertNoViolations(helper); + should.NotHaveAnyAttributesWithArguments([helper.Attribute1StringArgument]).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument)).AssertNoViolations(helper); + should.Be(Types().That().DoNotHaveAnyAttributesWithArguments([helper.Attribute1StringArgument])).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertNoViolations(helper); - - helper.AddSnapshotHeader("Null argument"); - should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); - - helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(null).AssertNoViolations(helper); - - helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(null)).AssertNoViolations(helper); - - helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(null).AssertNoViolations(helper); + should.BeTypesThat().DoNotHaveAnyAttributesWithArguments([helper.Attribute1StringArgument]).AssertNoViolations(helper); helper.AddSnapshotHeader("Empty arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); @@ -2100,29 +1996,23 @@ public async Task NotHaveAnyAttributesWithArgumentsTest() helper.AddSnapshotSubHeader("Conditions"); should.NotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgument, helper.Attribute1StringArgument }).AssertOnlyViolations(helper); - should.NotHaveAnyAttributesWithArguments(helper.UnusedTypeArgument, helper.Attribute1StringArgument).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgument, helper.Attribute1StringArgument })).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.UnusedTypeArgument, helper.Attribute1StringArgument)).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.UnusedTypeArgument, helper.Attribute1StringArgument }).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.UnusedTypeArgument, helper.Attribute1StringArgument).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple inputs"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.NotHaveAnyAttributesWithArguments(new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1StringArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAnyAttributesWithArguments(new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); await helper.AssertSnapshotMatches(); @@ -2255,179 +2145,124 @@ public async Task NotHaveAttributeWithArgumentsTest() var should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2TypeArgumentSystemType).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2TypeArgumentSystemType }).AssertNoViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2TypeArgumentSystemType).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2TypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2TypeArgumentSystemType })).AssertNoViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2TypeArgumentSystemType)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2TypeArgumentSystemType })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2TypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2TypeArgumentSystemType }).AssertNoViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2TypeArgumentSystemType).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2TypeArgumentSystemType }).AssertNoViolations(helper); helper.AddSnapshotHeader("No violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument }).AssertNoViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument })).AssertNoViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute2StringArgument).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute2StringArgument }).AssertNoViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute2StringArgument).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute2StringArgument }).AssertNoViolations(helper); helper.AddSnapshotHeader("Violations with type arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType })).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Violations with value arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Unused attribute"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1StringArgument).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); - should.NotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1StringArgument).AssertNoViolations(helper); should.NotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1StringArgument)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1StringArgument })).AssertNoViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1StringArgument)).AssertNoViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1StringArgument })).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, helper.Attribute1StringArgument).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, helper.Attribute1StringArgument).AssertNoViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, new List { helper.Attribute1StringArgument }).AssertNoViolations(helper); helper.AddSnapshotHeader("Type outside of architecture"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass),1).AssertNoViolations(helper); - - helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass),1)).AssertNoViolations(helper); - - helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass),1).AssertNoViolations(helper); - - helper.AddSnapshotHeader("Null argument"); - should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); - - helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.UnusedAttribute, null).AssertNoViolations(helper); - should.NotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, null).AssertNoViolations(helper); + should.NotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [1]).AssertException(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, null)).AssertNoViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, null)).AssertNoViolations(helper); + should.Be(Types().That().DoNotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [1])).AssertException(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttribute, null).AssertNoViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.UnusedAttributeSystemType, null).AssertNoViolations(helper); + should.BeTypesThat().DoNotHaveAttributeWithArguments(typeof(TypeDependencyNamespace.BaseClass), [1]).AssertException(helper); helper.AddSnapshotHeader("Empty arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); - should.NotHaveAttributeWithArguments(helper.Attribute1, new List()).AssertOnlyViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List()).AssertOnlyViolations(helper); + + helper.AddSnapshotSubHeader("Conditions"); + should.NotHaveAttributeWithArguments(helper.Attribute1, new List()).AssertNoViolations(helper); + should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List()).AssertNoViolations(helper); helper.AddSnapshotHeader("Multiple arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1TypeArgumentSystemType, helper.Attribute1IntegerArgument }).AssertOnlyViolations(helper); helper.AddSnapshotHeader("Multiple inputs"); should = Types().That().Are(helper.ClassWithSingleAttributeWithArguments, helper.ClassWithTwoAttributesWithNamedArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); - should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.NotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument })).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument)).AssertOnlyViolations(helper); should.Be(Types().That().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument })).AssertOnlyViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1, new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, helper.Attribute1StringArgument).AssertOnlyViolations(helper); should.BeTypesThat().DoNotHaveAttributeWithArguments(helper.Attribute1SystemType, new List { helper.Attribute1StringArgument }).AssertOnlyViolations(helper); await helper.AssertSnapshotMatches(); @@ -2547,28 +2382,28 @@ public async Task NotHaveAttributeWithNamedArgumentsTest() should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertNoViolations(helper); + should.NotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertException(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument))).AssertNoViolations(helper); + should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument))).AssertException(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertNoViolations(helper); + should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(typeof(TypeDependencyNamespace.BaseClass), ("NamedParameter1", helper.Attribute1TypeArgument)).AssertException(helper); helper.AddSnapshotHeader("Empty arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); helper.AddSnapshotSubHeader("Conditions"); - should.NotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>()).AssertOnlyViolations(helper); - should.NotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>()).AssertOnlyViolations(helper); + should.NotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>()).AssertNoViolations(helper); + should.NotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>()).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates"); - should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>())).AssertOnlyViolations(helper); - should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>())).AssertOnlyViolations(helper); + should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>())).AssertNoViolations(helper); + should.Be(Types().That().DoNotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>())).AssertNoViolations(helper); helper.AddSnapshotSubHeader("Predicates as conditions"); - should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>()).AssertOnlyViolations(helper); - should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>()).AssertOnlyViolations(helper); + should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(helper.Attribute1, new List<(string, object)>()).AssertNoViolations(helper); + should.BeTypesThat().DoNotHaveAttributeWithNamedArguments(helper.Attribute1SystemType, new List<(string, object)>()).AssertNoViolations(helper); helper.AddSnapshotHeader("Multiple arguments"); should = Types().That().Are(helper.ClassWithSingleAttributeWithNamedArguments).Should(); diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithArgumentsTest.verified.txt index 8c54b53c..f0089bed 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithArgumentsTest.verified.txt @@ -2,13 +2,7 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -16,13 +10,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -30,13 +18,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -46,13 +28,7 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with argument "1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -60,13 +36,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with argument "1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -74,13 +44,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with argument "1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -90,60 +54,33 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with argument "AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist @@ -152,142 +89,71 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithoutAttributes does have no attribute with an argument -Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithoutAttributes does have no attribute with an argument - - - -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with argument "1" Result: False -Description: AttributeNamespace.ClassWithoutAttributes does have no attribute with an argument +Description: AttributeNamespace.ClassWithoutAttributes does not have any attribute Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithoutAttributes does have no attribute with an argument +"Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes with argument "1"" failed: + AttributeNamespace.ClassWithoutAttributes does not have any attribute ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with argument "1" Result: False -Description: AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with arguments "1" +Description: AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with arguments "1" +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes with argument "1"" failed: + AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes with argument "1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" - - - -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with argument "1" Result: False Description: AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with arguments "1"" failed: +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes with argument "1"" failed: AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -===== Null argument ===== +===== Empty arguments ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithoutAttributes does not have any attribute Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes does not have any attribute ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "" +Description: AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "" +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" - - - -===== Empty arguments ===== - ------ Conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed +Description: AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" Message: -All Evaluations passed - ------ Predicates ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" -Query: Types that are "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed -Message: -All Evaluations passed - ------ Predicates as conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have no or any attributes with arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed -Message: -All Evaluations passed ===== Multiple arguments ===== @@ -295,19 +161,10 @@ All Evaluations passed Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "42" and "NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have any attributes with arguments "42" and "NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" @@ -322,15 +179,6 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" - - - ----- Predicates as conditions ----- Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" @@ -342,20 +190,11 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have any attributes with arguments "42" and "NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - ===== Multiple inputs ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -363,20 +202,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with argument "2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with arguments "2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have any attributes with argument "2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute AttributeNamespace.Attribute1 with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -384,20 +223,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with argument "2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with argument "2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with arguments "2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with arguments "2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have any attributes with argument "2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have any attributes with argument "2" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -405,13 +244,13 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with argument "2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with arguments "2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have any attributes with argument "2"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithNamedArguments.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithNamedArguments.verified.txt index f8356e86..6984eab8 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithNamedArguments.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAnyAttributesWithNamedArguments.verified.txt @@ -2,13 +2,13 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -16,13 +16,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -30,13 +30,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -46,13 +46,13 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -60,13 +60,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -74,13 +74,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -90,114 +90,114 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does have no attribute with a named argument +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute AttributeNamespace.Attribute1 without named arguments ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have any attributes with named argument "NamedParameter2=Argument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have any attributes with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" @@ -206,114 +206,114 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist @@ -322,114 +322,114 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "InvalidName=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "InvalidName=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "InvalidName=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist @@ -438,27 +438,36 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have no or any attributes with named arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes +Result: False +Description: AttributeNamespace.ClassWithoutAttributes does not have any attribute Message: -All Evaluations passed +"Types that are "AttributeNamespace.ClassWithoutAttributes" should have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes does not have any attribute + + ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have no or any attributes with named arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes +Result: False +Description: AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes Message: -All Evaluations passed +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes is not Types that have any attributes + + ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have no or any attributes with named arguments (always true) -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes +Result: False +Description: AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" Message: -All Evaluations passed +"Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that have any attributes" failed: + AttributeNamespace.ClassWithoutAttributes is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" + + ===== Multiple arguments ===== @@ -478,19 +487,19 @@ All Evaluations passed Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" @@ -562,7 +571,7 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Result: True @@ -570,20 +579,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Result: True @@ -591,20 +600,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Result: True @@ -612,13 +621,13 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have any attributes with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithArgumentsTest.verified.txt index 31da0c7a..d82d4157 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithArgumentsTest.verified.txt @@ -2,25 +2,13 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -28,25 +16,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -54,25 +30,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -82,25 +46,13 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -108,25 +60,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -134,25 +74,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -162,114 +90,60 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.UnusedAttribute" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with arguments "AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with argument "AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist @@ -278,114 +152,60 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist @@ -394,114 +214,60 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does only have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" and "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist @@ -510,98 +276,18 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" - - - ------ Predicates ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" - - - ------ Predicates as conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does exist - - - -===== Null argument ===== - ------ Conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute1" with arguments "" - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "TypeDependencyNamespace.BaseClass" with argument "Argument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute1" with arguments "" - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with argument "Argument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments """ failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with argument "Argument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ===== Empty arguments ===== @@ -663,18 +349,6 @@ Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ----- Predicates ----- Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" @@ -689,18 +363,6 @@ Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ----- Predicates as conditions ----- Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" @@ -715,23 +377,11 @@ Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" and "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ===== Multiple inputs ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -739,20 +389,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute2" with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute2" with argument "2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute2" with arguments "2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute2" with arguments "2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute2" with arguments "2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should have attribute "AttributeNamespace.Attribute2" with argument "2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does not have attribute "AttributeNamespace.Attribute2" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -760,20 +410,20 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with argument "2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute2" with arguments "2" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute2" with argument "2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with arguments "2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute2" with arguments "2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with argument "2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that have attribute "AttributeNamespace.Attribute2" with argument "2" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Result: True @@ -781,13 +431,13 @@ Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute2" with arguments "2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute2" with argument "2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute2" with arguments "2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that have attribute "AttributeNamespace.Attribute2" with argument "2"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithNamedArguments.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithNamedArguments.verified.txt index 52b404cc..a1f7961f 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithNamedArguments.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.HaveAttributeWithNamedArguments.verified.txt @@ -2,25 +2,25 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -28,25 +28,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -54,25 +54,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -82,25 +82,25 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -108,25 +108,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -134,25 +134,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -162,114 +162,114 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute does only have attribute "AttributeNamespace.Attribute1" without named arguments ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttribute is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttribute" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttribute is not "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" @@ -278,168 +278,168 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist @@ -448,114 +448,114 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "InvalidName=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "InvalidName=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=NotTheValueOfAnyAttribute"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=NotTheValueOfAnyAttribute"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist @@ -564,114 +564,114 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.UnusedAttribute" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist @@ -680,36 +680,18 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does exist - - +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ===== Empty arguments ===== @@ -759,39 +741,39 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does only have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" and "NamedParameter3=1" @@ -799,37 +781,37 @@ Message: Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara... Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara..." failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara... Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara..." failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara... Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara..." failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara... Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedPara..." failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument2" @@ -875,138 +857,138 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does not have attribute "AttributeNamespace.Attribute2" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" Result: True Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named arguments "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that have attribute "AttributeNamespace.Attribute2" with named argument "NamedParameter3=AttributeNamespace.TypeArgument2"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" or "AttributeNamespace.ClassWithThreeAttributesWithNamedArguments" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithArgumentsTest.verified.txt index 97c61cdf..7d7577e8 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithArgumentsTest.verified.txt @@ -2,13 +2,7 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -16,13 +10,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -30,13 +18,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -46,13 +28,7 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "NotTheValueOfAnyAttribute" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -60,13 +36,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "NotTheValueOfAnyAttribute" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -74,13 +44,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "NotTheValueOfAnyAttribute" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -90,60 +54,33 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -152,60 +89,33 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with argument "1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -214,7 +124,7 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should not have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithoutAttributes passed Message: @@ -222,7 +132,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that do not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be Types that do not have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithoutAttributes passed Message: @@ -230,43 +140,17 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that do not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithoutAttributes" should be types that do not have any attributes with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithoutAttributes passed Message: All Evaluations passed -===== Null argument ===== - ------ Conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ------ Predicates ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ------ Predicates as conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ===== Empty arguments ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have no or any attributes with arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with any of no arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -274,7 +158,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have no or any attributes with arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with any of no arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -282,7 +166,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have no or any attributes with arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with any of no arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -294,19 +178,10 @@ All Evaluations passed Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" @@ -321,15 +196,6 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" - - - ----- Predicates as conditions ----- Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" @@ -341,90 +207,45 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have any attributes with arguments "AttributeNamespace.UnusedTypeArgument" and "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - ===== Multiple inputs ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "Argument2" and "2" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - AttributeNamespace.ClassWithTwoAttributesWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "Argument2" and "2" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "Argument2" and "2" +Description: AttributeNamespace.ClassWithTwoAttributesWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" - AttributeNamespace.ClassWithTwoAttributesWithArguments does have attributes with argument values "Argument1" and "Argument1" and "1" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "Argument2" and "2" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should not have any attributes with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithArguments does have attribute AttributeNamespace.Attribute1 with argument "Argument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with arguments "Argument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with arguments "Argument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with arguments "Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be Types that do not have any attributes with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have any attributes with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithArguments is not Types that do not have any attributes with argument "Argument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - AttributeNamespace.ClassWithTwoAttributesWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with argument "Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with arguments "Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" should be types that do not have any attributes with argument "Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithNamedArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithNamedArgumentsTest.verified.txt index f04fddd6..050bdcad 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithNamedArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAnyAttributesWithNamedArgumentsTest.verified.txt @@ -2,25 +2,25 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -28,25 +28,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -54,25 +54,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "InvalidName=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "InvalidName=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.UnusedTypeArgument" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.UnusedTypeArgument" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -82,25 +82,25 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -108,25 +108,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -134,25 +134,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "InvalidName=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "InvalidName=Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=NotTheValueOfAnyAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=NotTheValueOfAnyAttribute" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -162,60 +162,60 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -224,60 +224,60 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter2=Argument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter2=Argument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -286,7 +286,7 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have no or any attributes with named arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with any of no named arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -294,7 +294,7 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have no or any attributes with named arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have any attributes with any of no named arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -302,7 +302,7 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have no or any attributes with named arguments (impossible) +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have any attributes with any of no named arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -314,19 +314,19 @@ All Evaluations passed Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" Message: "Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" and "NamedParameter2=Argument1" @@ -354,77 +354,77 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" and "NamedParameter1=Argument2" and "NamedParameter2=2" and "NamedParameter3=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" and "NamedParameter1=Argument2" and "NamedParameter2=2" and "NamedParameter3=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" and "NamedParameter1=Argument2" and "NamedParameter2=2" and "NamedParameter3=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attributes with named arguments "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter1=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" and "NamedParameter2=Argument1" and "NamedParameter3=1" and "NamedParameter1=Argument2" and "NamedParameter2=2" and "NamedParameter3=ArchUnitNET.Domain.TypeInstance`1[ArchUnitNET.Domain.Class]" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute AttributeNamespace.Attribute1 with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have any attributes with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithArgumentsTest.verified.txt index 71c4a528..72ba1ae0 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithArgumentsTest.verified.txt @@ -2,25 +2,13 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -28,25 +16,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -54,25 +30,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -82,25 +46,13 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -108,25 +60,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -134,25 +74,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -162,114 +90,60 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -278,114 +152,60 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -394,25 +214,13 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -420,25 +228,13 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -446,25 +242,13 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with argument "Argument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: @@ -474,129 +258,54 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "TypeDependencyNamespace.BaseClass" with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "TypeDependencyNamespace.BaseClass" with argument "1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "TypeDependencyNamespace.BaseClass" with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "TypeDependencyNamespace.BaseClass" with argument "1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "TypeDependencyNamespace.BaseClass" with arguments "1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "TypeDependencyNamespace.BaseClass" with argument "1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. -===== Null argument ===== +===== Empty arguments ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.UnusedAttribute" with arguments "" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ------ Predicates ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed -Message: -All Evaluations passed - ------ Predicates as conditions ----- - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with any of no arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with any of no arguments (always true) Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithArguments passed Message: All Evaluations passed -===== Empty arguments ===== - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" - - - ===== Multiple arguments ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with arguments "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with arguments "1" and "AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with arguments "1" and "AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with arguments "1" and "AttributeNamespace.TypeArgument1" @@ -620,24 +329,6 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" - - - ----- Predicates as conditions ----- Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" @@ -658,171 +349,81 @@ Message: -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "AttributeNamespace.TypeArgument1" and "1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - ===== Multiple inputs ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should does have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with argument "Argument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - - -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with arguments "Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with argument "Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" diff --git a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithNamedArgumentsTest.verified.txt b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithNamedArgumentsTest.verified.txt index 00ea8db8..6c9b8fac 100644 --- a/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithNamedArgumentsTest.verified.txt +++ b/ArchUnitNETTests/Fluent/Syntax/Elements/Snapshots/ObjectSyntaxElementsTests.NotHaveAttributeWithNamedArgumentsTest.verified.txt @@ -2,25 +2,25 @@ ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -28,25 +28,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -54,25 +54,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -82,25 +82,25 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -108,25 +108,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -134,25 +134,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument2" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument2" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -162,114 +162,114 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -278,114 +278,114 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter2=Argument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter2=Argument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" @@ -394,25 +394,25 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -420,25 +420,25 @@ All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -446,25 +446,25 @@ All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.UnusedAttribute" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: True Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: @@ -474,89 +474,62 @@ All Evaluations passed ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "TypeDependencyNamespace.BaseClass" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" -Result: True -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed -Message: -All Evaluations passed +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "TypeDependencyNamespace.BaseClass" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" +Exception: Type TypeDependencyNamespace.BaseClass does not exist in provided architecture or is no attribute. ===== Empty arguments ===== ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" - - +All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" - - +All Evaluations passed ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" - - +All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" - - +All Evaluations passed ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - +All Evaluations passed -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" -Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with any of no named arguments (always true) +Result: True +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments passed Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" - - +All Evaluations passed ===== Multiple arguments ===== @@ -678,149 +651,149 @@ Message: ----- Conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments does have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False -Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: - AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" - AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: + AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" + AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not Types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" ----- Predicates as conditions ----- -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" -Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1" +Query: Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1" Result: False Description: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Result: False Description: AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" Message: -"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named arguments "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: +"Types that are "AttributeNamespace.ClassWithSingleAttributeWithNamedArguments" or "AttributeNamespace.ClassWithTwoAttributesWithNamedArguments" should be types that do not have attribute "AttributeNamespace.Attribute1" with named argument "NamedParameter1=AttributeNamespace.TypeArgument1"" failed: AttributeNamespace.ClassWithSingleAttributeWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute" AttributeNamespace.ClassWithTwoAttributesWithNamedArguments is not "AttributeNamespace.Attribute1" or "AttributeNamespace.Attribute2" or "AttributeNamespace.Attribute3" or "AttributeNamespace.UnusedAttribute" or "AttributeNamespace.ClassWithoutAttributes" or "AttributeNamespace.ClassWithSingleAttribute" or "AttributeNamespace.ClassWithTwoAttributes" or "AttributeNamespace.ClassWithThreeAttributes" or "AttributeNamespace.TypeArgument1" or "AttributeNamespace.TypeArgument2" or "AttributeNamespace.TypeArgument3" or "AttributeNamespace.UnusedTypeArgument" or "AttributeNamespace.ClassWithSingleAttributeWithArguments" or "AttributeNamespace.ClassWithTwoAttributesWithArguments" or "AttributeNamespace.ClassWithThreeAttributesWithArguments" or "AttributeNamespace.OnceUsedAttribute" or "AttributeNamespace.ClassWithSingleUniquelyUsedAttribute" or "System.Attribute" or "System.Object" or "System.Type" or "System.String" or "System.Int32" or "System.Void" or "System.AttributeUsageAttribute" or "System.AttributeTargets" or "System.Runtime.CompilerServices.CompilerGeneratedAttribute" or "System.Runtime.CompilerServices.CompilationRelaxationsAttribute" or "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" or "System.Boolean" or "System.Diagnostics.DebuggableAttribute" or "System.Diagnostics.DebuggableAttribute+DebuggingModes" or "System.Runtime.Versioning.TargetFrameworkAttribute" or "System.Reflection.AssemblyCompanyAttribute" or "System.Reflection.AssemblyConfigurationAttribute" or "System.Reflection.AssemblyFileVersionAttribute" or "System.Reflection.AssemblyInformationalVersionAttribute" or "System.Reflection.AssemblyProductAttribute" or "System.Reflection.AssemblyTitleAttribute"