Warning: CS0252: Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
Source Error:
C:\inetpub\wwwroot\LIVE\COMv8\Views\Partials\ChannelAIDiscoveryPanel.cshtml
|
Line 6: int userid = 0;
Line 7: int? useraccessID = 0;
Line 8: var isLoggin = !(Session["UserID"] == null || Session["UserID"] == string.Empty) ? true : false;
Line 9: try
Line 10: {
|
Warning: CS0168: The variable 'e' is declared but never used
Source Error:
C:\inetpub\wwwroot\LIVE\COMv8\Views\Partials\ChannelAIDiscoveryPanel.cshtml
|
Line 11: Int32.TryParse(Session["UserID"].ToString(), out userid);
Line 12: }
Line 13: catch (Exception e) { }
Line 14:
Line 15: string userStatus = UserRepository.UserStatusSelect(userid);
|
Warning: CS0219: The variable 'useraccessID' is assigned but its value is never used
Source Error:
C:\inetpub\wwwroot\LIVE\COMv8\Views\Partials\ChannelAIDiscoveryPanel.cshtml
|
Line 5:
Line 6: int userid = 0;
Line 7: int? useraccessID = 0;
Line 8: var isLoggin = !(Session["UserID"] == null || Session["UserID"] == string.Empty) ? true : false;
Line 9: try
|