internal static bool IsWellFormed(ObjRef objectRef)
{
bool result = true;
if (objectRef == null || objectRef.URI == null || (!objectRef.IsWellKnown() && !objectRef.IsObjRefLite() && !(objectRef.GetType() != ObjRef.orType) && objectRef.ChannelInfo == null))
{
result = false;
}
return(result);
}