Skip to content

Commit f46dddf

Browse files
committed
name conflict
1 parent 2cabf9f commit f46dddf

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
@@ -168,14 +168,14 @@ void Struct_Test2() { }
168168

169169
// <FieldProperty>
170170
// in file1.cs
171-
public partial class Container
171+
public partial class PropertyBag
172172
{
173173
// Defining declaration
174174
public partial int MyProperty { get; set; }
175175
}
176176

177177
// In file2.cs
178-
public partial class Container
178+
public partial class PropertyBag
179179
{
180180
// Defining declaration
181181
public partial int MyProperty { get => field; set; }

0 commit comments

Comments
 (0)