7 writes to annotations
System.Xml.Linq (7)
System\Xml\Linq\XLinq.cs (7)
986
annotations
= annotation is object[] ? new object[] { annotation } : annotation;
991
annotations
= new object[] { annotations, annotation };
998
annotations
= a;
1116
if (type.IsInstanceOfType(annotations))
annotations
= null;
1127
annotations
= null;
1144
if (annotations is T)
annotations
= null;
1155
annotations
= null;
29 references to annotations
System.Xml.Linq (29)
System\Xml\Linq\XLinq.cs (29)
941
while (o != null && o.
annotations
== null) {
985
if (
annotations
== null) {
989
object[] a =
annotations
as object[];
991
annotations = new object[] {
annotations
, annotation };
1016
if (
annotations
!= null) {
1017
object[] a =
annotations
as object[];
1019
if (type.IsInstanceOfType(
annotations
)) return
annotations
;
1043
if (
annotations
!= null) {
1044
object[] a =
annotations
as object[];
1045
if (a == null) return
annotations
as T;
1068
if (
annotations
!= null) {
1069
object[] a =
annotations
as object[];
1071
if (type.IsInstanceOfType(
annotations
)) yield return
annotations
;
1090
if (
annotations
!= null) {
1091
object[] a =
annotations
as object[];
1093
T result =
annotations
as T;
1113
if (
annotations
!= null) {
1114
object[] a =
annotations
as object[];
1116
if (type.IsInstanceOfType(
annotations
)) annotations = null;
1141
if (
annotations
!= null) {
1142
object[] a =
annotations
as object[];
1144
if (
annotations
is T) annotations = null;
1242
while (o != null && o.
annotations
== null) {
1262
while (o != null && o.
annotations
== null) {
1289
while (o != null && o.
annotations
== null) {
1306
while (o != null && o.
annotations
== null) {
4957
if (parent != null ||
annotations
!= null || content != null || lastAttr != null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_DeserializeInstance));