|
@@ -4,6 +4,7 @@ using System.Collections;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.CompilerServices;
|
|
using Godot.NativeInterop;
|
|
using Godot.NativeInterop;
|
|
|
|
+using System.Diagnostics;
|
|
|
|
|
|
#nullable enable
|
|
#nullable enable
|
|
|
|
|
|
@@ -14,6 +15,8 @@ namespace Godot.Collections
|
|
/// typed elements allocated in the engine in C++. Useful when
|
|
/// typed elements allocated in the engine in C++. Useful when
|
|
/// interfacing with the engine.
|
|
/// interfacing with the engine.
|
|
/// </summary>
|
|
/// </summary>
|
|
|
|
+ [DebuggerTypeProxy(typeof(DictionaryDebugView<Variant, Variant>))]
|
|
|
|
+ [DebuggerDisplay("Count = {Count}")]
|
|
public sealed class Dictionary :
|
|
public sealed class Dictionary :
|
|
IDictionary<Variant, Variant>,
|
|
IDictionary<Variant, Variant>,
|
|
IReadOnlyDictionary<Variant, Variant>,
|
|
IReadOnlyDictionary<Variant, Variant>,
|
|
@@ -480,6 +483,8 @@ namespace Godot.Collections
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <typeparam name="TKey">The type of the dictionary's keys.</typeparam>
|
|
/// <typeparam name="TKey">The type of the dictionary's keys.</typeparam>
|
|
/// <typeparam name="TValue">The type of the dictionary's values.</typeparam>
|
|
/// <typeparam name="TValue">The type of the dictionary's values.</typeparam>
|
|
|
|
+ [DebuggerTypeProxy(typeof(DictionaryDebugView<,>))]
|
|
|
|
+ [DebuggerDisplay("Count = {Count}")]
|
|
public class Dictionary<[MustBeVariant] TKey, [MustBeVariant] TValue> :
|
|
public class Dictionary<[MustBeVariant] TKey, [MustBeVariant] TValue> :
|
|
IDictionary<TKey, TValue>,
|
|
IDictionary<TKey, TValue>,
|
|
IReadOnlyDictionary<TKey, TValue>,
|
|
IReadOnlyDictionary<TKey, TValue>,
|