C#: Do not print errors about missing references to intentionally ignored members
This commit is contained in:
@@ -408,6 +408,7 @@ class BindingsGenerator {
|
||||
List<PropertyInterface> properties;
|
||||
List<MethodInterface> methods;
|
||||
List<SignalInterface> signals_;
|
||||
HashSet<String> ignored_members;
|
||||
|
||||
bool has_virtual_methods = false;
|
||||
|
||||
@@ -471,6 +472,10 @@ class BindingsGenerator {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool is_intentionally_ignored(const String &p_name) const {
|
||||
return ignored_members.has(p_name);
|
||||
}
|
||||
|
||||
private:
|
||||
static DocData::ClassDoc *_get_type_doc(TypeInterface &itype) {
|
||||
String doc_name = itype.name.begins_with("_") ? itype.name.substr(1) : itype.name;
|
||||
|
||||
Reference in New Issue
Block a user