← Back to team overview

linux-traipu team mailing list archive

[Bug 634556] Re: Compiler error CS0843 when built against mono-2.8

 

** Changed in: do
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of UBUNTU -
AL, which is subscribed to Do.
https://bugs.launchpad.net/bugs/634556

Title:
  Compiler error CS0843 when built against mono-2.8

Status in Do:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/do/+bug/634556/+subscriptions