public IdentificationResult CompareTo(IMetadataIdentifier other)
 {
     if (other != null)
     {
         if (other is MetadataIdentifier)
         {
             if (this.Version.CompareTo(other.Version) == 0)
             {
                 if ((string.Compare(this.Type, other.Type, true) == 0) && (string.Compare(this.Value, other.Value, true) == 0) && (this.Version.CompareTo(other.Version) == 0))
                 {
                     return(IdentificationResult.Match);
                 }
                 else
                 {
                     return(IdentificationResult.IdMismatch);
                 }
             }
             else
             {
                 return(IdentificationResult.VersionMismatch);
             }
         }
         else
         {
             return(IdentificationResult.TypeMismatch);
         }
     }
     else
     {
         return(IdentificationResult.None);
     }
 }
		public IdentificationResult CompareTo(IMetadataIdentifier other)
		{
			if (other != null)
			{
				if (other is MetadataIdentifier)
				{
					if (this.Version.CompareTo(other.Version) == 0)
					{
						if ((string.Compare(this.Type, other.Type, true) == 0) && (string.Compare(this.Value, other.Value, true) == 0) && (this.Version.CompareTo(other.Version) == 0))
							return IdentificationResult.Match;
						else
							return IdentificationResult.IdMismatch;
					}
					else return IdentificationResult.VersionMismatch;
				}
				else return IdentificationResult.TypeMismatch;
			}
			else return IdentificationResult.None;
		}