True if this function is used to set an array.
(self)
| 67 | and self.arglist[-1].p_type == "Span<double>") |
| 68 | |
| 69 | def sets_array(self) -> bool: |
| 70 | """True if this function is used to set an array.""" |
| 71 | return (len(self.arglist) >= 2 |
| 72 | and self.arglist[-1].p_type.startswith("ReadOnlySpan")) |
| 73 | |
| 74 | |
| 75 | class CSharpSourceGenerator(SourceGenerator): |
no test coverage detected