src/Shared/EntityFramework/Core/Mapping/CompressingHashBuilder.cs
// <summary>
// add string like "typename Instance#1"
// </summary>
add string like "typename Instance#1"
add string like " typename Instance#1 "
internal void AppendObjectStartDump(object o, int objectIndex)
        {
            base.Append(string.Empty.PadLeft(SpacesPerIndent * _indent, ' '));
            string typeName;
            if (!_legacyTypeNames.TryGetValue(o.GetType(), out typeName))
            {
                typeName = o.GetType().ToString();
            }
            base.Append(typeName);
            base.Append(" Instance#");
            base.AppendLine(objectIndex.ToString(CultureInfo.InvariantCulture));
            CompressHash();
            _indent++;
        }
internal void AppendObjectStartDump ( object o , int objectIndex ) { base . Append ( string . Empty . PadLeft ( SpacesPerIndent * _indent , ' ' ) ) ; string typeName ; if ( ! _legacyTypeNames . TryGetValue ( o . GetType ( ) , out typeName ) ) { typeName = o . GetType ( ) . ToString ( ) ; } base . Append ( typeName ) ; base . Append ( " " ) ; base . AppendLine ( objectIndex . ToString ( CultureInfo . InvariantCulture ) ) ; CompressHash ( ) ; _indent ++ ; }
add string like "typename Instance#1"
add string like " typename Instance#1 "
o
object
objectIndex
int