diff --git a/SabreTools.Serialization/Models/OLE/ArrayDimension.cs b/SabreTools.Serialization/Models/OLE/ArrayDimension.cs index 0c1b0ebb..2f35a8a2 100644 --- a/SabreTools.Serialization/Models/OLE/ArrayDimension.cs +++ b/SabreTools.Serialization/Models/OLE/ArrayDimension.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The ArrayDimension packet represents the size and index offset of a dimension of an array /// property type. /// - /// + /// public class ArrayDimension { /// diff --git a/SabreTools.Serialization/Models/OLE/ArrayHeader.cs b/SabreTools.Serialization/Models/OLE/ArrayHeader.cs index 6c985c65..dc2baf53 100644 --- a/SabreTools.Serialization/Models/OLE/ArrayHeader.cs +++ b/SabreTools.Serialization/Models/OLE/ArrayHeader.cs @@ -3,7 +3,7 @@ namespace SabreTools.Data.Models.OLE /// /// The ArrayHeader packet represents the type and dimensions of an array property type. /// - /// + /// public class ArrayHeader { /// @@ -20,10 +20,10 @@ namespace SabreTools.Data.Models.OLE /// /// MUST be a sequence of ArrayDimension packets - /// + /// /// The number of scalar values in an array property can be calculated from the ArrayHeader packet /// as the product of the Size fields of each of the ArrayDimension packets. /// - public ArrayDimension[]? Dimensions { get; set; } + public ArrayDimension[] Dimensions { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/CURRENCY.cs b/SabreTools.Serialization/Models/OLE/CURRENCY.cs index d518ed53..b2fe0b02 100644 --- a/SabreTools.Serialization/Models/OLE/CURRENCY.cs +++ b/SabreTools.Serialization/Models/OLE/CURRENCY.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The CURRENCY (Packet Version) packet represents a CURRENCY as specified in [MS-OAUT] /// section 2.2.24. /// - /// + /// public class CURRENCY { /// diff --git a/SabreTools.Serialization/Models/OLE/CodePageString.cs b/SabreTools.Serialization/Models/OLE/CodePageString.cs index 2d481263..e91f15b6 100644 --- a/SabreTools.Serialization/Models/OLE/CodePageString.cs +++ b/SabreTools.Serialization/Models/OLE/CodePageString.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The CodePageString packet represents a string whose encoding depends on the /// value of the property set's CodePage property. /// - /// + /// public class CodePageString { /// @@ -28,6 +28,6 @@ namespace SabreTools.Data.Models.OLE /// implementation SHOULD NOT write strings with embedded or trailing null characters unless /// specifically requested to do so by an application. /// - public string? Characters { get; set; } + public string Characters { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/Constants.cs b/SabreTools.Serialization/Models/OLE/Constants.cs index 91156f4c..a44b6a85 100644 --- a/SabreTools.Serialization/Models/OLE/Constants.cs +++ b/SabreTools.Serialization/Models/OLE/Constants.cs @@ -87,4 +87,4 @@ namespace SabreTools.Data.Models.OLE #endregion } -} \ No newline at end of file +} diff --git a/SabreTools.Serialization/Models/OLE/ControlStream.cs b/SabreTools.Serialization/Models/OLE/ControlStream.cs index 068926e4..b7fe6f72 100644 --- a/SabreTools.Serialization/Models/OLE/ControlStream.cs +++ b/SabreTools.Serialization/Models/OLE/ControlStream.cs @@ -5,7 +5,7 @@ namespace SabreTools.Data.Models.OLE /// stream binding MUST have a control stream, which is an alternate stream with the name /// "{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}". This stream MUST contain the following packet. /// - /// + /// public class ControlStream { /// @@ -30,6 +30,6 @@ namespace SabreTools.Data.Models.OLE /// OLEPS implementation. If the application did not provide a value, /// it SHOULD be absent. /// - public GUID? CLSID { get; set; } + public GUID CLSID { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/DATE.cs b/SabreTools.Serialization/Models/OLE/DATE.cs index 7ca247ea..9aeed72d 100644 --- a/SabreTools.Serialization/Models/OLE/DATE.cs +++ b/SabreTools.Serialization/Models/OLE/DATE.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The DATE (Packet Version) packet represents a DATE as specified in [MS-OAUT] /// section 2.2.25 /// - /// + /// public class DATE { /// diff --git a/SabreTools.Serialization/Models/OLE/DECIMAL.cs b/SabreTools.Serialization/Models/OLE/DECIMAL.cs index f2ba02e2..1e88a42c 100644 --- a/SabreTools.Serialization/Models/OLE/DECIMAL.cs +++ b/SabreTools.Serialization/Models/OLE/DECIMAL.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The DECIMAL (Packet Version) packet represents a DECIMAL as specified in [MS-OAUT] section /// 2.2.26 /// - /// + /// public class DECIMAL { /// diff --git a/SabreTools.Serialization/Models/OLE/Dictionary.cs b/SabreTools.Serialization/Models/OLE/Dictionary.cs index bac3f702..93be5c6d 100644 --- a/SabreTools.Serialization/Models/OLE/Dictionary.cs +++ b/SabreTools.Serialization/Models/OLE/Dictionary.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The Dictionary packet represents all mappings between property identifiers and /// property names in a property set /// - /// + /// public class Dictionary { /// @@ -16,7 +16,7 @@ namespace SabreTools.Data.Models.OLE /// All Entry fields MUST be a sequence of DictionaryEntry packets. Entries are /// not required to appear in any particular order. /// - public DictionaryEntry[]? Entries { get; set; } + public DictionaryEntry[] Entries { get; set; } // Padding (variable): Padding, if necessary, to a total length that is a multiple of 4 bytes. // Padding would be after each dictionary entry diff --git a/SabreTools.Serialization/Models/OLE/DictionaryEntry.cs b/SabreTools.Serialization/Models/OLE/DictionaryEntry.cs index f0533bab..14327822 100644 --- a/SabreTools.Serialization/Models/OLE/DictionaryEntry.cs +++ b/SabreTools.Serialization/Models/OLE/DictionaryEntry.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The DictionaryEntry packet represents a mapping between a property identifier and a /// property name /// - /// + /// public class DictionaryEntry { /// @@ -30,6 +30,6 @@ namespace SabreTools.Data.Models.OLE /// 8-bit characters from the code page identified by the CodePage property and MUST /// NOT be padded. /// - public string? Name { get; set; } + public string Name { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/Enums.cs b/SabreTools.Serialization/Models/OLE/Enums.cs index 23c20f7d..fd7bf2bc 100644 --- a/SabreTools.Serialization/Models/OLE/Enums.cs +++ b/SabreTools.Serialization/Models/OLE/Enums.cs @@ -10,7 +10,7 @@ namespace SabreTools.Data.Models.OLE /// otherwise stated, a SummaryInformation property set SHOULD have all of these properties, and SHOULD /// NOT have any other properties, except for the special properties specified in section 2.18. /// - /// + /// public enum PropertyIdentifier : uint { /// @@ -162,7 +162,7 @@ namespace SabreTools.Data.Models.OLE /// PropertySetStream packet. In addition, the property types not supported in simple property sets /// are specified as such. PropertyType is an enumeration, which MUST be one of the following values /// - /// + /// public enum PropertyType : ushort { /// diff --git a/SabreTools.Serialization/Models/OLE/FILETIME.cs b/SabreTools.Serialization/Models/OLE/FILETIME.cs index 476e61d5..4d5c10f2 100644 --- a/SabreTools.Serialization/Models/OLE/FILETIME.cs +++ b/SabreTools.Serialization/Models/OLE/FILETIME.cs @@ -3,7 +3,7 @@ namespace SabreTools.Data.Models.OLE /// /// The FILETIME (Packet Version) packet represents a FILETIME structure ([MS-DTYP] section 2.3.3 /// - /// + /// public class FILETIME { /// diff --git a/SabreTools.Serialization/Models/OLE/IndirectPropertyName.cs b/SabreTools.Serialization/Models/OLE/IndirectPropertyName.cs index 36ff7572..ef0080a2 100644 --- a/SabreTools.Serialization/Models/OLE/IndirectPropertyName.cs +++ b/SabreTools.Serialization/Models/OLE/IndirectPropertyName.cs @@ -9,11 +9,11 @@ namespace SabreTools.Data.Models.OLE /// Augmented Backus–Naur Form (ABNF) [RFC4234] syntax. /// /// Indirectproperty = "prop" propertyIdentifier - /// + /// /// Where PropertyIdentifier is the decimal string representation of the property identifier. This property /// identifier MUST be a valid PropertyIdentifier value and MUST NOT be the property identifier for any of /// the special properties specified in section 2.18. /// - /// + /// public class IndirectPropertyName : CodePageString { } } diff --git a/SabreTools.Serialization/Models/OLE/PropertyIdentifierAndOffset.cs b/SabreTools.Serialization/Models/OLE/PropertyIdentifierAndOffset.cs index 17e08c3e..af6b2c59 100644 --- a/SabreTools.Serialization/Models/OLE/PropertyIdentifierAndOffset.cs +++ b/SabreTools.Serialization/Models/OLE/PropertyIdentifierAndOffset.cs @@ -4,7 +4,7 @@ namespace SabreTools.Data.Models.OLE /// The PropertyIdentifierAndOffset packet is used in the PropertySet packet to represent a /// property identifier and the byte offset of the property in the PropertySet packet /// - /// + /// public class PropertyIdentifierAndOffset { /// diff --git a/SabreTools.Serialization/Models/OLE/PropertySet.cs b/SabreTools.Serialization/Models/OLE/PropertySet.cs index fe6b4b2f..db0fe2bb 100644 --- a/SabreTools.Serialization/Models/OLE/PropertySet.cs +++ b/SabreTools.Serialization/Models/OLE/PropertySet.cs @@ -3,7 +3,7 @@ namespace SabreTools.Data.Models.OLE /// /// The PropertySet packet represents a property set. /// - /// + /// public class PropertySet { /// @@ -24,13 +24,13 @@ namespace SabreTools.Data.Models.OLE /// in any particular order with regard to the value of the PropertyIdentifier /// field. /// - public PropertyIdentifierAndOffset[]? PropertyIdentifierAndOffsets { get; set; } + public PropertyIdentifierAndOffset[] PropertyIdentifierAndOffsets { get; set; } /// /// Each Property field is a sequence of property values, each of which MUST /// be represented by a TypedPropertyValue packet or a Dictionary packet in /// the special case of the Dictionary property. /// - public object[]? Properties { get; set; } + public object[] Properties { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/PropertySetStream.cs b/SabreTools.Serialization/Models/OLE/PropertySetStream.cs index 4ab57b4d..dbe2f9e7 100644 --- a/SabreTools.Serialization/Models/OLE/PropertySetStream.cs +++ b/SabreTools.Serialization/Models/OLE/PropertySetStream.cs @@ -5,17 +5,17 @@ namespace SabreTools.Data.Models.OLE /// sets and the stream format for the CONTENTS stream in the Non-Simple Property /// Set Storage Format. A simple property set MUST be represented by a stream /// containing a PropertySetStream packet. - /// + /// /// The PropertySetStream packet usually represents exactly one property set, but /// for historical reasons, the DocumentSummaryInfo and UserDefinedProperties /// property sets are represented in the same stream.In this special case, a /// PropertySetStream might represent two property sets. - /// + /// /// An implementation SHOULD enforce a limit on the total size of a PropertySetStream /// packet. This limit MUST be at least 262,144 bytes, and for maximum interoperability /// SHOULD be 2,097,152 bytes. /// - /// + /// public class PropertySetStream { /// @@ -32,7 +32,7 @@ namespace SabreTools.Data.Models.OLE /// - Property types not supported for version 0 property sets, as specified in /// the PropertyType enumeration. /// - The Behavior property. - /// + /// /// If the property set does not use any of these features, this field SHOULD be /// set to 0x0000 for maximum interoperability. /// @@ -50,12 +50,12 @@ namespace SabreTools.Data.Models.OLE /// the property set (or property sets). If no CLSID is provided by the /// application, it SHOULD be set to GUID_NULL by default. /// - public GUID? CLSID { get; set; } + public GUID CLSID { get; set; } /// /// An unsigned integer indicating the number of property sets represented by /// this PropertySetStream structure. MUST be either 0x00000001 or 0x00000002. - /// + /// /// - 0x00000001: This structure contains one property set /// - 0x00000002: This structure contains two property sets. /// The optional fields for PropertySet 1 are present. @@ -68,7 +68,7 @@ namespace SabreTools.Data.Models.OLE /// GUID MUST be set to FMTID_DocSummaryInformation /// ({D5CDD502-2E9C-101B-9397-08002B2CF9AE}). /// - public GUID? FMTID0 { get; set; } + public GUID FMTID0 { get; set; } /// /// An unsigned integer that MUST be set to the offset in bytes from the beginning @@ -80,7 +80,7 @@ namespace SabreTools.Data.Models.OLE /// If NumPropertySets has the value 0x00000002, it MUST be set to FMTID_UserDefinedProperties /// ({D5CDD505-2E9C-101B-9397-08002B2CF9AE}). Otherwise, it MUST be absent. /// - public GUID? FMTID1 { get; set; } + public GUID FMTID1 { get; set; } /// /// If NumPropertySets has the value 0x00000002, it MUST be set to the offset in bytes @@ -92,13 +92,13 @@ namespace SabreTools.Data.Models.OLE /// /// MUST be a PropertySet packet /// - public PropertySet? PropertySet0 { get; set; } + public PropertySet PropertySet0 { get; set; } /// /// If NumPropertySets has the value 0x00000002, it MUST be a PropertySet packet. /// Otherwise, it MUST be absent. /// - public PropertySet? PropertySet1 { get; set; } + public PropertySet PropertySet1 { get; set; } // Padding (variable): Contains additional padding added by the implementation. // If present, padding MUST be zeroes and MUST be ignored. diff --git a/SabreTools.Serialization/Models/OLE/UnicodeString.cs b/SabreTools.Serialization/Models/OLE/UnicodeString.cs index c90ec491..793878d1 100644 --- a/SabreTools.Serialization/Models/OLE/UnicodeString.cs +++ b/SabreTools.Serialization/Models/OLE/UnicodeString.cs @@ -3,7 +3,7 @@ namespace SabreTools.Data.Models.OLE /// /// The UnicodeString packet represents a Unicode string. /// - /// + /// public class UnicodeString { /// @@ -18,6 +18,6 @@ namespace SabreTools.Data.Models.OLE /// padding to a multiple of 4 bytes. The string represented by this field SHOULD NOT contain /// embedded or additional trailing null characters. /// - public string? Characters { get; set; } + public string Characters { get; set; } } } diff --git a/SabreTools.Serialization/Models/OLE/VectorHeader.cs b/SabreTools.Serialization/Models/OLE/VectorHeader.cs index 0d9c0cfa..77988671 100644 --- a/SabreTools.Serialization/Models/OLE/VectorHeader.cs +++ b/SabreTools.Serialization/Models/OLE/VectorHeader.cs @@ -3,7 +3,7 @@ namespace SabreTools.Data.Models.OLE /// /// The VectorHeader packet represents the number of scalar values in a vector property type. /// - /// + /// public class VectorHeader { /// diff --git a/SabreTools.Serialization/Models/OLE/VersionedStream.cs b/SabreTools.Serialization/Models/OLE/VersionedStream.cs index 1aadddb1..ccba9e5c 100644 --- a/SabreTools.Serialization/Models/OLE/VersionedStream.cs +++ b/SabreTools.Serialization/Models/OLE/VersionedStream.cs @@ -3,17 +3,17 @@ namespace SabreTools.Data.Models.OLE /// /// The VersionedStream packet represents a stream with an application-specific version GUID. /// - /// + /// public class VersionedStream { /// /// MUST be a GUID (Packet Version). /// - public GUID? VersionGuid { get; set; } + public GUID VersionGuid { get; set; } /// /// MUST be an IndirectPropertyName. /// - public IndirectPropertyName? StreamName { get; set; } + public IndirectPropertyName StreamName { get; set; } } }