Assertion: class's constructor | /r/CapableOf | take one argument
Facets:
Source sentences:
text: Name = "unknown"; } // Constructor that takes one argument: public Person(string name) { Name = name; } // Auto-implemented readonly property: public string Name { get; } // Method that overrides the base class (System.
text: using System; public class Person { // Constructor that takes no arguments: public Person() {
text: Would not be valid, since the class has been declared with an explicit constructor taking one argument and that replaces the implicit default constructor taking none.
text: But the following:Would not be valid, since the class has been declared with an explicit constructor taking one argument and that replaces the implicittaking none.