5 writes to lastAttr
System.Xml.Linq (5)
System\Xml\Linq\XLinq.cs (5)
4118
lastAttr
= null;
5001
lastAttr
= a;
5105
lastAttr
= null;
5108
if (lastAttr == a)
lastAttr
= p;
5125
lastAttr
= null;
89 references to lastAttr
System.Xml.Linq (89)
System\Xml\Linq\XLinq.cs (73)
3510
XAttribute a = other.
lastAttr
;
3515
} while (a != other.
lastAttr
);
3546
get { return
lastAttr
!= null ?
lastAttr
.next : null; }
3553
get { return
lastAttr
!= null; }
3583
get { return
lastAttr
; }
3686
XAttribute a =
lastAttr
;
3691
} while (a !=
lastAttr
);
3804
XAttribute a = e.
lastAttr
;
3820
while (a != e.
lastAttr
);
4110
while (
lastAttr
!= null) {
4111
XAttribute a =
lastAttr
.next;
4113
if (
lastAttr
== null || a !=
lastAttr
.next) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExternalCode));
4114
if (a !=
lastAttr
) {
4115
lastAttr
.next = a.next;
4957
if (parent != null || annotations != null || content != null ||
lastAttr
!= null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_DeserializeInstance));
4994
if (
lastAttr
== null) {
4998
a.next =
lastAttr
.next;
4999
lastAttr
.next = a;
5005
XAttribute a1 =
lastAttr
;
5006
XAttribute a2 = e.
lastAttr
;
5012
} while (a1 !=
lastAttr
);
5013
return a2 == e.
lastAttr
;
5028
XAttribute a =
lastAttr
;
5033
} while (a.parent == this && a !=
lastAttr
);
5040
XAttribute a = e.
lastAttr
;
5046
while (a != e.
lastAttr
);
5056
XAttribute a =
lastAttr
;
5061
} while (a !=
lastAttr
);
5102
XAttribute p =
lastAttr
, n;
5108
if (
lastAttr
== a) lastAttr = p;
5117
if (
lastAttr
!= null) {
5118
XAttribute a =
lastAttr
;
5124
} while (a !=
lastAttr
);
5199
XAttribute a = e.
lastAttr
;
5206
} while (a != e.
lastAttr
);
5213
XAttribute a = e.
lastAttr
;
5220
} while (a != e.
lastAttr
);
5238
XAttribute a = e.
lastAttr
;
5246
} while (a != e.
lastAttr
);
6621
get { return parent != null && ((XElement)parent).
lastAttr
!= this ? next : null; }
6646
XAttribute a = ((XElement)parent).
lastAttr
;
6650
return a != ((XElement)parent).
lastAttr
? a : null;
7780
XAttribute a = e.
lastAttr
;
7785
} while (a.parent == e && a != e.
lastAttr
);
8098
XAttribute a = e.
lastAttr
;
8105
} while (a != e.
lastAttr
);
8165
if (e != null && e.
lastAttr
!= null) {
8167
return GetFirstNonDuplicateNamespaceAttribute(e.
lastAttr
.next) != null;
8429
XAttribute a = e.
lastAttr
;
8441
} while (a != e.
lastAttr
);
8471
XAttribute a = e.
lastAttr
;
8483
} while (a != e.
lastAttr
);
8498
XAttribute a = e.
lastAttr
;
8507
} while (a != e.
lastAttr
);
8538
XAttribute a = e.
lastAttr
;
8554
} while (a != e.
lastAttr
);
8574
XAttribute a = e.
lastAttr
;
8590
} while (a != e.
lastAttr
);
8603
XAttribute a = e.
lastAttr
;
8615
} while (a != e.
lastAttr
);
8645
if (e.
lastAttr
!= null) {
8647
object na = GetFirstNonDuplicateNamespaceAttribute(e.
lastAttr
.next);
8654
source = e.
lastAttr
.next;
8671
if (e.
lastAttr
!= null) {
8676
object na = GetFirstNonDuplicateNamespaceAttribute(e.
lastAttr
.next);
8683
source = e.
lastAttr
.next;
8694
if (a.parent != null && ((XElement)a.parent).
lastAttr
!= a) {
9152
XAttribute a = element.
lastAttr
;
9168
} while (a != element.
lastAttr
);
9191
if (e != null && candidate != e.
lastAttr
) {
9197
} while (candidate != e.
lastAttr
);
System\Xml\Linq\XNodeNavigator.cs (10)
75
XAttribute a = e.
lastAttr
;
82
} while (a != e.
lastAttr
);
294
XAttribute a = e.
lastAttr
;
304
} while (a != e.
lastAttr
);
367
XAttribute a = e.
lastAttr
;
375
} while (a != e.
lastAttr
);
531
while (a != e.
lastAttr
) {
716
XAttribute a = e.
lastAttr
;
723
} while (a != e.
lastAttr
);
749
while (a != e.
lastAttr
) {
System\Xml\Linq\XNodeValidator.cs (6)
146
XAttribute a = e.
lastAttr
;
159
} while (a != e.
lastAttr
);
167
XAttribute a = e.
lastAttr
;
187
} while (a != e.
lastAttr
);
214
XAttribute a = e.
lastAttr
;
222
} while (a != e.
lastAttr
);