Appearance
| 1 | namespace Semantic.DotNet is | |
| 2 | class PROPERTY_DETAILS( | |
| 3 | ghul_property: Symbols.Property, | |
| 4 | dotnet_get_method: System.Reflection.MethodInfo?, | |
| 5 | dotnet_set_method: System.Reflection.MethodInfo? | |
| 6 | ) is | |
| 7 | to_string() -> string => val | |
| 8 | let result mut = "property details "; | |
| 9 | ||
| 10 | result = "{result}property: {ghul_property} {ghul_property.get_hash_code()}"; | |
| 11 | ||
| 12 | if let self.dotnet_get_method? then | |
| 13 | result = "{result}get: {dotnet_get_method} {dotnet_get_method.get_hash_code()}"; | |
| 14 | fi | |
| 15 | ||
| 16 | if let self.dotnet_set_method? then | |
| 17 | result = "{result}set: {dotnet_set_method} {dotnet_set_method.get_hash_code()}"; | |
| 18 | fi | |
| 19 | ||
| 20 | result; | |
| 21 | lav; | |
| 22 | si | |
| 23 | si |