-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Milestone
Description
As noted in #64541,
- this makes it consistent with our other generators
- metadata tools cannot see
<autogenerated>, which is hte preferred source marking - there are scenarios where one might scan assemblies to see whether it is necessary to regenerate with a bug-fixed generator
example, from the regex generator
runtime/src/libraries/System.Text.RegularExpressions/gen/RegexGenerator.Emitter.cs
Line 27 in 9df2832
| private static readonly string s_generatedCodeAttribute = $"[global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"{typeof(RegexGenerator).Assembly.GetName().Name}\", \"{typeof(RegexGenerator).Assembly.GetName().Version}\")]"; |
Reactions are currently unavailable