Skip to content

Commit 99e6d71

Browse files
committed
make IsReaconlyList and IsReadOnlyDictionary public in CSharpType
1 parent b2aebe9 commit 99e6d71

File tree

1 file changed

+2
-2
lines changed
  • packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Primitives

1 file changed

+2
-2
lines changed

packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Primitives/CSharpType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public class CSharpType
4242
public bool IsReadOnlyMemory => _isReadOnlyMemory ??= TypeIsReadOnlyMemory();
4343
public bool IsList => _isList ??= TypeIsList();
4444
public bool IsArray => _isArray ??= TypeIsArray();
45-
internal bool IsReadOnlyList => _isReadOnlyList ??= TypeIsReadOnlyList();
45+
public bool IsReadOnlyList => _isReadOnlyList ??= TypeIsReadOnlyList();
4646
internal bool IsReadWriteList => _isReadWriteList ??= TypeIsReadWriteList();
4747
public bool IsDictionary => _isDictionary ??= TypeIsDictionary();
48-
internal bool IsReadOnlyDictionary => _isReadOnlyDictionary ??= TypeIsReadOnlyDictionary();
48+
public bool IsReadOnlyDictionary => _isReadOnlyDictionary ??= TypeIsReadOnlyDictionary();
4949
internal bool IsReadWriteDictionary => _isReadWriteDictionary ??= TypeIsReadWriteDictionary();
5050
internal bool IsIEnumerableOfT => _isIEnumerableOfT ??= TypeIsIEnumerableOfT();
5151
internal bool IsIAsyncEnumerableOfT => _isIAsyncEnumerableOfT ??= TypeIsIAsyncEnumerableOfT();

0 commit comments

Comments
 (0)