From fcc696d171efe062caaac24c158dfce61e463646 Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Fri, 18 May 2018 18:49:13 -0700 Subject: [PATCH 1/2] formatting fixes --- .../programming-guide/xmldoc/processing-the-xml-file.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md b/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md index f14d1fec76bc9..b08f18512afa3 100644 --- a/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md +++ b/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md @@ -35,7 +35,7 @@ The compiler generates an ID string for each construct in your code that is tagg - Intrinsic types (for example, ELEMENT_TYPE_I4, ELEMENT_TYPE_OBJECT, ELEMENT_TYPE_STRING, ELEMENT_TYPE_TYPEDBYREF. and ELEMENT_TYPE_VOID) are represented as the fully qualified name of the corresponding full type. For example, System.Int32 or System.TypedReference. - - ELEMENT_TYPE_PTR is represented as a '*' following the modified type. + - ELEMENT_TYPE_PTR is represented as a '\*' following the modified type. - ELEMENT_TYPE_BYREF is represented as a '\@' following the modified type. @@ -63,11 +63,11 @@ The compiler generates an ID string for each construct in your code that is tagg - For conversion operators only (op_Implicit and op_Explicit), the return value of the method is encoded as a '~' followed by the return type, as encoded above. -- For generic types, the name of the type will be followed by a back tick and then a number that indicates the number of generic type parameters. For example, +- For generic types, the name of the type will be followed by a back tick and then a number that indicates the number of generic type parameters. For example, ```` is the tag for a type that is defined as `public class SampleClass`. - For methods taking generic types as parameters, the generic type parameters are specified as numbers prefaced with back ticks (for example \`0,`1). Each number representing a zero-based array notation for the type's generic parameters. + For methods taking generic types as parameters, the generic type parameters are specified as numbers prefaced with backticks (for example \`0,\`1). Each number representing a zero-based array notation for the type's generic parameters. ## Examples The following examples show how the ID strings for a class and its members would be generated: From 17f3d09fccacc667b3b71c9cb79f874a88a63fdf Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Fri, 18 May 2018 18:50:47 -0700 Subject: [PATCH 2/2] Update processing-the-xml-file.md --- docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md b/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md index b08f18512afa3..5f4f61e7f042c 100644 --- a/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md +++ b/docs/csharp/programming-guide/xmldoc/processing-the-xml-file.md @@ -63,7 +63,7 @@ The compiler generates an ID string for each construct in your code that is tagg - For conversion operators only (op_Implicit and op_Explicit), the return value of the method is encoded as a '~' followed by the return type, as encoded above. -- For generic types, the name of the type will be followed by a back tick and then a number that indicates the number of generic type parameters. For example, +- For generic types, the name of the type is followed by a backtick and then a number that indicates the number of generic type parameters. For example: ```` is the tag for a type that is defined as `public class SampleClass`.