1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 07:35:42 +00:00
Commit Graph

1048 Commits

Author SHA1 Message Date
a73ec546d1 (#14) Use explicit type where non-evident 2022-02-14 15:45:28 +00:00
3a42b4cac9 Format csproj 2022-02-14 13:02:30 +00:00
b139d06a33 Remove FxCop in favour of built in analyzer 2022-02-14 12:59:41 +00:00
a47bcbeaa8 Bump FxCop to 3.3.2 2022-02-14 12:21:55 +00:00
54848848ac Enable implicit usings in tests csproj 2022-02-14 12:20:55 +00:00
375a382e1b Bump to .NET 6, bump dependency versions 2022-02-14 12:18:35 +00:00
093a504467 Remove CA ruleset enforcement 2022-02-14 12:17:49 +00:00
3257428fad Enable preview features in Tests csproj 2022-02-14 12:17:08 +00:00
920fadf639 Remove X10D.Unity dependency from Tests csproj 2022-02-14 12:16:28 +00:00
3592ec555e Remove X10D.Unity from solution 2022-02-14 12:13:29 +00:00
62902c33e4 Bump CI to .NET 6 2022-02-14 12:10:59 +00:00
5ecfd5236f (#14) Only use var when apparent 2022-02-14 12:09:19 +00:00
5ec4e06d9d (#15) Improve xmldoc bool returns
Changed ",or false otherwise" to "; otherwise, false."
2022-02-14 12:07:30 +00:00
64cadbe87d Use implicit usings in BooleanExtensions.Unsigned.cs 2022-02-14 12:02:22 +00:00
920750a207 Enable implicit usings 2022-02-14 12:00:37 +00:00
14a0f2fdd4 Enable preview features
System.Runtime.Experimental preview added as private dependency
2022-02-13 23:33:31 +00:00
2193e6b92c (#43) (#45) Bump to .NET 6 / C# 10 2022-02-13 23:32:04 +00:00
803032a567 Add int.Mod(int) and circular shifting 2022-02-13 19:40:38 +00:00
7a0aae3bd5
Use bit check rather than modulo for IsEven 2021-08-31 15:49:43 +01:00
0bafb64ecb
(#15) Fix typo in short.IsEven xmldoc 2021-08-31 15:48:40 +01:00
1ee5b8ef64
(#14) Use explicit type (#42) Ensure readable stream 2021-08-31 15:47:12 +01:00
5e021b703b
(#14) Don't use var elsewhere 2021-08-31 15:43:43 +01:00
fd9048d4ab
Use .NET 5 SDK 2021-08-31 15:43:18 +01:00
f268cf5b02
(#44) Replace string.Randomize overloads with optional parameter 2021-07-20 17:32:05 +01:00
4bf295a028
Call generic Enum.Parse<T> for .NET >= 5 2021-07-20 17:29:57 +01:00
3bbf689db4
Add Enum constraint to string.EnumParse<T> 2021-07-20 17:29:26 +01:00
af3dfaa623
(#14) Pattern-match IsEnum property on typeof(T) 2021-07-20 17:25:52 +01:00
3d44132865
Use double parameter for double.ToBoolean 2021-07-20 17:20:35 +01:00
45eb0ef415
Add IReadOnlyCollection<T>.Split(int)
Yields the same results as IEnumerable<T>.Split(int), except is able to
avoid a hidden allocation with the benefit of knowing the collection
size ahead of time
2021-07-20 17:18:15 +01:00
d6e8471239
Lazily enumerate source enumerable
Don't consume with ToArray() before iterating and yielding results back. This decreases allocations
2021-07-20 17:15:10 +01:00
35a9b31be7
(#14) Import System to avoid Random FQN 2021-07-20 17:12:28 +01:00
9a26031245
(#15) Document possible ArgumentOutOfRangeException 2021-07-20 17:01:30 +01:00
78830a3b9e
Move Lerp implementation to MathUtils class
float/double/short/int/long methods call MathUtils class
2021-07-20 16:56:56 +01:00
ac203dda1f
(#14) Perform solution-wide code cleanup 2021-07-20 16:46:51 +01:00
b81cac03d6
Add CultureInfo argument to exception message format 2021-07-20 16:24:16 +01:00
1205290ab4
Fix typos in IsPrimeTests xmldoc 2021-07-20 14:51:09 +01:00
09e126fa08
Add IsPrime tests 2021-07-20 14:47:33 +01:00
f0e3b65604
Delegate (s)byte.IsPrime to short.isPrime 2021-07-20 14:26:23 +01:00
f20aa3dbd4
(#41) Ignore directories as namespace providers 2021-07-20 14:01:33 +01:00
25a40521c8
(#42) Short circuit char.Repeat count 0 and 1 2021-07-20 01:02:02 +01:00
132573e262
Update byte unit tests to reflect new API 2021-07-20 00:53:43 +01:00
7192b46e9f
(#15) Format xmldoc for byte extensions 2021-07-20 00:51:27 +01:00
6722c0185e
Delegate byte prime check to int 2021-07-20 00:50:10 +01:00
1cc2300e83
Update BooleanTests to reflect new API 2021-07-19 12:53:49 +01:00
6f5ec657e8
(#31) Add SonarCloud code coverage 2021-07-19 12:52:20 +01:00
6e6d6c48fb
(#14) Declare using directives outside of namespace 2021-07-19 12:48:58 +01:00
0197d89e48
(#14) (#15) Code cleanup on bool xmldoc 2021-07-19 12:45:54 +01:00
8059b067c9
Remove BetterBehavior and GameTime types 2021-07-19 12:39:07 +01:00
6e4a9882e9
(#32) Add (short/int/long).To(Host/Network)Order
Implementation calls IPAddress.(Host/Network)To(Network/Host)Order
2021-07-19 11:46:38 +01:00
61c122c9ea
(#42) Throw exceptions on invalid string arguments 2021-07-19 11:39:08 +01:00