private void AppendMessage(List <ClrAnnotation> annotations, string section, string message) { Debug.Assert(message.Length != 0 && section.Length != 0); ClrAnnotation clrAnn = new ClrAnnotation(); clrAnn.Section = section; clrAnn.Text = message; annotations.Add(clrAnn); }
private void AppendMessage(List <ClrAnnotation> annotations, string section, string message) { Debug.Assert((message.Length == 0 ? false : section.Length != 0)); ClrAnnotation clrAnn = new ClrAnnotation() { Section = section, Text = message }; annotations.Add(clrAnn); }
private void AppendMessage(List<ClrAnnotation> annotations, string section, string message) { Debug.Assert(message.Length != 0 && section.Length != 0); ClrAnnotation clrAnn = new ClrAnnotation(); clrAnn.Section = section; clrAnn.Text = message; annotations.Add(clrAnn); }