1 write to _syntaxWriter
Microsoft.DotNet.AsmDiff (1)
48 references to _syntaxWriter
Microsoft.DotNet.AsmDiff (48)
DiffCSharpWriter.cs (48)
44_formatter = new CSDeclarationWriter(_syntaxWriter, _settings.Filter, forCompilation: false, includePseudoCustomAttributes: includePseudoCustomAttributes)
84using (_syntaxWriter.StartStyle(SyntaxStyle.Removed))
85_syntaxWriter.Write("{0}", oldAssembliesName);
86_syntaxWriter.WriteLine();
91using (_syntaxWriter.StartStyle(SyntaxStyle.Added))
92_syntaxWriter.Write("{0}", newAssembliesName);
93_syntaxWriter.WriteLine();
111_syntaxWriter.WriteKeyword("assembly");
112_syntaxWriter.WriteSpace();
113_syntaxWriter.WriteIdentifier(assembly.Representative.Name.Value);
114using (_syntaxWriter.StartBraceBlock())
128_syntaxWriter.WriteKeyword("assembly");
129_syntaxWriter.WriteSpace();
130_syntaxWriter.WriteIdentifier(assembly.Representative.Name.Value);
131using (_syntaxWriter.StartBraceBlock())
148using (_syntaxWriter.StartBraceBlock())
154_syntaxWriter.WriteLine();
174using (_syntaxWriter.StartBraceBlock())
181_syntaxWriter.WriteLine();
203style = _syntaxWriter.StartStyle(SyntaxStyle.InterfaceMember);
205style = _syntaxWriter.StartStyle(SyntaxStyle.InheritedMember);
211_syntaxWriter.WriteLine();
234var reviewCommentWriter = _syntaxWriter as IReviewCommentWriter;
240_syntaxWriter.WriteLine();
276using (_syntaxWriter.StartStyle(SyntaxStyle.Added))
282using (_syntaxWriter.StartStyle(SyntaxStyle.Removed))
290style = _syntaxWriter.StartStyle(SyntaxStyle.NotCompatible, element.Differences.OfType<IncompatibleDifference>());
301_syntaxWriter.WriteLine();
303_syntaxWriter.WriteLine();
324_syntaxWriter.WriteSyntaxToken(mt.Item2);
328style = _syntaxWriter.StartStyle(SyntaxStyle.Removed);
329_syntaxWriter.WriteSyntaxToken(mt.Item2);
333style = _syntaxWriter.StartStyle(SyntaxStyle.Added);
334_syntaxWriter.WriteSyntaxToken(mt.Item2);
414_syntaxWriter.WriteLine(true);
420_syntaxWriter.Write("// {0}", heading);
421_syntaxWriter.WriteLine();
455_syntaxWriter.WriteSyntaxToken(t);
459using (_syntaxWriter.StartStyle(SyntaxStyle.Removed))
460_syntaxWriter.WriteSyntaxToken(t1);
461using (_syntaxWriter.StartStyle(SyntaxStyle.Added))
462_syntaxWriter.WriteSyntaxToken(t2);
479_syntaxWriter.Write(string.Format("{0}{1}{2}", p.Name, p.Delimiter, p.Value));
484_syntaxWriter.Write(string.Format("{0}{1}", p1.Name, p1.Delimiter));
485using (_syntaxWriter.StartStyle(SyntaxStyle.Removed))
486_syntaxWriter.Write(p1.Value);
487using (_syntaxWriter.StartStyle(SyntaxStyle.Added))
488_syntaxWriter.Write(p2.Value);