Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3398526
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:39:37+00:00 2026-05-18T04:39:37+00:00

Mono is throwing the warning: warning CS0414: The private field ‘Convergence.Core.Services.PermissionService.userService’ is assigned but

  • 0

Mono is throwing the warning:

warning CS0414: The private field 'Convergence.Core.Services.PermissionService.userService' is assigned but its value is never used

Which is strange, since it is most certainly used:

For instance:

var systemRoles = (
    from e 
    in systemRoleRepository.Entities 
    where e.User.Username.Equals(userService.CurrentUser.Username)
    select e
).ToList();

(The where clause makes use of userService).

The object is the same object that the compiler is comlaining about, and is declared as:

private readonly IUserService userService;

To determine that it is in fact being used, if I comment out the declaration, the Mono compiler throws and error on that LINQ query saying userService isn’t declared.

Am I missing something really really obvious, or is this a bug in the mono compiler (dmcs on 2.8.1 on RHEL 5.5 by the way).

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:39:37+00:00Added an answer on May 18, 2026 at 4:39 am

    This is almost certainly a bug. Please file it at Novell’s bug tracker.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Mono seems to support .NET 3.5 only, but does that mean I cannot run
I have the newest Mono , MonoDevelop and MonoTouch as of this moment, but
Mono works fine with my app, but when I try to compile a function
Mono touch can make C# compile on iOS and android But why there is
The Mono.GetOptions package has been made obsolete, but doesn't seem to have anything to
I have a Mono application that should not show on the dock, but will
Hi i'm using Embedded Mono with NaCl. Everything is working so far but idk
Mono's C# REPL has on its page this bit of info: A GUI version
Mono is really awesome. Some of our applications worked in linux out of the
mono : Is remote debugging possible with monodevelop? I want to remote debug a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.