Esempio n. 1
0
 internal MetadataLocation(
     IBinaryDocument binaryDocument,
     TableIndices tableIndex,
     uint rowId
     )
 {
     this.binaryDocument = binaryDocument;
     this.tableIndex     = tableIndex;
     this.rowId          = rowId;
 }
Esempio n. 2
0
 internal void AddMetadataError(
     TableIndices tableIndex,
     uint rowId,
     MetadataReaderErrorKind errorKind
     )
 {
     foreach (MetadataReaderErrorMessage errMessage in this.ErrorList.GetValuesFor((uint)errorKind))
     {
         MetadataLocation /*?*/ mdLocation = errMessage.Location as MetadataLocation;
         if (mdLocation == null)
         {
             continue;
         }
         if (mdLocation.rowId == rowId && mdLocation.tableIndex == tableIndex)
         {
             return;
         }
     }
     this.AddMetadataReaderErrorMessage(new MetadataReaderErrorMessage(this.MetadataReader.ErrorsReporter, new MetadataLocation(this.BinaryDocument, tableIndex, rowId), errorKind));
 }
Esempio n. 3
0
     internal MetadataLocation(
   IBinaryDocument binaryDocument,
   TableIndices tableIndex,
   uint rowId
 )
     {
         this.binaryDocument = binaryDocument;
           this.tableIndex = tableIndex;
           this.rowId = rowId;
     }
Esempio n. 4
0
     internal void AddMetadataError(
   TableIndices tableIndex,
   uint rowId,
   MetadataReaderErrorKind errorKind
 )
     {
         foreach (MetadataReaderErrorMessage errMessage in this.ErrorList.GetValuesFor((uint)errorKind)) {
         MetadataLocation/*?*/ mdLocation = errMessage.Location as MetadataLocation;
         if (mdLocation == null) {
           continue;
         }
         if (mdLocation.rowId == rowId && mdLocation.tableIndex == tableIndex) {
           return;
         }
           }
           this.AddMetadataReaderErrorMessage(new MetadataReaderErrorMessage(this.MetadataReader.ErrorsReporter, new MetadataLocation(this.BinaryDocument, tableIndex, rowId), errorKind));
     }