Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .docfx/templates/cuemon/layout/_master.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
</div>
</div>
</footer>

<!-- Context7 AI Chat Widget -->
<script src="https://context7.com/widget.js" data-library="/codebeltnet/cuemon" data-color="#059669" data-position="bottom-right"></script>
Comment thread
gimlichael marked this conversation as resolved.
</body>
{{/redirect_url}}
</html>
7 changes: 3 additions & 4 deletions src/Cuemon.Core/Globalization/World.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ public static class World
/// <summary>
/// Gets all UN M.49 geographic regions.
/// </summary>
/// <value>A read-only list of all <see cref="StatisticalRegionInfo"/> instances.</value>
/// <value>A sequence of all <see cref="StatisticalRegionInfo"/> instances.</value>
/// <remarks>
/// The list includes the World region (code "001") and all geographic regions.
/// The collection is immutable and cached for the lifetime of the application.
/// The sequence includes the World region (code "001") and all geographic regions.
/// </remarks>
public static IReadOnlyList<StatisticalRegionInfo> StatisticalRegions { get; } = UnM49Data.Value.Regions;
public static IEnumerable<StatisticalRegionInfo> StatisticalRegions { get; } = UnM49Data.Value.Regions;
Comment thread
gimlichael marked this conversation as resolved.

Copilot AI Feb 16, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XML documentation on line 46 states "A read-only list of all instances" but the return type has been changed from IReadOnlyList to IEnumerable. This is inconsistent. The documentation should be updated to reflect that the property returns an enumerable collection rather than specifically a read-only list.

Copilot uses AI. Check for mistakes.
Comment thread
gimlichael marked this conversation as resolved.

/// <summary>
/// Gets a region or country by its UN M.49 code.
Expand Down
Loading