예제 #1
0
 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;
 }
예제 #2
0
 public PInvokeImplementation(string moduleName, string importName, PInvokeImplementationAttributes attributes)
     : this(new ModuleReference(moduleName), importName, attributes)
 {
 }