This is a follow-up of D95931. In that patch, we made the function getXCOFFSection has optional parameters for StorageMappingClass and SymbolType.
This patch makes
1: the private class members MappingClass and Type optional;
2: add an override version constructor function that has no MappingClass and Type properties.
Non-csect sections like debug sections have no such properties.
If IsCsect is true exactly when CsectProp is not None, then I suggest just using CsectProp and having isCsect() return static_cast<bool>(CsectProp).