2 writes to writer
illink (2)
Linker\XmlDependencyRecorder.cs (2)
67
writer
= XmlWriter.Create (stream, settings);
91
writer
= null;
18 references to writer
illink (18)
Linker\XmlDependencyRecorder.cs (18)
68
writer
.WriteStartDocument ();
69
writer
.WriteStartElement ("dependencies");
70
writer
.WriteStartAttribute ("version");
71
writer
.WriteString ("1.2");
72
writer
.WriteEndAttribute ();
77
Debug.Assert (
writer
!= null);
79
writer
.WriteEndElement ();
80
writer
.WriteEndDocument ();
81
writer
.Flush ();
86
if (
writer
== null)
89
writer
.Dispose ();
97
if (
writer
== null)
109
if (
writer
== null)
128
writer
.WriteStartElement ("edge");
130
writer
.WriteAttributeString ("mark", "1");
131
writer
.WriteAttributeString ("b", DependencyRecorderHelper.TokenString (context, source));
132
writer
.WriteAttributeString ("e", DependencyRecorderHelper.TokenString (context, target));
133
writer
.WriteEndElement ();