2 writes to instance
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
44
this.
instance
= instance;
640
this.
instance
= instance;
26 references to instance
System.Data (26)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (26)
78
Fx.Assert(this.
instance
!= null, "instance cannot be null");
79
ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.
instance
)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute;
93
Fx.Assert(
instance
!= null, "instance cannot be null");
94
if (
instance
!= null)
96
return ((ICollection)
instance
).Count;
106
IList instanceList =
instance
as IList;
231
Fx.Assert(this.
instance
!= null, "instance cannot be null");
232
RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.
instance
)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute;
342
return ((IList)
instance
).Contains(value);
366
return this.
instance
;
510
Fx.Assert(
instance
is IList, "instance should be IList");
511
Fx.Assert(
instance
!= null, "instance should not be null");
513
IList instanceList = (IList)
instance
;
536
Fx.Assert(
instance
is IList, " Instance needs to be Ilist for clear to work");
537
Fx.Assert(
instance
!= null, "Instance should not be null");
539
IList instanceList = (IList)
instance
;
562
Fx.Assert(
instance
is IList, "instance needs to be IList");
563
Fx.Assert(
instance
!= null, "instance should not be null");
564
IList instanceList = (IList)
instance
;
589
Fx.Assert(
instance
is IList, "Instance needs to be IList for remove to work");
590
Fx.Assert(
instance
!= null, "instance should not be null");
592
IList instanceList = (IList)
instance
;
615
Fx.Assert(
instance
is IList, "Instance needs to be IList for remove to work");
616
Fx.Assert(
instance
!= null, "instance should not be null");
618
IList instanceList = (IList)
instance
;
641
IEnumerable instanceCollection = this.
instance
as IEnumerable;