60 instantiations of CodeCommentStatement
Microsoft.Build.Tasks.Core (16)
system.design\stronglytypedresourcebuilder.cs (15)
210srClass.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 211srClass.Comments.Add(new CodeCommentStatement(SR.GetString(SR.ClassDocComment), true)); 213var comment = new CodeCommentStatement(SR.GetString(SR.ClassComments1), true); 215comment = new CodeCommentStatement(SR.GetString(SR.ClassComments3), true); 218srClass.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 473resMgr.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 474resMgr.Comments.Add(new CodeCommentStatement(SR.GetString(SR.ResMgrPropertyComment), true)); 475resMgr.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 485culture.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 486culture.Comments.Add(new CodeCommentStatement(SR.GetString(SR.CulturePropertyComment1), true)); 487culture.Comments.Add(new CodeCommentStatement(SR.GetString(SR.CulturePropertyComment2), true)); 488culture.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 641prop.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 642prop.Comments.Add(new CodeCommentStatement(text, true)); 643prop.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true));
WriteCodeFragment.cs (1)
172globalNamespace.Comments.Add(new CodeCommentStatement(comment));
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1506CodeCommentStatement ccs = new CodeCommentStatement(SummaryStartTag, true); 1508ccs = new CodeCommentStatement(comment, true); 1510ccs = new CodeCommentStatement(SummaryEndTag, true);
System.Windows.Forms.Design (20)
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 (17)
375classType.Comments.Add(new(DocCommentSummaryStart, docComment: true)); 376classType.Comments.Add(new(SR.ClassDocComment, docComment: true)); 377classType.Comments.Add(new(DocCommentSummaryEnd, docComment: true)); 485classDeclaration.Comments.Add(new(SR.ClassComments1)); 486classDeclaration.Comments.Add(new(SR.ClassComments2)); 487classDeclaration.Comments.Add(new(SR.ClassComments3)); 488classDeclaration.Comments.Add(new(SR.ClassComments4)); 625resourceManagerProperty.Comments.Add(new(DocCommentSummaryStart, docComment: true)); 626resourceManagerProperty.Comments.Add(new(SR.ResMgrPropertyComment, docComment: true)); 627resourceManagerProperty.Comments.Add(new(DocCommentSummaryEnd, docComment: true)); 637culture.Comments.Add(new(DocCommentSummaryStart, docComment: true)); 638culture.Comments.Add(new(SR.CulturePropertyComment1, docComment: true)); 639culture.Comments.Add(new(SR.CulturePropertyComment2, docComment: true)); 640culture.Comments.Add(new(DocCommentSummaryEnd, docComment: true)); 783property.Comments.Add(new(DocCommentSummaryStart, docComment: true)); 784property.Comments.Add(new(text, docComment: true)); 785property.Comments.Add(new(DocCommentSummaryEnd, docComment: true));
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),
27 references to CodeCommentStatement
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
213var comment = new CodeCommentStatement(SR.GetString(SR.ClassComments1), true);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1506CodeCommentStatement ccs = new CodeCommentStatement(SummaryStartTag, true);
System (1)
src\libraries\shims\System\ref\System.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeCommentStatement))]
System.CodeDom (22)
Microsoft\CSharp\CSharpCodeGenerator.cs (4)
549if (e is CodeCommentStatement) 551GenerateCommentStatement((CodeCommentStatement)e); 913private void GenerateCommentStatement(CodeCommentStatement e) 924foreach (CodeCommentStatement comment in e)
Microsoft\VisualBasic\VBCodeGenerator.cs (3)
1203private static bool IsDocComment(CodeCommentStatement comment) 1214foreach (CodeCommentStatement comment in e) 1222foreach (CodeCommentStatement comment in e)
System\CodeDom\CodeCommentStatementCollection.cs (10)
17public CodeCommentStatementCollection(CodeCommentStatement[] value) 22public CodeCommentStatement this[int index] 24get { return (CodeCommentStatement)List[index]; } 28public int Add(CodeCommentStatement value) => List.Add(value); 30public void AddRange(CodeCommentStatement[] value) 57public bool Contains(CodeCommentStatement value) => List.Contains(value); 59public void CopyTo(CodeCommentStatement[] array, int index) => List.CopyTo(array, index); 61public int IndexOf(CodeCommentStatement value) => List.IndexOf(value); 63public void Insert(int index, CodeCommentStatement value) => List.Insert(index, value); 65public void Remove(CodeCommentStatement value) => List.Remove(value);
System\CodeDom\Compiler\CodeGenerator.cs (4)
895if (e is CodeCommentStatement) 897GenerateCommentStatement((CodeCommentStatement)e); 1519protected virtual void GenerateCommentStatement(CodeCommentStatement e) 1540foreach (CodeCommentStatement comment in e)
System\CodeDom\Compiler\CodeValidator.cs (1)
403if (e is CodeCommentStatement)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
419else if (statement is CodeCommentStatement)
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
74case CodeCommentStatement ccs: