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