21 writes to content
System.Xml.Linq (21)
System\Xml\Linq\XLinq.cs (21)
2325
this.
content
= other.content;
2362
Interlocked.CompareExchange<object>(ref
content
, t, s);
2645
content
= null;
2649
content
= null;
2662
content
= null;
2788
content
= s;
2792
content
= s;
2811
content
= s;
2815
content
= (string)content + s;
2846
content
= n;
2933
content
= t;
3050
c.
content
= string.Empty;
3132
c.
content
= string.Empty;
3203
content
= null;
3206
if (content == n)
content
= p;
3224
content
= null;
3292
parent.
content
= text;
3304
parent.
content
= text;
3308
parent.
content
= text;
3393
parent.
content
= n;
3403
if (parent.content == previous) parent.
content
= n;
132 references to content
System.Xml.Linq (132)
System\Xml\Linq\XLinq.cs (104)
1475
return parent == null || this == parent.
content
? null : next;
1489
XNode n = ((XNode)parent.
content
).next;
1583
XNode p = (XNode)parent.
content
;
1585
if (p == parent.
content
) p = null;
1690
XNode n = (XNode)n1.parent.
content
;
1726
while (n.parent != null && n != n.parent.
content
) {
1741
XNode n = (XNode)parent.
content
;
1876
XNode p = (XNode)parent.
content
;
1878
if (p == parent.
content
) p = null;
1961
while (n.parent != null && n != n.parent.
content
) {
1970
XNode n = (XNode)parent.
content
;
2324
if (other.
content
is string) {
2325
this.content = other.
content
;
2328
XNode n = (XNode)other.
content
;
2333
} while (n != other.
content
);
2353
if (
content
== null) return null;
2354
XNode n =
content
as XNode;
2356
string s =
content
as string;
2364
return (XNode)
content
;
2564
XNode n =
content
as XNode;
2570
} while (n !=
content
);
2619
} while (n.parent == this && n !=
content
);
2633
while (
content
!= null) {
2634
string s =
content
as string;
2644
if ((object)s != (object)
content
) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExternalCode));
2653
XNode last =
content
as XNode;
2657
if (last !=
content
|| n != last.next) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExternalCode));
2778
if (
content
== null) {
2787
if (
content
!= null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExternalCode));
2798
XText tn =
content
as XText;
2810
if (
content
== null) {
2814
if (
content
is string) {
2815
content = (string)
content
+ s;
2818
XText tn =
content
as XText;
2838
if (
content
== null ||
content
is string) {
2842
XNode x = (XNode)
content
;
2850
string s =
content
as string;
2855
XNode n = (XNode)
content
;
2860
} while (n !=
content
);
2866
if (
content
== null) return null;
2867
string s =
content
as string;
2869
XNode n = (XNode)
content
;
2874
} while (n !=
content
);
2883
n = n !=
content
? n.next : null;
2889
if (
content
== e.
content
) return true;
2892
XNode n1 =
content
as XNode;
2893
XNode n2 = e.
content
as XNode;
2901
n1 = n1 !=
content
? n1.next : null;
2902
n2 = n2 != e.
content
? n2.next : null;
2912
XNode n =
content
as XNode;
2922
} while (n !=
content
);
2928
string s =
content
as string;
2951
while (n != null && n != this && n == n.parent.
content
) n = n.parent;
2967
if (c != null && c.
content
is XNode) {
2968
n = ((XNode)c.
content
).next;
2971
while (n != this && n == n.parent.
content
) n = n.parent;
2982
XNode n =
content
as XNode;
2988
} while (n.parent == this && n !=
content
);
3049
if (c.
content
== null) {
3131
if (c.
content
== null) {
3200
XNode p = (XNode)
content
;
3206
if (
content
== n) content = p;
3215
XNode n =
content
as XNode;
3222
} while (n !=
content
);
3236
if (
content
!= null) {
3237
if (
content
is string) {
3239
writer.WriteWhitespace((string)
content
);
3242
writer.WriteString((string)
content
);
3246
XNode n = (XNode)
content
;
3250
} while (n !=
content
);
3290
if (parent.
content
== null) {
3303
if (parent.
content
!= null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExternalCode));
3391
if (parent.
content
== null || parent.
content
is string) {
3396
XNode last = (XNode)parent.
content
;
3403
if (parent.
content
== previous) parent.content = n;
3561
XNode n =
content
as XNode;
3566
} while (n !=
content
);
3576
get { return
content
== null; }
3622
if (
content
== null) return string.Empty;
3623
string s =
content
as string;
4957
if (parent != null || annotations != null ||
content
!= null || lastAttr != null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_DeserializeInstance));
5157
if (e.
content
== null) {
5161
string s = e.
content
as string;
5167
n = ((XNode)e.
content
).next;
5175
while (n != root && n == n.parent.
content
) {
5977
XNode n =
content
as XNode;
5983
} while (n !=
content
);
6014
XNode n =
content
as XNode;
6025
} while (n !=
content
);
7621
} while (n.parent == root && n != root.
content
);
7815
while (n != null && n != root && n == n.parent.
content
) n = n.parent;
7835
if (c != null && c.
content
is XNode) {
7836
n = ((XNode)c.
content
).next;
7839
while (n != null && n != root && n == n.parent.
content
) n = n.parent;
7854
XNode n = root.
content
as XNode;
7860
} while (n.parent == root && n != root.
content
);
9020
XNode n = d.
content
as XNode;
9025
string s = d.
content
as string;
9037
XNode n = e.
content
as XNode;
9042
string s = e.
content
as string;
9079
if (null == next || next == n || n == n.parent.
content
) {
System\Xml\Linq\XNodeNavigator.cs (25)
92
if (c != null && c.
content
!= null) {
93
XNode n = c.
content
as XNode;
100
} while (n != c.
content
);
103
string s = (string)c.
content
;
312
if (c != null && c.
content
!= null) {
313
XNode n = c.
content
as XNode;
324
} while (n != c.
content
);
332
if (c != null && c.
content
!= null) {
333
XNode n = c.
content
as XNode;
345
} while (n != c.
content
);
348
string s = (string)c.
content
;
383
if (c != null && c.
content
!= null) {
384
XNode n = c.
content
as XNode;
392
} while (n != c.
content
);
395
string s = (string)c.
content
;
470
if (c != null && n != c.
content
) {
478
} while (n != c.
content
);
488
if (c != null && n != c.
content
) {
498
} while (n != c.
content
);
508
if (c != null && n != c.
content
) {
520
} while (n != c.
content
);
598
XNode q = (XNode)c.
content
;
654
while (n != n.parent.
content
) {
796
while (t != t.parent.
content
) {
912
XNode p = (XNode)n.parent.
content
;
System\Xml\Linq\XNodeValidator.cs (3)
270
XNode n = e.
content
as XNode;
289
} while (n != e.
content
);
293
string s = e.
content
as string;