From 340252727b829311591e251fcbc99bd7ac4fd433 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Thu, 25 Apr 2019 17:11:01 +0200 Subject: C#: Mark generated property accessor methods as Obsolete - Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future. --- modules/mono/editor/bindings_generator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/mono/editor/bindings_generator.h') diff --git a/modules/mono/editor/bindings_generator.h b/modules/mono/editor/bindings_generator.h index 7599c6edee..d84315c7df 100644 --- a/modules/mono/editor/bindings_generator.h +++ b/modules/mono/editor/bindings_generator.h @@ -159,6 +159,9 @@ class BindingsGenerator { const DocData::MethodDoc *method_doc; + bool is_deprecated; + String deprecation_message; + void add_argument(const ArgumentInterface &argument) { arguments.push_back(argument); } @@ -169,6 +172,7 @@ class BindingsGenerator { requires_object_call = false; is_internal = false; method_doc = NULL; + is_deprecated = false; } }; -- cgit v1.2.3