-
Currently discovering the name of an indexer is a somewhat complicated procedure.
1. If the property's declaring type is string then name is Chars.
2. If the property doesn't have an IndexerNameAttrib…
-
**Version Used**: 15.2 (26430.4)
**Steps to Reproduce**:
```csharp
public Foo(T bar)
{
if (bar == null) // Use 'Throw' expression here...
{
throw new ArgumentNullException(nameof(bar))…
-
The existing `nameof` operator is great, but it only returns the name of the leaf node of the path provided.
For example:
``` c#
nameof(ObservableAccount.Customer.BasicInfo.Name);
// evalu…
-
As @dsyme suggested here https://github.com/fsharp/fslang-design/issues/48#issuecomment-227407028, it's much simpler and "the right way" in general to implement the feature in `TypeChecker`, namely in…
-
The “nameof” operator becomes a string constant during compilation instead of execute code to obtain name of code element by using tree expressions or reflection methods. So the introduced operator is…
-
The idea of the memberof operator would be the equivalent to the typeof operator but would operate on fields, methods and properties. This is useful when working with Expression trees and is distinct …
-
The prohibition against constructs that have the form of indexers as the operand of the nameof() operator causes some awkward workarounds to be needed in the case where the name of an item of a member…
-
This is in response to @MadsTorgersen reply on the [.NET blog](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)
> Nothing on design by contract this time around, and I’m…
-
The purpose if this issue is to open discussion about changing coding style - https://github.com/stratisproject/StratisBitcoinFullNode/blob/master/Documentation/coding-style.md
Currently we only as…
-
# C# Language Design Notes for May 10
In this meeting we took a look at the possibility of adding new kinds of extension members, beyond extension methods.
## Extension members
Ever since we added e…