I have the following code:
using System;
using System.Collections;
using System.Security;
using System.Security.Principal;
public class SystemPrincipal : IPrincipal {
private IIdentity _identity;
private StringTable _roles;
public SystemPrincipal(IIdentity id, StringTable roles) {
_identity = id;
_roles = roles;;
}
public IIdentity Identity {
get { return _identity; }
}
public bool IsInRole(String role) {
bool result = false;
if (null != _roles) {
result = _roles.Contains(role);
}
return result;
}
}
I want to see the definition of IIdentity or StringTable so I right click and choose goto definition but I get "cannot naviate to" IIdentity or StiringTable.
Based on a google soultion I rebuilt the project but that did not solve the issue.