A C# explicit interface implementation (``int IA.Get()``). It is reachable only through the interface, so the name-keyed call indexes leave it out; the interface member reaches it by dispatch.
(node: dict)
| 34 | |
| 35 | |
| 36 | def is_csharp_explicit_interface_node(node: dict) -> bool: |
| 37 | """A C# explicit interface implementation (``int IA.Get()``). |
| 38 | |
| 39 | It is reachable only through the interface, so the name-keyed call indexes |
| 40 | leave it out; the interface member reaches it by dispatch. |
| 41 | """ |
| 42 | metadata = node.get("metadata") or {} |
| 43 | return ( |
| 44 | isinstance(metadata, dict) |
| 45 | and bool(metadata.get("explicit_interface")) |
| 46 | and effective_suffix(str(node.get("source_file") or "")) == ".cs" |
| 47 | ) |
| 48 | |
| 49 | |
| 50 | def _build_csharp_type_def_index( |
no test coverage detected