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)
189globalNamespace.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)); 4429ccc.Comments.Add(new CodeCommentStatement(SR.CommentEnumeratorImplementation)); 5338cc.Comments.Add(new CodeCommentStatement(SR.CommentShouldSerialize)); 5339cc.Comments.Add(new CodeCommentStatement(SR.CommentIsPropNull)); 5340cc.Comments.Add(new CodeCommentStatement(SR.CommentResetProperty)); 5341cc.Comments.Add(new CodeCommentStatement(SR.CommentAttributeProperty)); 6043cmp.Comments.Add(new CodeCommentStatement(SR.CommentManagementScope)); 6100cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6101cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6102cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6103cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6104cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment)); 6105cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment2)); 6106cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment3)); 6107cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment4)); 6108cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment5)); 6109cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment6)); 6110cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6112cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment7)); 6113cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment1)); 6114cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment2)); 6115cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment3)); 6116cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment4)); 6117cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment5)); 6118cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment6)); 6119cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment7)); 6120cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment8)); 6121cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment9)); 6122cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedVisualBasicComment10)); 6123cc.Comments.Add(new CodeCommentStatement(string.Empty)); 6125cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedComment8)); 6126cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment1)); 6127cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment2)); 6128cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment3)); 6129cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment4)); 6130cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment5)); 6131cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment6)); 6132cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment7)); 6133cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment8)); 6134cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment9)); 6135cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment10)); 6136cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment11)); 6137cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment12)); 6138cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment13)); 6139cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment14)); 6140cc.Comments.Add(new CodeCommentStatement(SR.EmbeddedCSharpComment15)); 6184cc.Comments.Add(new CodeCommentStatement(SR.CommentTimeSpanConversionFunction)); 6194cc.Comments.Add(new CodeCommentStatement(SR.CommentDateConversionFunction)); 6363cmmdt.Comments.Add(new CodeCommentStatement(SR.CommentToDateTime)); 6807cmmts.Comments.Add(new CodeCommentStatement(SR.CommentToDmtfTimeInterval)); 7069cmmdt.Comments.Add(new CodeCommentStatement(SR.CommentToDmtfDateTime)); 7391cmmts.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)