public override bool Equals(object aObject) { if (aObject != null && aObject is SymbolCollection) { SymbolCollection col = (SymbolCollection)aObject; bool ret = (col.FileName == this.FileName); return(ret); } // return(base.Equals(aObject)); }
internal static Symbol NewTemp( SymbolCollection aCollection, uint aAddress ) { Symbol ret = new Symbol( aCollection ); // ret.Size = 0; ret.OffsetAddress = aAddress - aCollection.BaseAddress; ret.iName = InternedName.NewExplicit( "TempInternal" ); ret.Object = "TempInternal"; // return ret; }
internal static Symbol NewDefault( SymbolCollection aCollection ) { Symbol ret = new Symbol( aCollection ); // ret.IsDefault = true; ret.Size = 0; ret.OffsetAddress = SymbolConstants.KNullEntryAddress; ret.Object = SymbolConstants.KNonMatchingObjectName; ret.iName = InternedName.NewExplicit( SymbolConstants.KNonMatchingInternedName ); // return ret; }
public int CompareTo(SymbolCollection aCollection) { int ret = (aCollection.FileName == this.FileName) ? 0 : -1; // if (ret == 0) { if (BaseAddress == aCollection.BaseAddress) { ret = 0; } else if (BaseAddress > aCollection.BaseAddress) { ret = 1; } else { ret = -1; } } // return(ret); }
public static SymbolCollection NewByHostFileName(IPlatformIdAllocator aIdAllocator, string aFileName) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aFileName); return(ret); }
public static SymbolCollection NewCopy(IPlatformIdAllocator aIdAllocator, SymbolCollection aCollection) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aCollection); return(ret); }
public static SymbolCollection New(IPlatformIdAllocator aIdAllocator, string aFileNameInHost, string aFileNameInDevice) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aFileNameInHost, aFileNameInDevice); return(ret); }
internal static Symbol NewClone( SymbolCollection aCollection, Symbol aSymbol ) { return new Symbol( aCollection, aSymbol ); }
public static Symbol New( SymbolCollection aCollection ) { return new Symbol( aCollection ); }
public AddressCollectionPair(AddressRange aRange, SymbolCollection aCollection) { iRange = aRange; iCollection = aCollection; }