3 writes to fieldInfo
System.Windows.Forms (3)
winforms\Managed\System\WinForms\BindToObject.cs (3)
96
fieldInfo
= null;
245
fieldInfo
= owner.BindingManagerBase.GetItemProperties().Find(dataField, true);
266
fieldInfo
= null;
17 references to fieldInfo
System.Windows.Forms (17)
winforms\Managed\System\WinForms\BindToObject.cs (17)
94
if (bindingManager != null &&
fieldInfo
!= null && bindingManager.IsBinding && !(bindingManager is CurrencyManager)) {
95
fieldInfo
.RemoveValueChanged(bindingManager.Current, new EventHandler(PropValueChanged));
119
if (
fieldInfo
== null) {
128
text = errorInfo[
fieldInfo
.Name];
142
if (
fieldInfo
!= null) {
143
obj =
fieldInfo
.GetValue(obj);
160
return
fieldInfo
== null ? null :
fieldInfo
.PropertyType;
167
if (
fieldInfo
!= null) {
172
if (!
fieldInfo
.IsReadOnly) {
173
fieldInfo
.SetValue(obj, value);
204
return
fieldInfo
;
230
this.
fieldInfo
!= null &&
234
fieldInfo
.RemoveValueChanged(owner.BindingManagerBase.Current, new EventHandler(PropValueChanged));
246
if (owner.BindingManagerBase.DataSource != null &&
fieldInfo
== null && dataField.Length > 0) {
258
if (
fieldInfo
!= null &&
262
fieldInfo
.AddValueChanged(this.owner.BindingManagerBase.Current, new EventHandler(PropValueChanged));