dotnet / csharplang

The official repo for the design of the C# programming language
11.61k stars 1.03k forks source link

Champion "Auto-Implemented Property Field-Targeted Attributes" (15.7) #42

Open gafter opened 7 years ago

gafter commented 7 years ago

This feature intends to allow developers to apply attributes directly to the backing fields of auto-implemented properties.

[field: SomeAttribute]
public int { get; set; }

Roslyn tracking issue: https://github.com/dotnet/roslyn/issues/22512

gafter commented 2 years ago

Specification in progress at https://github.com/dotnet/csharpstandard/pull/262