Commit Graph

4602 Commits

Author SHA1 Message Date
Brandon Thetford
8d581f24d7 Seal this 2024-02-20 17:20:54 -07:00
Brandon Thetford
4f8b272240 Remove unnecessary cast and use real type name 2024-02-20 17:20:54 -07:00
Brandon Thetford
39a66bf5c4 Turn on null analysis here 2024-02-20 17:20:54 -07:00
Brandon Thetford
76b247a9b3 Avoid some potential boxing 2024-02-20 17:20:54 -07:00
Brandon Thetford
6865391bd1 Combine to one non-destructive mutation 2024-02-20 17:20:54 -07:00
dodexahedron
deaa7563fc This is already a value copy (struct) 2024-02-20 17:20:54 -07:00
Brandon Thetford
0fb31d19f7 Inline to avoid copies 2024-02-20 17:20:54 -07:00
dodexahedron
1e05e24998 Fix naming 2024-02-20 17:20:54 -07:00
Brandon Thetford
e7fdd4c5a1 Collection expression 2024-02-20 17:20:54 -07:00
Brandon Thetford
b4795c722a Split to one type per file 2024-02-20 17:20:54 -07:00
Brandon Thetford
63eafaa03f Global usings 2024-02-20 17:20:54 -07:00
Brandon Thetford
2ecf55b025 Sort dependencies alphabetically and update 2024-02-20 17:20:54 -07:00
Brandon Thetford
6f7af499da Put InternalsVisibleTo in its own group 2024-02-20 17:20:54 -07:00
Brandon Thetford
71f0db1cb7 Make sure any constants defined at higher levels are not clobbered and define a couple more 2024-02-20 17:20:54 -07:00
Brandon Thetford
242a62987a Move the general properties up top because order matters 2024-02-20 17:20:54 -07:00
Brandon Thetford
f57ec92b15 Add detail to this property's XmlDoc 2024-02-20 17:20:54 -07:00
Brandon Thetford
05d41bc21c Make this more efficient 2024-02-20 17:20:54 -07:00
Brandon Thetford
1360c4747b With the WMI method gone, we no longer need this 2024-02-19 04:31:47 -07:00
Brandon Thetford
776044b716 Remove this method and its test
It is unused
There's no guarantee at all that the parent process is the terminal.
There are good reasons, including that one, why there's no simple way to do it in .net.
It's also of course a windows-only thing, if using WMI.
2024-02-19 04:31:47 -07:00
Brandon Thetford
b2c05221bd Turn this into a constant via use of a unicode literal 2024-02-19 04:31:47 -07:00
Brandon Thetford
278af5a55a This is a constant 2024-02-19 04:31:47 -07:00
Brandon Thetford
fcfc7245f1 Add a tag for unclear intent 2024-02-19 04:31:47 -07:00
Brandon Thetford
1bc3595d0e Make this string comparison faster. 2024-02-19 04:31:47 -07:00
Brandon Thetford
24aefb9ad9 Add PERF, NOTE, QUESTION, and CONCURRENCY tags for the todo explorer 2024-02-19 04:31:47 -07:00
Brandon Thetford
cf2ffef85b Make CI build happy by disambiguiating this attribute 2024-02-16 16:09:18 -07:00
Brandon Thetford
e7b228a2c8 Fix for reflection-based configuration 2024-02-16 16:05:03 -07:00
Brandon Thetford
3cd0832cb0 Implement INotifyCollectionChanged and IDictionary by delegating to ColorSchemes 2024-02-15 19:49:09 -07:00
Brandon Thetford
e4024a5fc3 Simplify the type initializer and Reset method 2024-02-15 19:06:48 -07:00
Brandon Thetford
c0a838113c Remove unused class 2024-02-15 19:06:19 -07:00
Brandon Thetford
74c8920f32 record struct already does this by value 2024-02-15 19:05:26 -07:00
Brandon Thetford
37b58afc39 Missed a couple of opportunities for reference passing 2024-02-15 19:05:03 -07:00
Brandon Thetford
d8a9f0f9a0 Mark this ignored just in case 2024-02-15 18:54:56 -07:00
Brandon Thetford
17a565ed74 Simplify GetHashCode 2024-02-15 18:53:25 -07:00
Brandon Thetford
486582f985 Simplify constructor 2024-02-15 18:53:08 -07:00
Brandon Thetford
1e5c5b3c10 This should be a property 2024-02-15 18:52:55 -07:00
Brandon Thetford
e4350c6143 Simplify this constructor 2024-02-15 18:50:25 -07:00
Brandon Thetford
f5ead8b54e Remove unused internal constructor and its test
It was only used by that test.
2024-02-15 18:48:40 -07:00
Brandon Thetford
79997cea06 Turn this into a record struct 2024-02-15 18:42:17 -07:00
Brandon Thetford
4e391e3017 Carry reference passing through as appropriate 2024-02-15 18:42:00 -07:00
Brandon Thetford
166930101a Simplify this 2024-02-15 18:38:14 -07:00
Brandon Thetford
2d2b04b57e Reference passing to avoid some struct copies 2024-02-15 18:37:49 -07:00
Brandon Thetford
fa38c9a5f6 Make this a record type and remove now-redundant/illegal members 2024-02-15 18:35:28 -07:00
Brandon Thetford
a5e009c76b Rename these files so they nest in the solution explorer 2024-02-15 18:34:27 -07:00
Brandon Thetford
6305b03420 Move class to its own file 2024-02-15 18:33:02 -07:00
Brandon Thetford
9ff8030bbb Annotate constructor properly and use throw helper 2024-02-15 18:29:45 -07:00
Brandon Thetford
6f3d0aac6f Declare interface these already support 2024-02-15 18:24:14 -07:00
Brandon Thetford
8727a5fa0b Fix release configuration tests 2024-02-14 02:13:49 -07:00
Brandon Thetford
7bce9bf68a Split these up and dispose properly
This test needs to be revisited for several reasons at some point.
2024-02-14 02:13:05 -07:00
Brandon Thetford
cf34cdd41b Wrap these in conditionals since they break tests against Release configuration
The members they depend on do not exist in Release configuration
2024-02-14 01:11:25 -07:00
Brandon Thetford
142b621395 Replace 354 != null with is { } 2024-02-14 00:47:44 -07:00