This is the built-in behavior for the VB.NET compiler. This sample class runs it:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class Class1
Public Sub New()
'' Warning BC40054 generated here
End Sub
End Class
. , , , .