60 instantiations of CodeCommentStatement
Microsoft.Build.Tasks.Core (16)
system.design\stronglytypedresourcebuilder.cs (15)
210
srClass.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryStart, true));
211
srClass.Comments.Add(new
CodeCommentStatement
(SR.GetString(SR.ClassDocComment), true));
213
var comment = new
CodeCommentStatement
(SR.GetString(SR.ClassComments1), true);
215
comment = new
CodeCommentStatement
(SR.GetString(SR.ClassComments3), true);
218
srClass.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryEnd, true));
473
resMgr.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryStart, true));
474
resMgr.Comments.Add(new
CodeCommentStatement
(SR.GetString(SR.ResMgrPropertyComment), true));
475
resMgr.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryEnd, true));
485
culture.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryStart, true));
486
culture.Comments.Add(new
CodeCommentStatement
(SR.GetString(SR.CulturePropertyComment1), true));
487
culture.Comments.Add(new
CodeCommentStatement
(SR.GetString(SR.CulturePropertyComment2), true));
488
culture.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryEnd, true));
641
prop.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryStart, true));
642
prop.Comments.Add(new
CodeCommentStatement
(text, true));
643
prop.Comments.Add(new
CodeCommentStatement
(DocCommentSummaryEnd, true));
WriteCodeFragment.cs (1)
172
globalNamespace.Comments.Add(new
CodeCommentStatement
(comment));
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
1506
CodeCommentStatement ccs = new
CodeCommentStatement
(SummaryStartTag, true);
1508
ccs = new
CodeCommentStatement
(comment, true);
1510
ccs = new
CodeCommentStatement
(SummaryEndTag, true);
System.Windows.Forms.Design (20)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (3)
438
entry.Statements.Insert(0, new
CodeCommentStatement
(string.Empty));
439
entry.Statements.Insert(0, new
CodeCommentStatement
(name));
440
entry.Statements.Insert(0, new
CodeCommentStatement
(string.Empty));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (17)
375
classType.Comments.Add(
new
(DocCommentSummaryStart, docComment: true));
376
classType.Comments.Add(
new
(SR.ClassDocComment, docComment: true));
377
classType.Comments.Add(
new
(DocCommentSummaryEnd, docComment: true));
485
classDeclaration.Comments.Add(
new
(SR.ClassComments1));
486
classDeclaration.Comments.Add(
new
(SR.ClassComments2));
487
classDeclaration.Comments.Add(
new
(SR.ClassComments3));
488
classDeclaration.Comments.Add(
new
(SR.ClassComments4));
625
resourceManagerProperty.Comments.Add(
new
(DocCommentSummaryStart, docComment: true));
626
resourceManagerProperty.Comments.Add(
new
(SR.ResMgrPropertyComment, docComment: true));
627
resourceManagerProperty.Comments.Add(
new
(DocCommentSummaryEnd, docComment: true));
637
culture.Comments.Add(
new
(DocCommentSummaryStart, docComment: true));
638
culture.Comments.Add(
new
(SR.CulturePropertyComment1, docComment: true));
639
culture.Comments.Add(
new
(SR.CulturePropertyComment2, docComment: true));
640
culture.Comments.Add(
new
(DocCommentSummaryEnd, docComment: true));
783
property.Comments.Add(
new
(DocCommentSummaryStart, docComment: true));
784
property.Comments.Add(
new
(text, docComment: true));
785
property.Comments.Add(
new
(DocCommentSummaryEnd, docComment: true));
System.Windows.Forms.Design.Tests (21)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (21)
147
new
CodeCommentStatement
(string.Empty),
148
new
CodeCommentStatement
("name1"),
149
new
CodeCommentStatement
(string.Empty),
161
new
CodeCommentStatement
(string.Empty),
162
new
CodeCommentStatement
("name2"),
163
new
CodeCommentStatement
(string.Empty),
249
new
CodeCommentStatement
(string.Empty),
250
new
CodeCommentStatement
("name"),
251
new
CodeCommentStatement
(string.Empty),
351
new
CodeCommentStatement
(string.Empty),
352
new
CodeCommentStatement
("name"),
353
new
CodeCommentStatement
(string.Empty),
396
new
CodeCommentStatement
(string.Empty),
397
new
CodeCommentStatement
("name"),
398
new
CodeCommentStatement
(string.Empty),
537
new
CodeCommentStatement
(string.Empty),
538
new
CodeCommentStatement
("name"),
539
new
CodeCommentStatement
(string.Empty),
586
new
CodeCommentStatement
(string.Empty),
587
new
CodeCommentStatement
("name"),
588
new
CodeCommentStatement
(string.Empty),
27 references to CodeCommentStatement
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
213
var
comment = new CodeCommentStatement(SR.GetString(SR.ClassComments1), true);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1506
CodeCommentStatement
ccs = new CodeCommentStatement(SummaryStartTag, true);
System (1)
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)
549
if (e is
CodeCommentStatement
)
551
GenerateCommentStatement((
CodeCommentStatement
)e);
913
private void GenerateCommentStatement(
CodeCommentStatement
e)
924
foreach (
CodeCommentStatement
comment in e)
Microsoft\VisualBasic\VBCodeGenerator.cs (3)
1203
private static bool IsDocComment(
CodeCommentStatement
comment)
1214
foreach (
CodeCommentStatement
comment in e)
1222
foreach (
CodeCommentStatement
comment in e)
System\CodeDom\CodeCommentStatementCollection.cs (10)
17
public CodeCommentStatementCollection(
CodeCommentStatement
[] value)
22
public
CodeCommentStatement
this[int index]
24
get { return (
CodeCommentStatement
)List[index]; }
28
public int Add(
CodeCommentStatement
value) => List.Add(value);
30
public void AddRange(
CodeCommentStatement
[] value)
57
public bool Contains(
CodeCommentStatement
value) => List.Contains(value);
59
public void CopyTo(
CodeCommentStatement
[] array, int index) => List.CopyTo(array, index);
61
public int IndexOf(
CodeCommentStatement
value) => List.IndexOf(value);
63
public void Insert(int index,
CodeCommentStatement
value) => List.Insert(index, value);
65
public void Remove(
CodeCommentStatement
value) => List.Remove(value);
System\CodeDom\Compiler\CodeGenerator.cs (4)
895
if (e is
CodeCommentStatement
)
897
GenerateCommentStatement((
CodeCommentStatement
)e);
1519
protected virtual void GenerateCommentStatement(
CodeCommentStatement
e)
1540
foreach (
CodeCommentStatement
comment in e)
System\CodeDom\Compiler\CodeValidator.cs (1)
403
if (e is
CodeCommentStatement
)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
419
else if (statement is
CodeCommentStatement
)
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
74
case
CodeCommentStatement
ccs: