1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:58:48 +00:00
Commit Graph

216 Commits

Author SHA1 Message Date
c4e890f2cb Explicitly validate arguments
Delegating validation to another class caused warnings due to the
compiler not being aware of the null check
2021-03-07 18:15:58 +00:00
9bcd1eabce (#7) Move CharExtensions to child namespace
- Deprecate Random methods in favour of RandomExtensions methods
2021-03-07 18:09:27 +00:00
163b304ad1 Do not aggressively inline methods 2021-03-07 18:06:28 +00:00
3bceffb4cf Add solution-wide items to sln instead of csproj 2021-03-07 18:04:52 +00:00
905bad1ffa (#14) Remove whitespace on line spacing 2021-03-07 18:02:32 +00:00
937d701d14 Remove ruleset and unused analyzers 2021-03-07 18:00:17 +00:00
7c4ad9993e Enforce 130 character length limit 2021-03-07 17:55:11 +00:00
c0425d0afd Add spacing between method declarations 2021-03-07 17:52:02 +00:00
9ebff198a0 (#33) Add Random.NextDouble(double, double) 2021-03-07 16:00:54 +00:00
34cead7e02 Add Random.NextString(IReadOnlyList<char>, int) 2021-03-07 14:20:30 +00:00
a401aabee8 Add Random.Next<T>() where T : Enum 2021-03-07 14:20:01 +00:00
fc96840e9d (#15) Remove "returns" from <returns> 2021-03-07 14:14:14 +00:00
4ff9cb4405 (#15) Surround possible return values with <para> 2021-03-07 12:04:46 +00:00
01a2df21d4 Remove SuppressMessage from ToGetParameters 2021-03-07 12:03:24 +00:00
6bc60d2a3a (#15) Indent </code> in XMLdoc for Random<T> 2021-03-07 12:01:37 +00:00
f073c13f03 (#7) (#15) IEnumerable<byte> -> IROList<byte>
- GetString renamed to ToString
- No longer has optional Encoding parameter
2021-03-07 11:56:52 +00:00
4d31eee600 (#28) (#29) Use Span where possible
- Delegate argument validation to Validate class
- Fix ReadDecimal
- Add Write(decimal)
2021-03-06 17:27:34 +00:00
88244def34 (#7) Move Int64Extensions to child namespace 2021-03-04 01:37:02 +00:00
f2b37962d6 (#7) Move Int16Extensions to child namespace 2021-03-04 01:36:35 +00:00
39dd2158de (#7) Move Int32Extensions to child namespace 2021-03-04 01:35:59 +00:00
ab08b1c1c0 (#7) Move EnumerableExtensions to child namespace 2021-03-03 23:06:10 +00:00
36710253c4 (#31) Fix center-alignment on badges 2021-03-03 22:29:43 +00:00
d8263c44dd (#31) Reduce spacing between badges 2021-03-03 22:28:36 +00:00
7444f59093 (#31) Fix formatting on tagline
HTML encapsulation requires HTML formatting
2021-03-03 22:27:09 +00:00
48c2a678fc (#31) Fix center alignment
As attempted by 8fb0447dde
2021-03-03 22:25:56 +00:00
21f8e090f6 (#31) Revert back to default shield style 2021-03-03 22:21:56 +00:00
8fb0447dde (#31) Center-align header and shields 2021-03-03 22:19:59 +00:00
732e29b1c5 (#31) Single-line title and subtitle
Add a tagline
2021-03-03 22:19:31 +00:00
6f963c748b (#31) Use for-the-badge style shields 2021-03-03 22:16:32 +00:00
7e41eb6119 (#31) Add Unity installation instructions 2021-03-03 22:15:08 +00:00
35175807a3 Update contribution guidelines
- Use C# 9 (instead of C# 8)
- Removed Rozlynator and StyleCop analysers
- Update line length to 130
- using directives now go outside namespace
- Enforce US english
- Enforce braces for single statements
- Implicit type where appropriate
2021-03-03 21:59:43 +00:00
463a18ee9b Update copyright year to 2021 2021-03-03 21:53:31 +00:00
1a5b7242a6 (#14) Do not use this. qualification 2021-03-03 21:52:23 +00:00
3a46d58210 (#28) Use bit manipulation for ReadDecimal
Array.Copy is slightly more inefficient than direct bit shift
2021-03-03 19:09:20 +00:00
34ee60437b (#28) Add floating point read support
Introduces:
- ReadDecimal([Endianness])
- ReadDouble([Endianness])
- ReadSingle([Endianness])
2021-03-03 18:39:38 +00:00
ba71f814c0 (#15) (#28) Fix xmldoc wording for Read methods
Methods previously read "Writes [...] to" instead of "Reads [...] from"
2021-03-03 18:37:43 +00:00
e7ba24aa69 Mark ReadUInt* methods with CLSCompliantAttribute 2021-03-03 17:51:30 +00:00
e0b19aff99 (#15) Match Read documentation with Write methods 2021-03-03 16:05:57 +00:00
1ca85cc3cd (#28) (#29) Add missing exception resources 2021-03-03 14:50:48 +00:00
99fd511714 (#28) (#29) BinaryReader/Writer Stream extensions
Introduces type:
- Endianness

Introduces Read methods:
- ReadInt16
- ReadInt32
- ReadInt64
- ReadUInt16
- ReadUInt32
- ReadUInt64

Introduces Write methods:
- Write(short)
- Write(int)
- Write(long)
- Write(ushort)
- Write(uint)
- Write(ulong)

Introduces internal "Util" class to provide internal-only helper methods
- SwapIfNeeded (reverse a buffer on Endianness mismatch)
2021-03-03 14:46:24 +00:00
ef9dc29e42 (#7) Move StreamExtensions to child namespace 2021-03-03 14:41:15 +00:00
8e70823241 #30 Use .NET Core gitignore
https://github.com/dotnet/core/blob/main/.gitignore
2021-03-03 14:32:00 +00:00
afaacb13e5 (#27) Move exception messages to resource file 2021-03-01 13:41:08 +00:00
8e763667d0 (#7) Move EnumerableExtensions to child namespace 2021-03-01 13:37:32 +00:00
2ae1c3e249 🚚 Move EndPointExtensions to child namespace 2021-01-20 22:13:40 +00:00
9db0249790 Use IEnumerable<KeyValuePair<>> over Dictionary
Also relocate to child namespace.

Resolves #8 and is item for #7
2021-01-18 22:02:58 +00:00
31d1dc21df Add DateTimeOffsetExtensions
Supersedes DateTimeExtensions. Resolves #26
2021-01-18 21:01:02 +00:00
31e4574732 🚚 Move RandomExtensions to child namespace
Item for #7
2021-01-18 17:00:40 +00:00
28f46ecc8d Type/MemberInfo extension parity
Also resolves #25
2021-01-18 16:55:43 +00:00
f980ade3a8 🚚 Move ReflectionExtensions to child namespace
Item for #7
2021-01-18 16:38:36 +00:00