• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Help Visual Studio

Initiate Mage
Joined
Mar 18, 2017
Messages
3
Reaction score
0
Yes !

Message :

Severity Code Description Project File Line Delete statusError CS0050 Inconsistent accessibility: Return type 'GroupingForumManager' is less accessible than the 'Game.GetGroupForumManager ()' method More Emulator C: \ Users \ norma \ Desktop \ repack \ More Emulator Updated \ HabboHotel \ Game.cs 163 Active
Severity Code Description Project File Line Delete statusError CS0050 Inconsistent accessibility: Return type 'GroupingForumManager' is less accessible than the 'Game.GetGroupForumManager ()' method More Emulator C: \ Users \ norma \ Desktop \ repack \ More Emulator Updated \ HabboHotel \ Game.cs 163 Active
 
Upvote 0
Experienced Elementalist
Joined
Jul 31, 2012
Messages
268
Reaction score
100
Aha,
You're trying to return an instance of the GroupManager class from a public method and the GroupManager class doesn't seem to be public, probably internal.
E.g:
Code:
[B]internal class GroupManager[/B]
should be
[B]public class GroupManager[/B]
 
Upvote 0
Joined
Apr 17, 2012
Messages
508
Reaction score
77
This is simple you're class which you're returning is "Less accessible" then your method.

Example:

Class GroupForumManager -> private
Method GetGroupForumManager() -> public

The class which you're returning must always be equally accessible or more accessible then the method which is returning that class.
 
Upvote 0
Back
Top