Skip to content

Commit de20ce5

Browse files
committed
build issues
1 parent f4b71e2 commit de20ce5

File tree

1 file changed

+2
-2
lines changed
  • docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods

1 file changed

+2
-2
lines changed

docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ void Struct_Test2() { }
171171
public partial class Container
172172
{
173173
// Defining declaration
174-
public int MyProperty { get; set; }
174+
public partial int MyProperty { get; set; }
175175
}
176176

177177
// In file2.cs
178178
public partial class Container
179179
{
180180
// Defining declaration
181-
public int MyProperty { get => field; set; }
181+
public partial int MyProperty { get => field; set; }
182182
}
183183

184184
// </FieldProperty>

0 commit comments

Comments
 (0)