Skip to content

Commit

Permalink
Solve S2094 issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel Nobel committed May 3, 2023
1 parent 4bcc88e commit e729834
Show file tree
Hide file tree
Showing 5 changed files with 1,109 additions and 1,159 deletions.
2 changes: 1 addition & 1 deletion specs/Qowaiv.Specs/Properties/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
global using Qowaiv.Sql;
global using Qowaiv.Statistics;
global using Qowaiv.TestTools;
global using Qowaiv.TestTools.Diagnostics;
global using Qowaiv.TestTools.Globalization;
global using Qowaiv.TestTools.IO;
global using Qowaiv.Text;
Expand Down Expand Up @@ -45,4 +46,3 @@
global using StringId = Qowaiv.Identifiers.Id<Qowaiv.TestTools.ForString>;
global using CustomUuid = Qowaiv.Identifiers.Id<Qowaiv.TestTools.ForUuid>;
global using Svo = Qowaiv.TestTools.Svo;

11 changes: 8 additions & 3 deletions specs/Qowaiv.Specs/TestTools/Svo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ public override bool TryParse(string str, out object id)
private static bool IsValid(long number) => (number & 1) == 1;
}

public class ForString : StringIdBehavior { }
public class ForGuid : GuidBehavior { }
public class ForUuid : UuidBehavior { }
[EmptyClass]
public sealed class ForString : StringIdBehavior { }

[EmptyClass]
public sealed class ForGuid : GuidBehavior { }

[EmptyClass]
public sealed class ForUuid : UuidBehavior { }
Loading

0 comments on commit e729834

Please sign in to comment.