Skip to content

Commit e087b38

Browse files
svickguardrex
authored andcommitted
Fixed smart quotes (dotnet#2147)
1 parent 55293d4 commit e087b38

File tree

21 files changed

+36
-36
lines changed

21 files changed

+36
-36
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Section 8 -- Interpretation.
378378
Creative Commons is not a party to its public
379379
licenses. Notwithstanding, Creative Commons may elect to apply one of
380380
its public licenses to material it publishes and in those instances
381-
will be considered the Licensor. The text of the Creative Commons
381+
will be considered the "Licensor." The text of the Creative Commons
382382
public licenses is dedicated to the public domain under the CC0 Public
383383
Domain Dedication. Except for the limited purpose of indicating that
384384
material is shared under a Creative Commons public license or as

samples/snippets/csharp/VS_Snippets_CFX/servicehostfactory/cs/program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ public override ServiceHostBase CreateServiceHost
8484
//To use this factory instead of the default factory,
8585
//provide the type name in the @ServiceHost directive as follows:
8686

87-
//<% @ServiceHost Factory=DerivedFactory Service=MyService %>
87+
//<% @ServiceHost Factory="DerivedFactory" Service="MyService" %>
8888

8989
}

samples/snippets/csharp/VS_Snippets_CLR/conceptual.globalization/cs/codepages1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ public static void Main()
4040
}
4141
// The example displays the following output:
4242
// ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
43-
// €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—
43+
// €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’""•–—
4444
// </Snippet1>

samples/snippets/csharp/VS_Snippets_VBCSharp/csasyncbridgecancellation/cs/mainpage.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void DisplayResults(SyndicationFeed sf)
169169
// Windows Restart and Recovery Recipe, 3/21/2011 2:13:24 PM -07:00
170170

171171
// Extreme Windows Blog
172-
// Samsung Series 9 27 PLS Display: Amazing Picture, 8/20/2012 2:41:48 PM -07:00
172+
// Samsung Series 9 27" PLS Display: Amazing Picture, 8/20/2012 2:41:48 PM -07:00
173173
// NVIDIA GeForce GTX 660 Ti Graphics Card: Affordable Graphics Powerhouse, 8/16/2012 10:56:19 AM -07:00
174174
// HP Z820 Workstation: Rising To the Challenge, 8/14/2012 1:57:01 PM -07:00
175175

samples/snippets/csharp/VS_Snippets_VBCSharp/vbtddwalkthrough/cs/authoringtests.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ by the test.
5252
Changing the way that tests are run
5353
-----------------------------------
5454
Each time you run one or more tests, a collection of settings is used to
55-
determine how those tests are run. These settings are contained in a test
56-
settings file.
55+
determine how those tests are run. These settings are contained in a "test
56+
settings" file.
5757

5858
Here is a partial list of the changes you can make with a test settings file:
5959

@@ -81,7 +81,7 @@ Explorer and then changing the test settings. (Test settings files have the
8181
extension .testsettings.)
8282

8383
A solution can contain multiple test settings files. Only one of those
84-
files, known as the Active test settings file, is used to determine the
84+
files, known as the "Active" test settings file, is used to determine the
8585
settings that are currently used for test runs. You select the active test
8686
settings by clicking Select Active Test Settings on the Test menu.
8787

@@ -122,8 +122,8 @@ you can turn into generic tests:
122122
test passed or failed. 0 indicates passing and any other value indicates
123123
a failure.
124124
- A general program to obtain specific functionality during a test scenario.
125-
- A test or program that uses a special XML file (called a summary results
126-
file), to communicate detailed results.
125+
- A test or program that uses a special XML file (called a "summary results
126+
file"), to communicate detailed results.
127127

128128
Manual test: The manual test type is used when the test tasks are to be
129129
completed by a test engineer as opposed to an automated script.

samples/snippets/csharp/VS_Snippets_Wpf/DocumentStructure/CSharp/Spec_withStructure-xps/Pages/FixedPage_1.fpage

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<!--System.Windows.Documents.Glyphs-->
142142
<Glyphs OriginX="144" OriginY="277.76" FontRenderingEmSize="10.72"
143143
FontUri="/Resources/Fonts/64326a24-1829-4393-8602-67e5b520db43.ODTTF"
144-
UnicodeString="organized as one or more documents in the traditional meaning of the word. A file that implements this "
144+
UnicodeString="organized as one or more "documents" in the traditional meaning of the word. A file that implements this "
145145
Indices=";,42;;;;;;;;;,59;;,34;;;;,34;;,42;;,95;;;,58;;,45;;,60;;;;;;;;;;;;;;;,59;;;;;;;;;;;;;;,95;,58;;;;;;;;,34;;;;;;;,60;;;,34;;,67;;;;;;;;;;;;,25"
146146
Fill="#FF000000" />
147147
<!--System.Windows.Documents.Glyphs-->

samples/snippets/csharp/VS_Snippets_Wpf/DocumentStructure/CSharp/Spec_withoutStructure-xps/Pages/FixedPage_1.fpage

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<!--System.Windows.Documents.Glyphs-->
142142
<Glyphs OriginX="144" OriginY="277.76" FontRenderingEmSize="10.72"
143143
FontUri="/Resources/Fonts/64326a24-1829-4393-8602-67e5b520db43.ODTTF"
144-
UnicodeString="organized as one or more documents in the traditional meaning of the word. A file that implements this "
144+
UnicodeString="organized as one or more "documents" in the traditional meaning of the word. A file that implements this "
145145
Indices=";,42;;;;;;;;;,59;;,34;;;;,34;;,42;;,95;;;,58;;,45;;,60;;;;;;;;;;;;;;;,59;;;;;;;;;;;;;;,95;,58;;;;;;;;,34;;;;;;;,60;;;,34;;,67;;;;;;;;;;;;,25"
146146
Fill="#FF000000" />
147147
<!--System.Windows.Documents.Glyphs-->

samples/snippets/csharp/VS_Snippets_Wpf/FindText/CSharp/Content/FlowDocumentSample2.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
>
1010
<Paragraph>
1111
<Italic>
12-
One of the most important operations necessary when text materials
12+
"One of the most important operations necessary when text materials
1313
are prepared for printing or display is the task of dividing long
1414
paragraphs into individual lines. When this job has been done well,
1515
people will not be aware of the fact that the words they are reading
1616
have been broken apart arbitrarily and placed into a somewhat rigid
1717
and unnatural rectangular framework; but if the job has been done
1818
poorly, readers will be distracted by bad breaks that interrupt
19-
their train of thought.
19+
their train of thought."
2020
</Italic>
2121
</Paragraph>
2222
<Paragraph>
@@ -32,7 +32,7 @@
3232
<Paragraph>
3333
Knuth started his revolutionary work of developing a computer program to
3434
produce high quality publication in the late ’70. The program he developed
35-
called TEX (pronounced tek) is highly regarded as the work that helps
35+
called TEX (pronounced "tek") is highly regarded as the work that helps
3636
shape the field of digital typography and desktop publishing. It is still
3737
being widely used and constantly extended by many others up to today. One
3838
of the most intriguing inventions in this program is its ability to produce

samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,14 @@
341341
>
342342
<Paragraph>
343343
<Italic>
344-
One of the most important operations necessary when text materials
344+
"One of the most important operations necessary when text materials
345345
are prepared for printing or display is the task of dividing long
346346
paragraphs into individual lines. When this job has been done well,
347347
people will not be aware of the fact that the words they are reading
348348
have been broken apart arbitrarily and placed into a somewhat rigid
349349
and unnatural rectangular framework; but if the job has been done
350350
poorly, readers will be distracted by bad breaks that interrupt
351-
their train of thought.
351+
their train of thought."
352352
</Italic>
353353
</Paragraph>
354354
<Paragraph>
@@ -364,7 +364,7 @@
364364
<Paragraph>
365365
Knuth started his revolutionary work of developing a computer program to
366366
produce high quality publication in the late ’70. The program he developed
367-
called TEX (pronounced tek) is highly regarded as the work that helps
367+
called TEX (pronounced "tek") is highly regarded as the work that helps
368368
shape the field of digital typography and desktop publishing. It is still
369369
being widely used and constantly extended by many others up to today. One
370370
of the most intriguing inventions in this program is its ability to produce

samples/snippets/csharp/VS_Snippets_Wpf/OpenTypeFontsSample/CS/Readme.htm

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ <H1><A name="VSALL"><font size="3" face="Arial">Readme: Microsoft
128128
<font face="Verdana" color="black" size="1">
129129
<span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">
130130
&nbsp;For more information and code samples see the SDK documentation
131-
sections Sample OpenType Font Pack”, “OpenType Font Features and
132-
Packaging Fonts with Applications.</span></font></p>
131+
sections "Sample OpenType Font Pack", "OpenType Font Features" and
132+
"Packaging Fonts with Applications."</span></font></p>
133133
<p class="MsoNormal" style="MARGIN-LEFT: 0.5in">
134134
<font face="Verdana" color="black" size="1">
135135
<span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">&nbsp;OpenType
Binary file not shown.

samples/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ Namespace CS
7777
'To use this factory instead of the default factory,
7878
'provide the type name in the @ServiceHost directive as follows:
7979

80-
'<% @ServiceHost Factory=DerivedFactory Service=MyService %>
80+
'<% @ServiceHost Factory="DerivedFactory" Service="MyService" %>
8181

8282
End Namespace

samples/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ NotInheritable Public Class SoundPermission
170170
Public Overrides Function ToXml() As SecurityElement
171171
' These first three lines create an element with the required format.
172172
Dim e As New SecurityElement("IPermission")
173-
' Replace the double quotation marks (“”) with single quotation marks (‘’)
173+
' Replace the double quotation marks ("") with single quotation marks (‘’)
174174
' to remain XML compliant when the culture is not neutral.
175175
e.AddAttribute("class", [GetType]().AssemblyQualifiedName.Replace(ControlChars.Quote, "'"c))
176176
e.AddAttribute("version", "1")

samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.globalization/vb/codepages1.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ Module Example
4040
End Module
4141
' The example displays the following output:
4242
' ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
43-
' €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—
43+
' €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’""•–—
4444
' </Snippet1>
4545

samples/snippets/visualbasic/VS_Snippets_VBCSharp/csasyncbridgecancellation/vb/mainpage.xaml.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ End Class
136136
' Windows Restart and Recovery Recipe, 3/21/2011 2:13:24 PM -07:00
137137

138138
' Extreme Windows Blog
139-
' Samsung Series 9 27 PLS Display: Amazing Picture, 8/20/2012 2:41:48 PM -07:00
139+
' Samsung Series 9 27" PLS Display: Amazing Picture, 8/20/2012 2:41:48 PM -07:00
140140
' NVIDIA GeForce GTX 660 Ti Graphics Card: Affordable Graphics Powerhouse, 8/16/2012 10:56:19 AM -07:00
141141
' HP Z820 Workstation: Rising To the Challenge, 8/14/2012 1:57:01 PM -07:00
142142

samples/snippets/visualbasic/VS_Snippets_VBCSharp/vbtddwalkthrough/vb/authoringtests.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ by the test.
5252
Changing the way that tests are run
5353
-----------------------------------
5454
Each time you run one or more tests, a collection of settings is used to
55-
determine how those tests are run. These settings are contained in a test
56-
settings file.
55+
determine how those tests are run. These settings are contained in a "test
56+
settings" file.
5757

5858
Here is a partial list of the changes you can make with a test settings file:
5959

@@ -81,7 +81,7 @@ Explorer and then changing the test settings. (Test settings files have the
8181
extension .testsettings.)
8282

8383
A solution can contain multiple test settings files. Only one of those
84-
files, known as the Active test settings file, is used to determine the
84+
files, known as the "Active" test settings file, is used to determine the
8585
settings that are currently used for test runs. You select the active test
8686
settings by clicking Select Active Test Settings on the Test menu.
8787

@@ -122,8 +122,8 @@ you can turn into generic tests:
122122
test passed or failed. 0 indicates passing and any other value indicates
123123
a failure.
124124
- A general program to obtain specific functionality during a test scenario.
125-
- A test or program that uses a special XML file (called a summary results
126-
file), to communicate detailed results.
125+
- A test or program that uses a special XML file (called a "summary results
126+
file"), to communicate detailed results.
127127

128128
Manual test: The manual test type is used when the test tasks are to be
129129
completed by a test engineer as opposed to an automated script.

samples/snippets/visualbasic/VS_Snippets_Wpf/DocumentStructure/visualbasic/spec_withoutstructure-xps/pages/fixedpage_1.fpage

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<!--System.Windows.Documents.Glyphs-->
142142
<Glyphs OriginX="144" OriginY="277.76" FontRenderingEmSize="10.72"
143143
FontUri="/Resources/Fonts/64326a24-1829-4393-8602-67e5b520db43.ODTTF"
144-
UnicodeString="organized as one or more documents in the traditional meaning of the word. A file that implements this "
144+
UnicodeString="organized as one or more "documents" in the traditional meaning of the word. A file that implements this "
145145
Indices=";,42;;;;;;;;;,59;;,34;;;;,34;;,42;;,95;;;,58;;,45;;,60;;;;;;;;;;;;;;;,59;;;;;;;;;;;;;;,95;,58;;;;;;;;,34;;;;;;;,60;;;,34;;,67;;;;;;;;;;;;,25"
146146
Fill="#FF000000" />
147147
<!--System.Windows.Documents.Glyphs-->

samples/snippets/visualbasic/VS_Snippets_Wpf/DocumentStructure/visualbasic/spec_withstructure-xps/pages/fixedpage_1.fpage

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<!--System.Windows.Documents.Glyphs-->
142142
<Glyphs OriginX="144" OriginY="277.76" FontRenderingEmSize="10.72"
143143
FontUri="/Resources/Fonts/64326a24-1829-4393-8602-67e5b520db43.ODTTF"
144-
UnicodeString="organized as one or more documents in the traditional meaning of the word. A file that implements this "
144+
UnicodeString="organized as one or more "documents" in the traditional meaning of the word. A file that implements this "
145145
Indices=";,42;;;;;;;;;,59;;,34;;;;,34;;,42;;,95;;;,58;;,45;;,60;;;;;;;;;;;;;;;,59;;;;;;;;;;;;;;,95;,58;;;;;;;;,34;;;;;;;,60;;;,34;;,67;;;;;;;;;;;;,25"
146146
Fill="#FF000000" />
147147
<!--System.Windows.Documents.Glyphs-->

samples/snippets/visualbasic/VS_Snippets_Wpf/FindText/VisualBasic/Content/FlowDocumentSample2.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
>
1010
<Paragraph>
1111
<Italic>
12-
One of the most important operations necessary when text materials
12+
"One of the most important operations necessary when text materials
1313
are prepared for printing or display is the task of dividing long
1414
paragraphs into individual lines. When this job has been done well,
1515
people will not be aware of the fact that the words they are reading
1616
have been broken apart arbitrarily and placed into a somewhat rigid
1717
and unnatural rectangular framework; but if the job has been done
1818
poorly, readers will be distracted by bad breaks that interrupt
19-
their train of thought.
19+
their train of thought."
2020
</Italic>
2121
</Paragraph>
2222
<Paragraph>
@@ -32,7 +32,7 @@
3232
<Paragraph>
3333
Knuth started his revolutionary work of developing a computer program to
3434
produce high quality publication in the late ’70. The program he developed
35-
called TEX (pronounced tek) is highly regarded as the work that helps
35+
called TEX (pronounced "tek") is highly regarded as the work that helps
3636
shape the field of digital typography and desktop publishing. It is still
3737
being widely used and constantly extended by many others up to today. One
3838
of the most intriguing inventions in this program is its ability to produce

samples/snippets/visualbasic/VS_Snippets_Wpf/FlowDocumentSnippets/visualbasic/window1.xaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -316,14 +316,14 @@
316316
>
317317
<Paragraph>
318318
<Italic>
319-
One of the most important operations necessary when text materials
319+
"One of the most important operations necessary when text materials
320320
are prepared for printing or display is the task of dividing long
321321
paragraphs into individual lines. When this job has been done well,
322322
people will not be aware of the fact that the words they are reading
323323
have been broken apart arbitrarily and placed into a somewhat rigid
324324
and unnatural rectangular framework; but if the job has been done
325325
poorly, readers will be distracted by bad breaks that interrupt
326-
their train of thought.
326+
their train of thought."
327327
</Italic>
328328
</Paragraph>
329329
<Paragraph>
@@ -339,7 +339,7 @@
339339
<Paragraph>
340340
Knuth started his revolutionary work of developing a computer program to
341341
produce high quality publication in the late ’70. The program he developed
342-
called TEX (pronounced tek) is highly regarded as the work that helps
342+
called TEX (pronounced "tek") is highly regarded as the work that helps
343343
shape the field of digital typography and desktop publishing. It is still
344344
being widely used and constantly extended by many others up to today. One
345345
of the most intriguing inventions in this program is its ability to produce
Binary file not shown.

0 commit comments

Comments
 (0)