Do

Compiler error CS0843 when built against mono-2.8

Bug #634556 reported by Andrew Jorgensen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Do
Fix Released
Undecided
Unassigned

Bug Description

When built against mono-2.8 the following error is reported:

Compiling Do.Interface.Linux.Docky.dll...
./src/Docky.Core/Docky.Core.Default/ItemsService.cs(406,29): warning CS0168: The variable `prunedWindows' is declared but never used
./src/Docky.Core/Docky.Core.Default/ItemsService.cs(548,44): warning CS0168: The variable `e' is declared but never used
./src/Docky.Core/Docky.Core.Default/ItemsService.cs(813,54): warning CS0219: The variable `di' is assigned but its value is never used
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.Alignment' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.Context' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.EllipsizeMode' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.LeftCenteredPoint' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.MaximumWidth' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.FontSize' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.Text' must be fully assigned before control leaves the constructor. Consider calling default contructor
./src/Docky.Interface/TextRenderContext.cs(47,17): error CS0843: An automatically implemented property `Docky.Interface.TextRenderContext.WrapMode' must be fully assigned before control leaves the constructor. Consider calling default contructor
Compilation failed: 8 error(s), 3 warnings

A patch to fix these errors is attached.

Revision history for this message
Andrew Jorgensen (ajorg) wrote :
Changed in do:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.