Searched refs:classToBind (Results 1 – 1 of 1) sorted by relevance
58 public NativeBinder(IEmulationElement classToBind, string libraryFile) in NativeBinder() argument67 this.classToBind = classToBind; in NativeBinder()70 …var importFields = classToBind.GetType().GetAllFields().Where(x => x.IsDefined(typeof(ImportAttrib… in NativeBinder()128 … typeBuilder.DefineField(nameof(classToBind), classToBind.GetType(), FieldAttributes.Public); in EnsureWrappersType()143 instanceField = wrappersType.GetField(nameof(classToBind)); in EnsureWrappersType()151 instanceField.SetValue(wrappers, classToBind); in CreateWrappersObject()187 classToBind.NoisyLog("Binding managed -> native calls."); in ResolveCallsToNative()193 … classToBind.NoisyLog(string.Format("(NativeBinder) Binding {1} as {0}.", field.Name, cName)); in ResolveCallsToNative()220 field.SetValue(classToBind, WrapImport(field, innerField)); in ResolveCallsToNative()224 field.SetValue(classToBind, result); in ResolveCallsToNative()[all …]