7 writes to annotations
System.Private.Xml.Linq (7)
System\Xml\Linq\XObject.cs (7)
86
annotations
= annotation is object[]? new object[] { annotation } : annotation;
93
annotations
= new object[] { annotations, annotation };
102
annotations
= a;
268
if (XHelper.IsInstanceOfType(annotations, type))
annotations
= null;
282
annotations
= null;
303
if (annotations is T)
annotations
= null;
317
annotations
= null;
33 references to annotations
System.Private.Xml.Linq (33)
System\Xml\Linq\XElement.cs (1)
1882
if (parent != null ||
annotations
!= null || content != null || lastAttr != null) throw new InvalidOperationException(SR.InvalidOperation_DeserializeInstance);
System\Xml\Linq\XObject.cs (32)
31
while (o != null && o.
annotations
== null)
84
if (
annotations
== null)
90
object?[]? a =
annotations
as object[];
93
annotations = new object[] {
annotations
, annotation };
122
if (
annotations
!= null)
124
object?[]? a =
annotations
as object[];
127
if (XHelper.IsInstanceOfType(
annotations
, type)) return
annotations
;
146
if (
annotations
!= null)
148
object?[]? a =
annotations
as object[];
151
if (
annotations
.GetType() == type) return
annotations
;
177
if (
annotations
!= null)
179
object?[]? a =
annotations
as object[];
180
if (a == null) return
annotations
as T;
207
if (
annotations
!= null)
209
object?[]? a =
annotations
as object[];
212
if (XHelper.IsInstanceOfType(
annotations
, type)) yield return
annotations
;
234
if (
annotations
!= null)
236
object?[]? a =
annotations
as object[];
239
T? result =
annotations
as T;
263
if (
annotations
!= null)
265
object?[]? a =
annotations
as object[];
268
if (XHelper.IsInstanceOfType(
annotations
, type)) annotations = null;
298
if (
annotations
!= null)
300
object?[]? a =
annotations
as object[];
303
if (
annotations
is T) annotations = null;
424
while (o != null && o.
annotations
== null)
446
while (o != null && o.
annotations
== null)
477
while (o != null && o.
annotations
== null)
497
while (o != null && o.
annotations
== null)