Skip to content

Commit cb8853c

Browse files
authored
Apply suggestions from code review
1 parent a4fca9d commit cb8853c

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

xml/System.Xml.Linq/XAttribute.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3062,7 +3062,7 @@ Console.WriteLine(root)
30623062
30633063
This example produces the following output:
30643064
3065-
```txt
3065+
```xml
30663066
<Root Att1="content1" Att3="content3" />
30673067
```
30683068
@@ -3149,7 +3149,7 @@ Console.WriteLine(root)
31493149
31503150
This example produces the following output:
31513151
3152-
```txt
3152+
```xml
31533153
<Root Att1="content1" Att2="new content" Att3="content3" />
31543154
```
31553155

xml/System.Xml.Linq/XDocument.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Console.WriteLine(doc.Declaration)
731731
732732
This example produces the following output:
733733
734-
```txt
734+
```xml
735735
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
736736
```
737737
@@ -1163,7 +1163,7 @@ Console.WriteLine(doc)
11631163
11641164
This example produces the following output:
11651165
1166-
```txt
1166+
```xml
11671167
<PurchaseOrder PurchaseOrderNumber="99503" OrderDate="1999-10-20">
11681168
<Address Type="Shipping">
11691169
<Name>Ellen Adams</Name>
@@ -3032,7 +3032,7 @@ Console.WriteLine(File.ReadAllText("Root2.xml"))
30323032
30333033
This example produces the following output:
30343034
3035-
```txt
3035+
```xml
30363036
<?xml version="1.0" encoding="utf-8"?><Root><Child>content</Child></Root>
30373037
<?xml version="1.0" encoding="utf-8"?>
30383038
<Root>

xml/System.Xml.Linq/XElement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Console.WriteLine(xse)
578578
579579
This example produces the following output:
580580
581-
```txt
581+
```xml
582582
<NewRoot>
583583
<Child2>2</Child2>
584584
<Child3>3</Child3>

xml/System.Xml.Linq/XNamespace.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ End Module
659659
660660
This example produces the following output:
661661
662-
```txt
662+
```xml
663663
<Root xmlns="http://www.adventure-works.com">
664664
<Child />
665665
</Root>
@@ -1056,7 +1056,7 @@ Console.WriteLine(root)
10561056
10571057
This example produces the following output:
10581058
1059-
```txt
1059+
```xml
10601060
<Root xml:space="preserve">
10611061
<Child>content</Child>
10621062
</Root>
@@ -1151,7 +1151,7 @@ End Module
11511151
11521152
This example produces the following output:
11531153
1154-
```txt
1154+
```xml
11551155
<aw:Root xmlns:aw="http://www.adventure-works.com">
11561156
<aw:Child>content</aw:Child>
11571157
</aw:Root>

xml/System.Xml.Linq/XProcessingInstruction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Console.WriteLine(pi)
185185
186186
This example produces the following output:
187187
188-
```txt
188+
```xml
189189
<?xml-stylesheet type='text/xsl' href='hello.xsl'?>
190190
```
191191

xml/System.Xml.Linq/XStreamingElement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ Console.WriteLine(dstTree)
593593
594594
This example produces the following output:
595595
596-
```txt
596+
```xml
597597
<NewRoot>
598598
<DifferentChild>3</DifferentChild>
599599
<DifferentChild>4</DifferentChild>

0 commit comments

Comments
 (0)