[
https://issues.apache.org/jira/browse/AVRO-3453?focusedWorklogId=744846&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-744846
]
ASF GitHub Bot logged work on AVRO-3453:
----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Mar/22 05:12
Start Date: 21/Mar/22 05:12
Worklog Time Spent: 10m
Work Description: zcsizmadia commented on a change in pull request #1605:
URL: https://github.com/apache/avro/pull/1605#discussion_r830762616
##########
File path: lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs
##########
@@ -70,6 +71,9 @@ public sealed class CodeGenUtil
private const char At = '@';
private const char Dot = '.';
+ private readonly string _assemblyInformationVersion =
FileVersionInfo.GetVersionInfo(
Review comment:
Keep in mind that FileVersionInfo.GetVersionInfo will open the actual
dll file and read the library file directly to figure out the version + you
will need the using Diagnostics.
https://source.dot.net/#System.Diagnostics.FileVersionInfo/System/Diagnostics/FileVersionInfo.Unix.cs,45
System.Reflection.Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion
is more efficient.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 744846)
Time Spent: 4.5h (was: 4h 20m)
> C# Avrogen Add Generated Code Attribute
> ---------------------------------------
>
> Key: AVRO-3453
> URL: https://issues.apache.org/jira/browse/AVRO-3453
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.11.1
> Reporter: Kyle Schoonover
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> Development environments that use Code Analysis or something similar attempt
> to exclude auto generated code. By adding this attribute to generated
> classes, code analysis will skip over evaluating the code.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)