170 references to Comments
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1497ctm.Comments.Add(ccs); 1499ctm.Comments.Add(ccs); 1501ctm.Comments.Add(ccs);
System (21)
compmod\microsoft\csharp\csharpcodeprovider.cs (9)
861GenerateCommentStatements(currentMember.Comments); 886GenerateCommentStatements(currentMember.Comments); 1832GenerateCommentStatements(currentMember.Comments); 1920GenerateCommentStatements(currentMember.Comments); 2211GenerateCommentStatements(currentMember.Comments); 2324GenerateCommentStatements(e.Comments); 2452GenerateCommentStatements(member.Comments); 2521GenerateCommentStatements(currentMember.Comments); 2547GenerateCommentStatements(currentMember.Comments);
compmod\system\codedom\compiler\CodeGenerator.cs (9)
213GenerateCommentStatements(e.Comments); 277GenerateCommentStatements(member.Comments); 346GenerateCommentStatements(currentMember.Comments); 562GenerateCommentStatements(currentMember.Comments); 586GenerateCommentStatements(currentMember.Comments); 699GenerateCommentStatements(currentMember.Comments); 725GenerateCommentStatements(currentMember.Comments); 786GenerateCommentStatements(currentMember.Comments); 869GenerateCommentStatements(currentMember.Comments);
compmod\system\codedom\compiler\CodeValidator.cs (3)
59ValidateCommentStatements(e.Comments); 275ValidateCommentStatements(e.Comments); 326ValidateCommentStatements(e.Comments);
System.Data.Entity.Design (27)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (12)
492getViewAtMethod.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryStartElement, true /*docComment*/)); 493getViewAtMethod.Comments.Add(new CodeCommentStatement(Strings.GetViewAtMethodComments, true /*docComment*/)); 494getViewAtMethod.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryEndElement, true /*docComment*/)); 544viewMethod.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryStartElement, true /*docComment*/)); 545viewMethod.Comments.Add(new CodeCommentStatement(Strings.IndividualViewComments(extentFullName), true /*docComment*/)); 546viewMethod.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryEndElement, true /*docComment*/)); 659constructor.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryStartElement, true /*docComment*/)); 660constructor.Comments.Add(new CodeCommentStatement(Strings.ConstructorComments, true /*docComment*/)); 661constructor.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryEndElement, true /*docComment*/)); 677typeDecl.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryStartElement, true /*docComment*/)); 678typeDecl.Comments.Add(new CodeCommentStatement(Strings.TypeComments, true /*docComment*/)); 679typeDecl.Comments.Add(new CodeCommentStatement(EntityViewGenerationConstants.SummaryEndElement, true /*docComment*/));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (7)
79CommentEmitter.EmitSummaryComments(Item, typeDecl.Comments); 222CommentEmitter.EmitSummaryComments(Strings.EmptyCtorSummaryComment(Item.Name, Item.Name), emptyCtor.Comments); 241CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionStringCtor.Comments); 260CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionWorkspaceCtor.Comments); 413CommentEmitter.EmitSummaryComments(set, codeProperty.Comments); 456CommentEmitter.EmitSummaryComments(set, codeMethod.Comments); 517CommentEmitter.EmitSummaryComments(functionImport, method.Comments);
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (3)
60typeDecl.Comments.Add( new CodeCommentStatement( "<KeyProperties>", true ) ); 64typeDecl.Comments.Add( new CodeCommentStatement( name, true ) ); 66typeDecl.Comments.Add( new CodeCommentStatement( "</KeyProperties>", true ) );
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
107CommentEmitter.EmitSummaryComments(Item, property.Comments);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
916CommentEmitter.EmitSummaryComments(Item, memberProperty.Comments);
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
69CommentEmitter.EmitSummaryComments(Item, typeDecl.Comments); 185CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(Item.Name), method.Comments); 207CommentEmitter.EmitParamComments(paramDecl, Strings.FactoryParamCommentGeneral(propertyEmitter.PropertyName), method.Comments);
System.Data.Services.Design (14)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (6)
75CommentEmitter.EmitSummaryComments(Item, typeDecl.Comments); 191CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionWorkspaceCtor.Comments); 262CommentEmitter.EmitSummaryComments(Strings.TypeMapperDescription, resolveTypeFromName.Comments); 324CommentEmitter.EmitSummaryComments(Strings.TypeMapperDescription, resolveNameFromType.Comments); 574CommentEmitter.EmitSummaryComments(set, codeProperty.Comments); 620CommentEmitter.EmitSummaryComments(set, codeMethod.Comments);
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (3)
61typeDecl.Comments.Add(new CodeCommentStatement("<KeyProperties>", true)); 65typeDecl.Comments.Add(new CodeCommentStatement(name, true)); 67typeDecl.Comments.Add(new CodeCommentStatement("</KeyProperties>", true));
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
120CommentEmitter.EmitSummaryComments(Item, property.Comments);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
841CommentEmitter.EmitSummaryComments(Item, memberProperty.Comments);
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (3)
60CommentEmitter.EmitSummaryComments(Item, typeDecl.Comments); 176CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(Item.Name), method.Comments); 199CommentEmitter.EmitParamComments(paramDecl, Strings.FactoryParamCommentGeneral(propertyEmitter.PropertyName), method.Comments);
System.Management (60)
WmiGenerator.cs (60)
504cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_CLASSBEGIN") + 1003cmp.Comments.Add(new CodeCommentStatement(Comment)); 1047cmp.Comments.Add(new CodeCommentStatement(Comment)); 1117cmp.Comments.Add(new CodeCommentStatement(GetString("COMMENT_MGMTPATH"))); 1202SysPropsClass.Comments.Add(new CodeCommentStatement(GetString("COMMENT_SYSPROPCLASS"))); 2183cctor.Comments.Add(new CodeCommentStatement(GetString("COMMENT_CONSTRUCTORS"))); 3348cmm.Comments.Add(new CodeCommentStatement(GetString("COMMENT_GETINSTANCES"))); 3771cf.Comments.Add(new CodeCommentStatement(Comment)); 4287CodeConvertorClass.Comments.Add(new CodeCommentStatement(GetString("COMMENT_PROPTYPECONVERTER"))); 4505ccc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_ENUMIMPL"))); 5396cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_SHOULDSERIALIZE"))); 5397cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_ISPROPNULL"))); 5398cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_RESETPROP"))); 5399cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_ATTRIBPROP"))); 6122cmp.Comments.Add(new CodeCommentStatement(GetString("COMMENT_MGMTSCOPE"))); 6179cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6180cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6181cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6182cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6183cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT1"))); 6184cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT2"))); 6185cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT3"))); 6186cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT4"))); 6187cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT5"))); 6188cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT6"))); 6189cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6191cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT7"))); 6192cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP1"))); 6193cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP2"))); 6194cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP3"))); 6195cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP4"))); 6196cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP5"))); 6197cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP6"))); 6198cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP7"))); 6199cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP8"))); 6200cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP9"))); 6201cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_VB_CODESAMP10"))); 6202cc.Comments.Add(new CodeCommentStatement(GetString(""))); 6204cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDDED_COMMENT8"))); 6205cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP1"))); 6206cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP2"))); 6207cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP3"))); 6208cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP4"))); 6209cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP5"))); 6210cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP6"))); 6211cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP7"))); 6212cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP8"))); 6213cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP9"))); 6214cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP10"))); 6215cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP11"))); 6216cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP12"))); 6217cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP13"))); 6218cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP14"))); 6219cc.Comments.Add(new CodeCommentStatement(GetString("EMBEDED_CS_CODESAMP15"))); 6264cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_TIMESPANCONVFUNC"))); 6274cc.Comments.Add(new CodeCommentStatement(GetString("COMMENT_DATECONVFUNC"))); 6443cmmdt.Comments.Add(new CodeCommentStatement(GetString("COMMENT_TODATETIME"))); 6894cmmts.Comments.Add(new CodeCommentStatement(GetString("COMMENT_TODMTFTIMEINTERVAL"))); 7156cmmdt.Comments.Add(new CodeCommentStatement(GetString("COMMENT_TODMTFDATETIME"))); 7483cmmts.Comments.Add(new CodeCommentStatement(GetString("COMMENT_TOTIMESPAN")));
System.ServiceModel (2)
System\ServiceModel\Description\OperationGenerator.cs (2)
183this.Method.Comments.Add(new CodeCommentStatement(SR.GetString(SR.SFxCodeGenWarning, SR.GetString(SR.SFxCannotImportAsParameters_OutputParameterAndTask)))); 221method.Comments.Add(new CodeCommentStatement(SR.GetString(SR.SFxCodeGenWarning, ex.Message)));
System.Web.Services (27)
System\Web\Services\Description\HttpProtocolImporter.cs (5)
164mainCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 202beginCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 217endCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 359codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 362ctor.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true));
System\Web\Services\Description\MimeTextImporter.cs (1)
118ProtocolImporter.AddWarningComment(member.Comments, Res.GetString(Res.WebTextMatchIgnoredTypeWarning));
System\Web\Services\Description\ProtocolImporter.cs (10)
422AddExtensionWarningComments(codeClass.Comments, operationBinding.Extensions); 423if (operationBinding.Input != null) AddExtensionWarningComments(codeClass.Comments, operationBinding.Input.Extensions); 424if (operationBinding.Output != null) AddExtensionWarningComments(codeClass.Comments, operationBinding.Output.Extensions); 441asyncCancelMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 452AddExtensionWarningComments(codeClass.Comments, binding.Extensions); 453if (port != null) AddExtensionWarningComments(codeClass.Comments, port.Extensions); 505AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheBinding0FromNamespace1WasIgnored2, Binding.Name, Binding.ServiceDescription.TargetNamespace, text)); 514AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheOperation0FromNamespace1WasIgnored2, operation.Name, operation.PortType.ServiceDescription.TargetNamespace, text)); 523AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheOperationBinding0FromNamespace1WasIgnored, operationBinding.Name, operationBinding.Binding.ServiceDescription.TargetNamespace, text)); 528AddWarningComment(codeClass.Comments, Res.GetString(Res.NoMethodsWereFoundInTheWSDLForThisProtocol));
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
22ctor.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true));
System\Web\Services\Description\SoapProtocolImporter.cs (4)
442codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 816mainCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 865beginCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 896codeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true));
System\Web\Services\Description\WebCodeGenerator.cs (6)
263eventCompleted.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 273handler.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 320asyncCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 332asyncCodeMethod.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 398codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true)); 417prop.Comments.Add(new CodeCommentStatement(Res.GetString(Res.CodeRemarks), true));
System.Xml (15)
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
179type.Comments.Add(new CodeCommentStatement(comment, false));
System\Xml\Serialization\CodeExporter.cs (2)
216codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 269field.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true));
System\Xml\Serialization\SoapCodeExporter.cs (5)
133codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 223field.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 230field.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 246prop.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 256prop.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true));
System\Xml\Serialization\XmlCodeExporter.cs (7)
499codeClass.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 708field.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 710AddMemberMetadata(field, field.CustomAttributes, member, ns, false, field.Comments, ctor); 715field.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 731prop.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true)); 732AddMemberMetadata(field, prop.CustomAttributes, member, ns, false, prop.Comments, ctor); 741prop.Comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlRemarks), true));
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
396initializeMethod.Comments.AddRange(GenerateXmlComments(initializeMethod.Name));