Skip to content

Commit a174c8a

Browse files
ChrisMaddockmairaw
authored andcommitted
Add language identifiers to inline snippets (dotnet#178)
1 parent b99ce19 commit a174c8a

File tree

20 files changed

+39
-39
lines changed

20 files changed

+39
-39
lines changed

xml/Microsoft.Build.Execution/ProjectItemInstance.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@
440440
441441
The <xref:Microsoft.Build.Framework.ITaskItem.ItemSpec%2A> for the following item declaration in a project file is `File.cs`.
442442
443-
```
443+
```xml
444444
<ItemGroup>
445445
<Compile Include="File.cs"/>
446446
</ItemGroup>

xml/Microsoft.Build.Framework/ITaskItem.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
159159
The <xref:Microsoft.Build.Framework.ITaskItem.ItemSpec%2A> for the following item declaration in a project file is `File.cs`.
160160
161-
```
161+
```xml
162162
<ItemGroup>
163163
<Compile Include="File.cs"/>
164164
</ItemGroup>

xml/Microsoft.Build.Framework/RequiredAttribute.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
3737
To run this task use a project file like this:
3838
39-
```
39+
```xml
4040
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4141
<Target Name="MyTarget">
4242
<MkDir Directories="NewDir" />

xml/Microsoft.Build.Tasks/GenerateApplicationManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
In [!INCLUDE[vs_orcas_long](~/includes/vs-orcas-long-md.md)], [!INCLUDE[vstecmsbuild](~/includes/vstecmsbuild-md.md)] does not issue this error when the `EntryPoint` task parameter is not specified. Instead, the \<customHostSpecified> tag is inserted as a child of the \<entryPoint> tag, for example, as follows.
2626
27-
```
27+
```xml
2828
<entryPoint xmlns="urn:schemas-
2929
microsoft-com:asm.v2">
3030
<co.v1:customHostSpecified />
@@ -197,7 +197,7 @@
197197
## Remarks
198198
File types can be custom. The following is an example of a [\<fileAssociation> Element (ClickOnce Application)](http://msdn.microsoft.com/library/8f951b4f-54f9-412e-a9e5-af4e379fcf08):
199199
200-
```
200+
```xml
201201
<FileAssociation Include=".nyt">
202202
<ProgId>NewYorkTimes.Document</ProgId>
203203
<DefaultIcon>nyt.ico</DefaultIcon>

xml/Microsoft.Build.Tasks/ResolveAssemblyReference.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
481481
Format of the file is like: etc.
482482
483-
```
483+
```xml
484484
<FileList Redist="MatchingRedistListName" >
485485
<File AssemblyName="System" Version="2.0.0.0"
486486
PublicKeyToken="b77a5c561934e089" Culture="neutral"
@@ -662,7 +662,7 @@
662662
## Remarks
663663
This is the format of the file:
664664
665-
```
665+
```xml
666666
<FileList Redist="ClientSubset" >
667667
<File AssemblyName="System" Version="2.0.0.0"
668668
PublicKeyToken="b77a5c561934e089" Culture="neutral"

xml/Microsoft.Build.Utilities/TaskItem.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
## Remarks
279279
The <xref:Microsoft.Build.Framework.ITaskItem.ItemSpec%2A> for the following item declaration in a project file is `File.cs`.
280280
281-
```
281+
```xml
282282
<ItemGroup>
283283
<Compile Include="File.cs"/>
284284
</ItemGroup>

xml/Microsoft.Build.Utilities/ToolTask.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
239239
## Examples
240240
241-
```
241+
```csharp
242242
using System;
243243
using Microsoft.Build.Utilities;
244244
using System.Collections.Specialized;

xml/Microsoft.CSharp/CSharpCodeProvider.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
## Examples
110110
The following configuration file example demonstrates how to specify that version 3.5 of the C# code provider should be used.
111111
112-
```
112+
```xml
113113
<configuration>
114114
<system.codedom>
115115
<compilers>

xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@
14121412
## Examples
14131413
This example demonstrates how to set the GDI+ text rendering engine as the application's default rendering engine by overriding the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.UseCompatibleTextRendering%2A> property.
14141414
1415-
```
1415+
```vb
14161416
Protected Overloads Shared ReadOnly Property UseCompatibleTextRendering() As Boolean
14171417
Get
14181418
' Use the GDI+ text rendering engine.

xml/Microsoft.VisualBasic.Compatibility.VB6/FixedLengthString.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
## Examples
3535
The following example demonstrates how to declare and use a `FixedLengthString`.
3636
37-
```
37+
```vb
3838
Private Sub DemoFixedLengthString()
3939
' Declare a string that has a length of 7 characters and assign the
4040
' initial string. The additional 5 positions will be padded with
@@ -94,7 +94,7 @@ End Sub
9494
## Examples
9595
The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>.
9696
97-
```
97+
```vb
9898
Private Sub DemoFixedLengthString()
9999
' Declare a string that has a length of 7 characters.
100100
Dim fixedString As New FixedLengthString(7)
@@ -144,7 +144,7 @@ End Sub
144144
## Examples
145145
The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>.
146146
147-
```
147+
```vb
148148
Private Sub DemoFixedLengthString()
149149
' Declare a string that has a length of 7 characters and assign the
150150
' initial string. The additional 5 positions will be padded with
@@ -246,7 +246,7 @@ End Sub
246246
## Examples
247247
The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>.
248248
249-
```
249+
```vb
250250
Private Sub DemoFixedLengthString()
251251
' Declare a string that has a length of 7 characters and assign the
252252
' initial string. The additional 5 positions will be padded with
@@ -295,7 +295,7 @@ End Sub
295295
## Examples
296296
The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>.
297297
298-
```
298+
```vb
299299
Private Sub DemoFixedLengthString()
300300
' Declare a string that has a length of 7 characters and assign the
301301
' initial string. The additional 5 positions will be padded with

0 commit comments

Comments
 (0)