Skip to content

Commit a430326

Browse files
committed
fix public
1 parent 7fc139e commit a430326

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/DotNetCampus.LatestCSharpFeatures/KeyValuePair/KeyValuePair.g.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ namespace System.Collections.Generic;
1313
#endif
1414
static class DotNetCampusLatestCSharpFeaturesKeyValuePairExtensions
1515
{
16-
internal static void Deconstruct<TKey, TValue>(this KeyValuePair<TKey, TValue> pair, out TKey key, out TValue value)
16+
#if USE_PUBLIC_LATEST_CSHARP_FEATURES
17+
public
18+
#else
19+
internal
20+
#endif
21+
static void Deconstruct<TKey, TValue>(this KeyValuePair<TKey, TValue> pair, out TKey key, out TValue value)
1722
{
1823
key = pair.Key;
1924
value = pair.Value;

0 commit comments

Comments
 (0)