public PInvokeImplementation(ModuleReference importScope, string importName, PInvokeImplementationAttributes attributes) : base(null, new MetadataToken(MetadataTokenType.ImplMap), new MetadataRow <ushort, uint, uint, uint>()) { _memberForwarded = new LazyValue <IMemberForwarded>(); _importScope = new LazyValue <ModuleReference>(importScope); _importName = new LazyValue <string>(importName); Attributes = attributes; }
public PInvokeImplementation(string moduleName, string importName, PInvokeImplementationAttributes attributes) : this(new ModuleReference(moduleName), importName, attributes) { }