-
## Suggestion
Enums work in two directions, where an enum property value can be retrieved via `AnEnum.aProperty` and a property name can be retrieved via `AnEnum[aValue]`. In TypeScript 3.4.3, the …
-
_[Edited - reworded for brevity]_
This is a question/proposal about `IMemoryOwner` chain-of-ownership.
The pattern may find utility in current api patterns such as `System.Text.Json`.
### TLDR;
…
-
### Background and motivation
Often it's useful to design datatypes that acts as a wrapper for an enclosed value
Strongly typed identifiers for instance is not directly supported in .NET (asteri…
-
We are using implicit conversion operators in several models, e.g. in `KeyId`
```cs
///
/// An implicit conversion operator for this type from string.
///
…
-
Hello,
I recently came across the following issue while writing benchmarks.
Say I have a benchmark that receives one argument of type `List` through an `ArgumentsSource`, for example:
```csharp
…
-
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Code-Cleanup-always-makes-private-field-/10363205)._
---
When configured to fix EditorC…
-
[ECS0600](https://github.com/rjmurillo/EffectiveCSharp.Analyzers/blob/main/docs/rules/ECS0600.md) triggers in this situation:
```csharp
internal static class WellKnownTypeNames
{
internal co…
-
For whatever reason, ShouldBeNull() is calling GetHashCode on the object in question, which IS null.
```
Stack Trace:
Thread.GetHashCode() line 126
StringHelpers.ToStringAwesomely(Object…
-
Hi!
After some investigation and reading posts on SO I found two ways to serialize DateTimeOffset?
1. Shim properties (working, but does not fit in my case)
2. Surrogates. Not working in my case…
-
- [x] Proposal added
- [x] Discussed in LDM
- [x] Decision in LDM
- [x] Finalized (rejected)
- [ ] Spec'ed
## Summary
For certain kinds of types, `typeof(`...`).FullName` is considered a consta…