C#: Do not print errors about missing references to intentionally ignored members
This commit is contained in:
parent
0291fcd7b6
commit
42cf684837
2 changed files with 26 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue