public MetadataFile VisitMetadataFile(MetadataFile_v2 sMetadata) { var typeLib = loader.LoadMetadata(sMetadata.Filename); TypeLibraryLoaded.Fire(this, new TypeLibraryEventArgs(typeLib)); return new MetadataFile { Filename = sMetadata.Filename, ModuleName = typeLib.ModuleName, TypeLibrary = typeLib }; }
public MetadataFile VisitMetadataFile(MetadataFile_v2 sMetadata) { string filename = sMetadata.Filename; return LoadMetadataFile(filename); }