예제 #1
0
 public ModuleMetadata(Stream byteStream, MetadataCache<AssemblyMetadata> assemblyCache)
     : base(byteStream)
 {
     FilePath = byteStream.DeserializeString();
     AssemblyId = byteStream.DeserializeUint32();
     Assembly = assemblyCache[AssemblyId];
 }
예제 #2
0
 public ClassMetadata(Stream byteStream, MetadataCache<ModuleMetadata> moduleCache)
     : base(byteStream)
 {
     Contract.Ensures(moduleCache != null);
     Name = byteStream.DeserializeString();
     IsGeneric = byteStream.DeserializeBool();
     ModuleId = byteStream.DeserializeUint32();
     Module = moduleCache[ModuleId];
 }
예제 #3
0
 public AssemblyMetadata(Stream byteStream)
     : base(byteStream)
 {
     Name = byteStream.DeserializeString();
     IsProfilingEnabled = byteStream.DeserializeBool();
 }