1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

fix up indentation, its not perfect but its close and consistent

This commit is contained in:
Kevin Glynn 2011-02-21 16:40:42 +01:00
parent b6d57d4bd2
commit f1db436236

View File

@ -18,7 +18,7 @@ using Twiglet.CS2J.Translator.Utils;
// We have overloaded Equals to test value equality for these template objects. For now its only
// used by unit tests (to check that the object survives xml serialization / deserialization
// unscathed). But it might be useful down the road.
// By overloading Equals, we also have to overload GetHashcode (well, its highly reccomended)...
// By overloading Equals, we also have to overload GetHashCode (well, its highly reccomended)...
namespace Twiglet.CS2J.Translator.TypeRep
{
@ -1406,8 +1406,6 @@ namespace Twiglet.CS2J.Translator.TypeRep
}
// Base Template for classes, interfaces, enums, etc.
[Serializable]
public abstract class TypeRepTemplate : TranslationBase, IEquatable<TypeRepTemplate>
@ -1582,6 +1580,7 @@ namespace Twiglet.CS2J.Translator.TypeRep
{
Casts.Add(new CastRepTemplate(c));
}
if (copyFrom.Inherits != null)
{
len = copyFrom.Inherits.Length;
@ -2786,7 +2785,6 @@ namespace Twiglet.CS2J.Translator.TypeRep
return hashCode;
}
#endregion
}
[XmlType("Class")]
@ -3075,12 +3073,8 @@ namespace Twiglet.CS2J.Translator.TypeRep
}
#endregion
}
[XmlType("Struct")]
public class StructRepTemplate : ClassRepTemplate, IEquatable<StructRepTemplate>
{
@ -3146,9 +3140,6 @@ namespace Twiglet.CS2J.Translator.TypeRep
return base.GetHashCode ();
}
#endregion
}
[XmlType("UnknownType")]