99 instantiations of CodeCommentStatement
Microsoft.Build.Tasks.Core (16)
system.design\stronglytypedresourcebuilder.cs (15)
239srClass.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 240srClass.Comments.Add(new CodeCommentStatement(SR.GetString(SR.ClassDocComment), true)); 242var comment = new CodeCommentStatement(SR.GetString(SR.ClassComments1), true); 244comment = new CodeCommentStatement(SR.GetString(SR.ClassComments3), true); 247srClass.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 502resMgr.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 503resMgr.Comments.Add(new CodeCommentStatement(SR.GetString(SR.ResMgrPropertyComment), true)); 504resMgr.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 514culture.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 515culture.Comments.Add(new CodeCommentStatement(SR.GetString(SR.CulturePropertyComment1), true)); 516culture.Comments.Add(new CodeCommentStatement(SR.GetString(SR.CulturePropertyComment2), true)); 517culture.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true)); 670prop.Comments.Add(new CodeCommentStatement(DocCommentSummaryStart, true)); 671prop.Comments.Add(new CodeCommentStatement(text, true)); 672prop.Comments.Add(new CodeCommentStatement(DocCommentSummaryEnd, true));
WriteCodeFragment.cs (1)
185globalNamespace.Comments.Add(new CodeCommentStatement(comment));
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1491CodeCommentStatement ccs = new CodeCommentStatement(SummaryStartTag, true); 1493ccs = new CodeCommentStatement(comment, true); 1495ccs = new CodeCommentStatement(SummaryEndTag, true);
System.Management (60)
System\Management\WMIGenerator.cs (60)
474cc.Comments.Add(new CodeCommentStatement(SR.CommentClassBegin + 962cmp.Comments.Add(new CodeCommentStatement(Comment)); 1006cmp.Comments.Add(new CodeCommentStatement(Comment)); 1076cmp.Comments.Add(new CodeCommentStatement(SR.CommentManagementPath)); 1161SysPropsClass.Comments.Add(new CodeCommentStatement(SR.CommentSystemPropertiesClass)); 2131cctor.Comments.Add(new CodeCommentStatement(SR.CommentConstructors)); 3294cmm.Comments.Add(new CodeCommentStatement(SR.CommentGetInstances)); 3715cf.Comments.Add(new CodeCommentStatement(Comment)); 4230CodeConvertorClass.Comments.Add(new CodeCommentStatement(SR.CommentPrototypeConverter)); 4412ccc.Comments.Add(new CodeCommentStatement(SR.CommentEnumeratorImplementation)); 5304cc.Comments.Add(new CodeCommentStatement(SR.CommentShouldSerialize)); 5305cc.Comments.Add(new CodeCommentStatement(SR.CommentIsPropNull)); 5306cc.Comments.Add(new CodeCommentStatement(SR.CommentResetProperty)); 5307cc.Comments.Add(new CodeCommentStatement(SR.CommentAttributeProperty)); 6009cmp.Comments.Add(new CodeCommentStatement(SR.CommentManagementScope)); 6066cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6067cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6068cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6069cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6070cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment)); 6071cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment2)); 6072cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment3)); 6073cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment4)); 6074cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment5)); 6075cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment6)); 6076cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6078cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment7)); 6079cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment1)); 6080cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment2)); 6081cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment3)); 6082cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment4)); 6083cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment5)); 6084cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment6)); 6085cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment7)); 6086cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment8)); 6087cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment9)); 6088cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment10)); 6089cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6091cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment8)); 6092cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment1)); 6093cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment2)); 6094cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment3)); 6095cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment4)); 6096cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment5)); 6097cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment6)); 6098cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment7)); 6099cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment8)); 6100cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment9)); 6101cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment10)); 6102cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment11)); 6103cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment12)); 6104cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment13)); 6105cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment14)); 6106cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment15)); 6150cc.Comments.Add(new CodeCommentStatement(SR.CommentTimeSpanConversionFunction)); 6160cc.Comments.Add(new CodeCommentStatement(SR.CommentDateConversionFunction)); 6329cmmdt.Comments.Add(new CodeCommentStatement(SR.CommentToDateTime)); 6773cmmts.Comments.Add(new CodeCommentStatement(SR.CommentToDmtfTimeInterval)); 7035cmmdt.Comments.Add(new CodeCommentStatement(SR.CommentToDmtfDateTime)); 7357cmmts.Comments.Add(new CodeCommentStatement(SR.CommentToTimeSpan));
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));
26 references to CodeCommentStatement
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
242var comment = new CodeCommentStatement(SR.GetString(SR.ClassComments1), true);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1491CodeCommentStatement ccs = new CodeCommentStatement(SummaryStartTag, true);
System (1)
src\runtime\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)
544if (e is CodeCommentStatement) 546GenerateCommentStatement((CodeCommentStatement)e); 908private void GenerateCommentStatement(CodeCommentStatement e) 919foreach (CodeCommentStatement comment in e)
Microsoft\VisualBasic\VBCodeGenerator.cs (3)
1196private static bool IsDocComment(CodeCommentStatement comment) 1207foreach (CodeCommentStatement comment in e) 1215foreach (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) 51public bool Contains(CodeCommentStatement value) => List.Contains(value); 53public void CopyTo(CodeCommentStatement[] array, int index) => List.CopyTo(array, index); 55public int IndexOf(CodeCommentStatement value) => List.IndexOf(value); 57public void Insert(int index, CodeCommentStatement value) => List.Insert(index, value); 59public void Remove(CodeCommentStatement value) => List.Remove(value);
System\CodeDom\Compiler\CodeGenerator.cs (4)
871if (e is CodeCommentStatement) 873GenerateCommentStatement((CodeCommentStatement)e); 1465protected virtual void GenerateCommentStatement(CodeCommentStatement e) 1480foreach (CodeCommentStatement comment in e)
System\CodeDom\Compiler\CodeValidator.cs (1)
400if (e is CodeCommentStatement)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
419else if (statement is CodeCommentStatement)