/// <summary>
        /// Compares two <see cref="SourceFile"/> by its <see cref="FullName"/>
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public bool Equals(SourceFileBase other)
        {
            if (other == null)
            {
                return(false);
            }

            return(string.Equals(FullName, other.FullName, StringComparison.OrdinalIgnoreCase));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Compares two <see cref="SourceFile"/> by its <see cref="FullName"/>
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public bool Equals(SourceFileBase other)
        {
            if (other == null)
                return false;

            return string.Equals(FullName, other.FullName, StringComparison.OrdinalIgnoreCase);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Compares two <see cref="SourceFile"/> by its <see cref="FullName"/>
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(SourceFileBase other)
 {
     return string.Compare(FullName, other.FullName, StringComparison.OrdinalIgnoreCase);
 }
 /// <summary>
 /// Compares two <see cref="SourceFile"/> by its <see cref="FullName"/>
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public int CompareTo(SourceFileBase other)
 {
     return(string.Compare(FullName, other.FullName, StringComparison.OrdinalIgnoreCase));
 }