Mark GeneratedComClass code as generated (#87342)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Sat, 10 Jun 2023 18:15:56 +0000 (11:15 -0700)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2023 18:15:56 +0000 (11:15 -0700)
src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComClassGenerator.cs

index 5085cbc..b8824c7 100644 (file)
@@ -56,6 +56,7 @@ namespace Microsoft.Interop
             {
                 var ((className, classInfoType), attribute) = classInfo;
                 StringWriter writer = new();
+                writer.WriteLine("// <auto-generated />");
                 writer.WriteLine(classInfoType.ToFullString());
                 writer.WriteLine();
                 writer.WriteLine(attribute);