diff --git a/Documentation/Synergy.Documentation.Annotations/CodeFilePathAttribute.cs b/Documentation/Synergy.Documentation.Annotations/CodeFilePathAttribute.cs new file mode 100644 index 0000000..3c73cab --- /dev/null +++ b/Documentation/Synergy.Documentation.Annotations/CodeFilePathAttribute.cs @@ -0,0 +1,15 @@ +using System.Diagnostics; +using System.Runtime.CompilerServices; + +namespace Synergy.Documentation.Annotations; + +[Conditional("DOCUMENTATION")] +public class CodeFilePathAttribute : Attribute +{ + public string FilePath { get; } + + public CodeFilePathAttribute([CallerFilePath] string filePath = "") + { + FilePath = filePath; + } +} \ No newline at end of file