Replacing Microsoft.VisualBasic.CompilerServices.DesignerGenerated ()

I am converting a VB.NET project in C #. After the conversion, I still have some unresolved issues that I have to deal with. One of them is the attribute on the left compared to the DesignerGenerated () attribute.

[Microsoft.VisualBasic.CompilerServices.DesignerGenerated ()]

inner partial class Tags: ServiceBase {

...

I don't want to just reference the VisualBasic assembly to make this code happy. I do not want a reminder of the VB period. Therefore, I do not know how to replace this attribute with the equivilant attribute of C # here. It looks like this DesignerGenerated () is only used in VB.NET, so I'm not sure how to enable this and convert it to the C # equivalent.

+5
source share
2

VB.NET . . , .

.

+6

. VB.NET

0

All Articles