MZ-Tools Articles Series: BUG: EnvDTE.CodeFunction.Parameters causes COM Exception with C# event add/remove methods in Visual Studio macros or add-ins

July 26, 2009

And yet another bug in the file code model of C# that happens with events: BUG: EnvDTE.CodeFunction.Parameters causes COM exception with C# event add/remove methods in Visual Studio macros or add-ins: http://www.mztools.com/articles/2009/MZ2009019.aspx Curiously this didn’t happen with VS.NET 2002/2003 when CodeEvent didn’t exist (it was introduced as EnvDTE80.CodeEvent in VS 2005) and C# events were […]


MZ-Tools Articles Series: BUG: EnvDTE.CodeFunction.Attributes doesn’t work with C# property get/set methods in Visual Studio macros or add-ins

July 26, 2009

Another bug of the file code model for C#: BUG: EnvDTE.CodeFunction.Attributes doesn’t work with C# property get/set methods in Visual Studio macros or add-ins http://www.mztools.com/articles/2009/MZ2009018.aspx It happens too in VS 2010 Beta 1, I have reported it to Microsoft. Hopefully it can get fixed.