protected override PropertyBuilder ExecuteBuild() { Field = new ProxyFieldGnerator($"_{PropertyName}", PropertyType, DeclaringMember); Field.Build(); return(base.ExecuteBuild()); }
protected override void GeneratingMethodBody(ILGenerator ilGenerator) { ilGenerator.EmitThis(); ilGenerator.Emit(OpCodes.Ldfld, field.Build()); ilGenerator.Emit(OpCodes.Ret); }