98 references to Add
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)); 243srClass.Comments.Add(comment); 245srClass.Comments.Add(comment); 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)
1492ctm.Comments.Add(ccs); 1494ctm.Comments.Add(ccs); 1496ctm.Comments.Add(ccs);
System.CodeDom (2)
System\CodeDom\CodeCommentStatementCollection.cs (2)
36Add(value[i]); 47Add(value[i]);
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 (17)
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));