Fix xmldoc of TypeGenerationSpec (#59361)
authorHuo Yaoyuan <huoyaoyuan@hotmail.com>
Thu, 23 Sep 2021 00:48:59 +0000 (08:48 +0800)
committerGitHub <noreply@github.com>
Thu, 23 Sep 2021 00:48:59 +0000 (17:48 -0700)
* Fix xmldoc of TypeGenerationSpec

* Apply suggestions from code review

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
src/libraries/System.Text.Json/gen/TypeGenerationSpec.cs

index 1b83543..bf56781 100644 (file)
@@ -19,7 +19,7 @@ namespace System.Text.Json.SourceGeneration
         public string TypeRef { get; private set; }
 
         /// <summary>
-        /// The name of the public JsonTypeInfo<T> property for this type on the generated context class.
+        /// The name of the public <c>JsonTypeInfo&lt;T&gt;</c> property for this type on the generated context class.
         /// For example, if the context class is named MyJsonContext, and the value of this property is JsonMessage;
         /// then users will call MyJsonContext.JsonMessage to access generated metadata for the type.
         /// </summary>
@@ -59,8 +59,8 @@ namespace System.Text.Json.SourceGeneration
         public TypeGenerationSpec? NullableUnderlyingTypeMetadata { get; private set; }
 
         /// <summary>
-        /// Supports deserialization of extension data dictionaries typed as I[ReadOnly]Dictionary<string, object/JsonElement>.
-        /// Specifies a concrete type to instanciate, which would be Dictionary<string, object/JsonElement>.
+        /// Supports deserialization of extension data dictionaries typed as <c>I[ReadOnly]Dictionary&lt;string, object/JsonElement&gt;</c>.
+        /// Specifies a concrete type to instanciate, which would be <c>Dictionary&lt;string, object/JsonElement&gt;</c>.
         /// </summary>
         public string? RuntimeTypeRef { get; private set; }