Skip to content

Bug in docs? #53560

@LWChris

Description

@LWChris

Could it be that this comment is supposed to be // Implementing declaration?

171  // <FieldProperty>
172  // in file1.cs
173  public partial class PropertyBag
174  {
175      // Defining declaration
176      public partial int MyProperty { get; set; }
177  }
178
179  // In file2.cs
180  public partial class PropertyBag
181  {
182      // Defining declaration
183      public partial int MyProperty { get => field; set; }
184  }
185
186  // </FieldProperty>

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions