Skip to content

Commit 6983172

Browse files
committed
Decide to only support references within the same scope depth
Kinda a cop out decision, but it keeps thing simple (and thus maintainable) and implementing it fully seems overkill for what we need.
1 parent d8e808d commit 6983172

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sources/SilkTouch/SilkTouch/Naming/NameAffixer.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ public static SyntaxList<AttributeListSyntax> AddNameAffix(
157157
/// </summary>
158158
/// <remarks>
159159
/// This allows compound names to be handled more cleanly.
160+
/// <para/>
161+
/// For simplicity, only names within the same scope depth are currently supported.
162+
/// This should cover most real world use cases since
163+
/// if something is nested and has the parent name as a prefix,
164+
/// then the prefix is likely unnecessary.
160165
/// </remarks>
161166
/// <example>
162167
/// For example, <c>PerformanceCounterDescriptionARM</c> can be used as a referenced prefix for <c>PerformanceCounterDescriptionARMName</c>.

0 commit comments

Comments
 (0)