-
Regarding this feature: https://github.com/Fody/PropertyChanged/wiki/On_PropertyName_Changed
Instead of looking for a method with the correct name, it would be useful to be able to declare it using…
-
For now:
```
// it's legal code
public const string S = nameof(S);
public void Method() {
//this is not
var _s = nameof(_s);
}
```
In second case it fail with "Cannot use local variable '…
-
Currently, the way to control "emit" from F# is with the `Emit` attribute. The problem with this is that `Emit` is string-based, and based on JS, which is likely to be error prone. As an alternative t…
-
## Problem
I should be able to use the **nameof** operator to refer to the current class and/or method in a way that enables me to copy/paste that same statement from one class/method to a complete…
-
### Source/destination types
```csharp
public class ShouldSerializeNonPublicMethodClass
{
public bool Value { get; set; }
private bool ShouldSerializeValue() => Value;
}
```
### …
-
Hello,
I'm trying to use this project, however, when I download the whole thing and I try to use the sample project, it doesn't work out of the box. I wanted to make a suggestion for the sample pr…
-
## Background
C# 7.0 lets you do this:
```cs
public Person(string firstName, string lastName)
{
_firstName = firstName ?? throw new ArgumentNullException(nameof(firstName));
_lastNam…
-
# C# Design Meeting Notes for Jan 21, 2015
Quotes of the day:
> Live broadcast of design meetings: we could call it C#-SPAN
>
> We've made it three hours without slippery slopes coming up!
## Agen…
-
# V1
Checked: Review Complete
**Bold** : Active Work
`Grey` : Task Completed
- [x] https://github.com/dotnet/roslyn/issues/18246: `Refactor & Decide on interface versus abstract type` (Decis…
-
This proposal addresses scenario #135 and is an alternative to proposals #136 and #43.
People who request #136 (a `Dynamic` type in VB) usually do so because they prefer to use `Option Strict On` b…