summaryrefslogtreecommitdiffstats
path: root/modules/mono/glue/GodotSharp/GodotSharpEditor/Compat.cs
blob: d1289ee6ba8d96e54c31efbef2775da47dc4a2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This file contains methods that existed in a previous version of Godot in ClassDB but were removed
// or their method signature has changed so they are no longer generated by bindings_generator.
// These methods are provided to avoid breaking binary compatibility.

using System;
using System.ComponentModel;

namespace Godot;

// TODO: This is currently disabled because of https://github.com/dotnet/roslyn/issues/52904
#pragma warning disable IDE0040 // Add accessibility modifiers.

partial class EditorUndoRedoManager
{
    /// <inheritdoc cref="CreateAction(string, UndoRedo.MergeMode, GodotObject, bool)"/>
    [EditorBrowsable(EditorBrowsableState.Never)]
    public void CreateAction(string name, UndoRedo.MergeMode mergeMode, GodotObject customContext)
    {
        CreateAction(name, mergeMode, customContext, backwardUndoOps: false);
    }
}