29 references to CodeCommentStatement
Microsoft.Build.Tasks.Core (1)
WriteCodeFragment.cs (1)
172globalNamespace.Comments.Add(new CodeCommentStatement(comment));
System.Windows.Forms.Design (7)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (3)
438entry.Statements.Insert(0, new CodeCommentStatement(string.Empty)); 439entry.Statements.Insert(0, new CodeCommentStatement(name)); 440entry.Statements.Insert(0, new CodeCommentStatement(string.Empty));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (4)
485classDeclaration.Comments.Add(new(SR.ClassComments1)); 486classDeclaration.Comments.Add(new(SR.ClassComments2)); 487classDeclaration.Comments.Add(new(SR.ClassComments3)); 488classDeclaration.Comments.Add(new(SR.ClassComments4));
System.Windows.Forms.Design.Tests (21)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (21)
147new CodeCommentStatement(string.Empty), 148new CodeCommentStatement("name1"), 149new CodeCommentStatement(string.Empty), 161new CodeCommentStatement(string.Empty), 162new CodeCommentStatement("name2"), 163new CodeCommentStatement(string.Empty), 249new CodeCommentStatement(string.Empty), 250new CodeCommentStatement("name"), 251new CodeCommentStatement(string.Empty), 351new CodeCommentStatement(string.Empty), 352new CodeCommentStatement("name"), 353new CodeCommentStatement(string.Empty), 396new CodeCommentStatement(string.Empty), 397new CodeCommentStatement("name"), 398new CodeCommentStatement(string.Empty), 537new CodeCommentStatement(string.Empty), 538new CodeCommentStatement("name"), 539new CodeCommentStatement(string.Empty), 586new CodeCommentStatement(string.Empty), 587new CodeCommentStatement("name"), 588new CodeCommentStatement(string.Empty),