github-code-scanning[bot] commented on code in PR #2215:
URL: https://github.com/apache/avro/pull/2215#discussion_r1189421942


##########
lang/csharp/src/apache/main/CodeGen/CodeGen.cs:
##########
@@ -1136,6 +1136,48 @@
             }
         }
 
+        /// <summary>
+        /// Gets names and generated code of the schema(s) types
+        /// </summary>
+        /// <returns></returns>
+        public virtual IDictionary<string, string> GetTypes()
+        {
+            var cscp = new CSharpCodeProvider();

Review Comment:
   ## Missing Dispose call on local IDisposable
   
   Disposable 'CSharpCodeProvider' is created but not disposed.
   
   [Show more 
details](https://github.com/apache/avro/security/code-scanning/2987)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to