We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b71e2 commit de20ce5Copy full SHA for de20ce5
docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/Program.cs
@@ -171,14 +171,14 @@ void Struct_Test2() { }
171
public partial class Container
172
{
173
// Defining declaration
174
- public int MyProperty { get; set; }
+ public partial int MyProperty { get; set; }
175
}
176
177
// In file2.cs
178
179
180
181
- public int MyProperty { get => field; set; }
+ public partial int MyProperty { get => field; set; }
182
183
184
// </FieldProperty>
0 commit comments