@@ -85,24 +85,72 @@ public override Expression GenerateCodeLiteral(object value)
8585 private static readonly MethodInfo IPAddressParseMethod = typeof ( IPAddress ) . GetMethod ( "Parse" , new [ ] { typeof ( string ) } ) ! ;
8686 private static readonly ConstructorInfo NpgsqlInetConstructor = typeof ( NpgsqlInet ) . GetConstructor ( new [ ] { typeof ( string ) } ) ! ;
8787
88- private sealed class JsonIPAddressReaderWriter : JsonValueReaderWriter < IPAddress >
88+ /// <summary>
89+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
90+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
91+ /// any release. You should only use it directly in your code with extreme caution and knowing that
92+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
93+ /// </summary>
94+ public sealed class JsonIPAddressReaderWriter : JsonValueReaderWriter < IPAddress >
8995 {
96+ /// <summary>
97+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
98+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
99+ /// any release. You should only use it directly in your code with extreme caution and knowing that
100+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
101+ /// </summary>
90102 public static JsonIPAddressReaderWriter Instance { get ; } = new ( ) ;
91103
104+ /// <summary>
105+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
106+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
107+ /// any release. You should only use it directly in your code with extreme caution and knowing that
108+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
109+ /// </summary>
92110 public override IPAddress FromJsonTyped ( ref Utf8JsonReaderManager manager , object ? existingObject = null )
93111 => IPAddress . Parse ( manager . CurrentReader . GetString ( ) ! ) ;
94112
113+ /// <summary>
114+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
115+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
116+ /// any release. You should only use it directly in your code with extreme caution and knowing that
117+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
118+ /// </summary>
95119 public override void ToJsonTyped ( Utf8JsonWriter writer , IPAddress value )
96120 => writer . WriteStringValue ( value . ToString ( ) ) ;
97121 }
98122
99- private sealed class JsonNpgsqlInetReaderWriter : JsonValueReaderWriter < NpgsqlInet >
123+ /// <summary>
124+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
125+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
126+ /// any release. You should only use it directly in your code with extreme caution and knowing that
127+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
128+ /// </summary>
129+ public sealed class JsonNpgsqlInetReaderWriter : JsonValueReaderWriter < NpgsqlInet >
100130 {
131+ /// <summary>
132+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
133+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
134+ /// any release. You should only use it directly in your code with extreme caution and knowing that
135+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
136+ /// </summary>
101137 public static JsonNpgsqlInetReaderWriter Instance { get ; } = new ( ) ;
102138
139+ /// <summary>
140+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
141+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
142+ /// any release. You should only use it directly in your code with extreme caution and knowing that
143+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
144+ /// </summary>
103145 public override NpgsqlInet FromJsonTyped ( ref Utf8JsonReaderManager manager , object ? existingObject = null )
104146 => new ( manager . CurrentReader . GetString ( ) ! ) ;
105147
148+ /// <summary>
149+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
150+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
151+ /// any release. You should only use it directly in your code with extreme caution and knowing that
152+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
153+ /// </summary>
106154 public override void ToJsonTyped ( Utf8JsonWriter writer , NpgsqlInet value )
107155 => writer . WriteStringValue ( value . ToString ( ) ) ;
108156 }
0 commit comments