-
I understand to get the string name of an Enum I can do:
```
MyModule.MyEnum[MyModule.MyEnum.Foo]
```
However it would be neat/more concise to support something like C#'s `nameof` operator:
```
nam…
-
```
Filters = new IFilter[]
{
new Filter
{
Field = nameof(Student.ClassId),
Operator = FilterOperator.Equal,
Value = new [] { 1, 2, 3 },
Logic = FilterL…
-
I just found following code snippet on https://msdn.microsoft.com/en-us/magazine/dn802602.aspx that lead me to the idea of a null-conditional (yield) return statement.
```cs
public static IEnumerabl…
-
# Select TypeOf Blocks
This is follows the same syntax as a `Select Case` block
If we take this [code sample](https://github.com/dotnet/roslyn/blob/160c4098fa90cff36fadad616eab2ae967ad2563/src/Vis…
-
Write a test plan for "ref readonly", "readonly structs", "ref and ref readonly extensions" and "ref ternary"
## LDM
- [x] remove `in` syntax from initial release? ([merged](https://github.com/dot…
jcouv updated
5 years ago
-
Both C# and VB have support for iterator methods and for async methods, but no support for a method that is both an iterator and async. Its return type would presumably be something like `IObservable`…
-
I have been looking at dependency injection and a few issues with refactoring in regards to `_.pluck`. One of the primary things I run into is that I want these things to enforce the interface for re…
-
- #2671 Allow omitted elements in tuple type annotations
- #1579 `nameof` operator
- #3802 Allow merging classes and modules across files
- #2957 Reopen static and instance side of classes
- #7285 All…
-
I'm playing with F#'s quotation feature recently, and I find it's really powerful because we can create a lambda function based on expression tree and eval it to a real function, this is much like mac…
-
As originally reported by @nathan-alden in #5532:
The forced authentication abstraction (requirements, policies) eliminated a very useful shared custom authorization attribute I had written that al…