Example #1
0
        internal NativeFormatType(NativeFormatMetadataUnit metadataUnit, TypeDefinitionHandle handle)
        {
            _handle       = handle;
            _metadataUnit = metadataUnit;

            _typeDefinition = metadataUnit.MetadataReader.GetTypeDefinition(handle);
            _module         = metadataUnit.GetModuleFromNamespaceDefinition(_typeDefinition.NamespaceDefinition);

            _baseType = this; // Not yet initialized flag

#if DEBUG
            // Initialize name eagerly in debug builds for convenience
            this.ToString();
#endif
        }
Example #2
0
 public override string ToString()
 {
     return("[" + NativeFormatModule.GetName().Name + "]" + this.GetFullName());
 }
Example #3
0
 public NamespaceDefinitionHashtable(NativeFormatModule module, QualifiedScopeDefinition[] scopes)
 {
     _module = module;
     _scopes = scopes;
 }