Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1322449
Fix Private.Xml solution broken by https://github.com/dotnet/runtime/…
StephenMolloy Jun 28, 2022
fe3c017
Align DCS with 4.8 implementation - minus schema import/export.
StephenMolloy Jun 29, 2022
335adfe
External DCS Schema support groundwork. Before DC-tree work and other…
StephenMolloy Jul 3, 2022
6dfd3c4
Added public APIs, but not the DataContract tree yet.
StephenMolloy Jul 6, 2022
71d4ab4
All APIs in.
StephenMolloy Jul 7, 2022
4eb08fb
Cleanup.
StephenMolloy Jul 7, 2022
ec2518d
Addressed some nits and PR feedback on API.
StephenMolloy Jul 8, 2022
ec64156
Merge branch 'main' into dcs-alignment-with-schema-support
StephenMolloy Jul 8, 2022
1183287
API nit, more PR feedback.
StephenMolloy Jul 10, 2022
92b1d63
Fix HasRoot hiding issue.
StephenMolloy Jul 11, 2022
79da1a7
Add basic schema tests. Fix DataMember bug.
StephenMolloy Jul 12, 2022
9a13158
Add /// comments for new schema project.
StephenMolloy Jul 12, 2022
3b376ab
Fixing bad format in xml comment.
StephenMolloy Jul 12, 2022
2127ba8
Skip import test on Wasm.
StephenMolloy Jul 12, 2022
4c3417c
Obsolete old half-coded schema exporter.
StephenMolloy Jul 12, 2022
54b6b39
Add obsolete attribute in ref project as well.
StephenMolloy Jul 12, 2022
7308470
Removing obsolete for now, since it appears Syndication depends on ol…
StephenMolloy Jul 13, 2022
6be7bbc
Fix the DCJS ref project.
StephenMolloy Jul 13, 2022
446c993
API cleanup.
StephenMolloy Jul 14, 2022
8157957
Project file cleanup
StephenMolloy Jul 14, 2022
0956064
Merge branch 'main' into dcs-alignment-with-schema-support
ViktorHofer Jul 14, 2022
f1414b8
Fix mono issue with reflection access to non-public private fields.
StephenMolloy Jul 15, 2022
36267a6
Merge branch 'dcs-alignment-with-schema-support' of https://github.co…
StephenMolloy Jul 15, 2022
bf6d5dd
Addressing feedback from API review.
StephenMolloy Jul 29, 2022
df5f444
Merge branch 'main' into dcs-alignment-with-schema-support
StephenMolloy Jul 29, 2022
e868642
Port NetFx Export/Import test suites to Serializer test projects.
StephenMolloy Aug 2, 2022
24ca75c
Fix bugs found by newly ported tests.
StephenMolloy Aug 2, 2022
6b65e43
Merge branch 'dcs-alignment-with-schema-support' of https://github.co…
StephenMolloy Aug 2, 2022
ded55f6
Account for different newline sizes on different platforms.
StephenMolloy Aug 3, 2022
7462bea
Skip flaky test on wasm for now.
StephenMolloy Aug 3, 2022
7bbdbee
Non-draft PR feedback.
StephenMolloy Aug 11, 2022
be324a7
Gentle nudge for Azure pipeline, which seems to have gotten stuck.
StephenMolloy Aug 11, 2022
08d419c
Change DC.Members API. Drop KVP shennanigans.
StephenMolloy Aug 12, 2022
4f555bc
More PR feedback.
StephenMolloy Aug 12, 2022
80fd11b
Nudge Azure pipelines again. :(
StephenMolloy Aug 12, 2022
f8ebd1a
nudge
StephenMolloy Aug 12, 2022
01517c7
nudge again.
StephenMolloy Aug 13, 2022
b7100af
One more nudge.
StephenMolloy Aug 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Align DCS with 4.8 implementation - minus schema import/export.
  • Loading branch information
StephenMolloy committed Jul 3, 2022
commit fe3c017aea2f4f59da91985bb52a86d8580c2f3c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@
<data name="InvalidDataMemberName" xml:space="preserve">
<value>Member '{0}' in type '{1}' cannot have DataMemberAttribute attribute Name set to null or empty string.</value>
</data>
<data name="InvalidDataNode" xml:space="preserve">
<value>'{0}' is an invalid data node when deserializing extension data.</value>
</data>
<data name="InvalidEnumBaseType" xml:space="preserve">
<value>Type '{0}' in namespace '{1}' is not a valid base type for enum '{2}' in namespace '{3}'.</value>
</data>
<data name="InvalidEnumMemberValue" xml:space="preserve">
<value>'{0}' in type '{1}' cannot have EnumMemberAttribute attribute Value set to null or empty string.</value>
</data>
Expand Down Expand Up @@ -624,6 +630,9 @@
<data name="XmlBadBOM" xml:space="preserve">
<value>Unrecognized Byte Order Mark.</value>
</data>
<data name="XmlMaxNameTableCharCountExceeded" xml:space="preserve">
<value>The maximum nametable character count quota ({0}) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader.</value>
</data>
<data name="XmlBase64DataExpected" xml:space="preserve">
<value>Base64 encoded data expected. Found {0}.</value>
</data>
Expand Down Expand Up @@ -786,6 +795,9 @@
<data name="XmlMaxArrayLengthExceeded" xml:space="preserve">
<value>The maximum array length quota ({0}) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.</value>
</data>
<data name="XmlMaxArrayLengthOrMaxItemsQuotaExceeded" xml:space="preserve">
<value>The maximum array length quota ({0}) or the maximum items in object graph quota has been exceeded while reading XML data. These quotas may be increased by changing the MaxArrayLength property on XmlDictionaryReaderQuotas or the MaxItemsInObjectGraph setting.</value>
</data>
<data name="XmlMaxBytesPerReadExceeded" xml:space="preserve">
<value>The 'maximum bytes per Read operation' quota ({0}) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader.</value>
</data>
Expand Down Expand Up @@ -1155,10 +1167,13 @@
<data name="MustBeGreaterThanZero" xml:space="preserve">
<value>'{0}' must be greater than 0.</value>
</data>
<data name="ReadOnlyClassDeserialization" xml:space="preserve">
<value>{0} The class cannot be deserialized.</value>
</data>
<data name="ReadOnlyCollectionDeserialization" xml:space="preserve">
<value>Collection type '{0}' cannot be deserialized since it</value>
</data>
<data name="UnknownNullType" xml:space="preserve">
<value>Unknown Type for null value</value>
</data>
</root>
</root>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<NoWarn>$(NoWarn);1634;1691;649</NoWarn>
Expand All @@ -15,11 +15,11 @@
</PropertyGroup>

<ItemGroup>
<Compile Include="$(CommonPath)System\NotImplemented.cs"
Link="Common\System\NotImplemented.cs" />
<Compile Include="$(CommonPath)System\HexConverter.cs"
Link="Common\System\HexConverter.cs" />
<Compile Include="$(CommonPath)System\NotImplemented.cs" Link="Common\System\NotImplemented.cs" />
<Compile Include="$(CommonPath)System\HexConverter.cs" Link="Common\System\HexConverter.cs" />
<Compile Include="$(RuntimeSerializationSources)\AccessorBuilder.cs" />
<Compile Include="$(RuntimeSerializationSources)\Attributes.cs" />
<Compile Include="$(RuntimeSerializationSources)\BitFlagsGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\CodeGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\ClassDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\CollectionDataContract.cs" />
Expand All @@ -29,44 +29,56 @@
<Compile Include="$(RuntimeSerializationSources)\DictionaryGlobals.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractResolver.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSerializer.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSerializerExtensions.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSerializerSettings.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSet.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSurrogateCaller.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataMember.cs" />
<Compile Include="$(RuntimeSerializationSources)\EnumDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\ExportOptions.cs" />
<Compile Include="$(RuntimeSerializationSources)\ExtensionDataObject.cs" />
<Compile Include="$(RuntimeSerializationSources)\ExtensionDataReader.cs" />
<Compile Include="$(RuntimeSerializationSources)\Globals.cs" />
<Compile Include="$(RuntimeSerializationSources)\GenericParameterDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\HybridObjectCache.cs" />
<Compile Include="$(RuntimeSerializationSources)\ObjectToIdCache.cs" />
<Compile Include="$(RuntimeSerializationSources)\IExtensibleDataObject.cs" />
<Compile Include="$(RuntimeSerializationSources)\KnownTypeDataContractResolver.cs" />
<Compile Include="$(RuntimeSerializationSources)\MemoryStreamAdapter.cs" />
<Compile Include="$(RuntimeSerializationSources)\ObjectReferenceStack.cs" />
<Compile Include="$(RuntimeSerializationSources)\ObjectToIdCache.cs" />
<Compile Include="$(RuntimeSerializationSources)\PrimitiveDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\ReflectionClassWriter.cs" />
<Compile Include="$(RuntimeSerializationSources)\ReflectionFeature.cs" />
<Compile Include="$(RuntimeSerializationSources)\ReflectionReader.cs" />
<Compile Include="$(RuntimeSerializationSources)\ReflectionXmlFormatReader.cs" />
<Compile Include="$(RuntimeSerializationSources)\ReflectionXmlFormatWriter.cs" />
<Compile Include="$(RuntimeSerializationSources)\SchemaExporter.cs" />
<Compile Include="$(RuntimeSerializationSources)\SchemaHelper.cs" />
<Compile Include="$(RuntimeSerializationSources)\ScopedKnownTypes.cs" />
<Compile Include="$(RuntimeSerializationSources)\SerializationOption.cs" />
<Compile Include="$(RuntimeSerializationSources)\SpecialTypeDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\SurrogateDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlFormatGeneratorStatics.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlFormatReaderGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlFormatWriterGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializer.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerContext.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerWriteContext.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerReadContext.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerReadContextComplex.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerWriteContext.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerWriteContextComplex.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlReaderDelegator.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlSerializableReader.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlSerializableServices.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlSerializableWriter.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlWriterDelegator.cs" />
<Compile Include="$(RuntimeSerializationSources)\SerializationMode.cs" />
<Compile Include="$(RuntimeSerializationSources)\SpecialTypeDataContract.cs" />
<Compile Include="$(RuntimeSerializationSources)\TypeCode.cs" />
<Compile Include="$(RuntimeSerializationSources)\KnownTypeDataContractResolver.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerReadContextComplex.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlObjectSerializerWriteContextComplex.cs" />
<Compile Include="$(RuntimeSerializationSources)\BitFlagsGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSurrogateCaller.cs" />
<Compile Include="$(RuntimeSerializationSources)\DataContractSerializerExtensions.cs" />
<Compile Include="$(RuntimeSerializationSources)\XmlSerializableServices.cs" />
<Compile Include="$(RuntimeSerializationSources)\XPathQueryGenerator.cs" />
<Compile Include="$(RuntimeSerializationSources)\XsdDataContractExporter.cs" />
<Compile Include="$(XmlSources)\ArrayHelper.cs" />
<Compile Include="$(XmlSources)\BytesWithOffset.cs" />
<Compile Include="$(XmlSources)\XmlDictionaryAsyncCheckWriter.cs" />
<Compile Include="$(XmlSources)\IFragmentCapableXmlDictionaryWriter.cs" />
<Compile Include="$(XmlSources)\IStreamProvider.cs" />
<Compile Include="$(XmlSources)\IXmlDictionary.cs" />
<Compile Include="$(XmlSources)\PrefixHandle.cs" />
Expand All @@ -81,6 +93,7 @@
<Compile Include="$(XmlSources)\XmlBinaryWriter.cs" />
<Compile Include="$(XmlSources)\XmlBinaryWriterSession.cs" />
<Compile Include="$(XmlSources)\XmlBufferReader.cs" />
<Compile Include="$(XmlSources)\XmlCanonicalWriter.cs" />
<Compile Include="$(XmlSources)\XmlConverter.cs" />
<Compile Include="$(XmlSources)\XmlDictionary.cs" />
<Compile Include="$(XmlSources)\XmlDictionaryWriter.cs" />
Expand All @@ -89,66 +102,50 @@
<Compile Include="$(XmlSources)\XmlDictionaryString.cs" />
<Compile Include="$(XmlSources)\XmlExceptionHelper.cs" />
<Compile Include="$(XmlSources)\XmlNodeWriter.cs" />
<Compile Include="$(XmlSources)\XmlSigningNodeWriter.cs" />
<Compile Include="$(XmlSources)\XmlStreamNodeWriter.cs" />
<Compile Include="$(XmlSources)\XmlUTF8TextReader.cs" />
<Compile Include="$(XmlSources)\XmlUTF8TextWriter.cs" />
<Compile Include="$(XmlSources)\EncodingStreamWrapper.cs" />
<Compile Include="$(TextSources)\Base64Encoding.cs" />
<Compile Include="$(TextSources)\SurrogateChar.cs" />
<Compile Include="$(TextSources)\BinHexEncoding.cs" />
<Compile Include="$(JsonSources)\ByteArrayHelperWithString.cs" />
<Compile Include="$(JsonSources)\DataContractJsonSerializer.cs" />
<Compile Include="$(JsonSources)\DataContractJsonSerializerExtensions.cs" />
<Compile Include="$(JsonSources)\DataContractJsonSerializerSettings.cs" />
<Compile Include="$(JsonSources)\DateTimeFormat.cs" />
<Compile Include="$(JsonSources)\EmitTypeInformation.cs" />
<Compile Include="$(JsonSources)\IXmlJsonReaderInitializer.cs" />
<Compile Include="$(JsonSources)\IXmlJsonWriterInitializer.cs" />
<Compile Include="$(JsonSources)\JsonByteArrayDataContract.cs" />
<Compile Include="$(JsonSources)\JsonClassDataContract.cs" />
<Compile Include="$(JsonSources)\JsonCollectionDataContract.cs" />
<Compile Include="$(JsonSources)\JsonDataContract.cs" />
<Compile Include="$(JsonSources)\JsonEncodingStreamWrapper.cs" />
<Compile Include="$(JsonSources)\JsonEnumDataContract.cs" />
<Compile Include="$(JsonSources)\JsonFormatWriterGenerator.cs" />
<Compile Include="$(JsonSources)\JsonFormatGeneratorStatics.cs" />
<Compile Include="$(JsonSources)\JsonFormatReaderGenerator.cs" />
<Compile Include="$(JsonSources)\JsonFormatWriterGenerator.cs" />
<Compile Include="$(JsonSources)\JsonGlobals.cs" />
<Compile Include="$(JsonSources)\JsonNodeType.cs" />
<Compile Include="$(JsonSources)\JsonObjectDataContract.cs" />
<Compile Include="$(JsonSources)\JsonQNameDataContract.cs" />
<Compile Include="$(JsonSources)\JsonReaderDelegator.cs" />
<Compile Include="$(JsonSources)\JsonReaderWriterFactory.cs" />
<Compile Include="$(JsonSources)\JsonWriterDelegator.cs" />
<Compile Include="$(JsonSources)\JsonStringDataContract.cs" />
<Compile Include="$(JsonSources)\JsonUriDataContract.cs" />
<Compile Include="$(JsonSources)\JsonXmlDataContract.cs" />
<Compile Include="$(JsonSources)\JsonGlobals.cs" />
<Compile Include="$(JsonSources)\XmlObjectSerializerReadContextComplexJson.cs" />
<Compile Include="$(JsonSources)\XmlObjectSerializerWriteContextComplexJson.cs" />
<Compile Include="$(JsonSources)\DateTimeFormat.cs" />
<Compile Include="$(JsonSources)\EmitTypeInformation.cs" />
<Compile Include="$(JsonSources)\DataContractJsonSerializerSettings.cs" />
<Compile Include="$(JsonSources)\ReflectionJsonFormatReader.cs" />
<Compile Include="$(JsonSources)\ReflectionJsonFormatWriter.cs" />
<Compile Include="$(JsonSources)\XmlJsonReader.cs" />
<Compile Include="$(JsonSources)\XmlJsonWriter.cs" />
<Compile Include="$(JsonSources)\JsonReaderWriterFactory.cs" />
<Compile Include="$(JsonSources)\JsonNodeType.cs" />
<Compile Include="$(JsonSources)\IXmlJsonReaderInitializer.cs" />
<Compile Include="$(JsonSources)\IXmlJsonWriterInitializer.cs" />
<Compile Include="$(JsonSources)\ByteArrayHelperWithString.cs" />
<Compile Include="$(JsonSources)\JsonEncodingStreamWrapper.cs" />
<Compile Include="$(JsonSources)\JsonFormatGeneratorStatics.cs" />
<Compile Include="System\Runtime\Serialization\AccessorBuilder.cs" />
<Compile Include="$(JsonSources)\XmlObjectSerializerReadContextComplexJson.cs" />
<Compile Include="$(JsonSources)\XmlObjectSerializerWriteContextComplexJson.cs" />
<Compile Include="$(CommonPath)System\CodeDom\CodeTypeReference.cs" />
<Compile Include="$(CommonPath)System\CodeDom\CodeTypeReferenceCollection.cs" />
<Compile Include="$(CommonPath)System\CodeDom\CodeObject.cs" />
<Compile Include="System\Runtime\Serialization\DataContractSet.cs" />
<Compile Include="System\Runtime\Serialization\ExportOptions.cs" />
<Compile Include="System\Runtime\Serialization\IExtensibleDataObject.cs" />
<Compile Include="System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs" />
<Compile Include="System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs" />
<Compile Include="System\Runtime\Serialization\MemoryStreamAdapter.cs" />
<Compile Include="System\Runtime\Serialization\ReflectionFeature.cs" />
<Compile Include="System\Runtime\Serialization\ReflectionReader.cs" />
<Compile Include="System\Runtime\Serialization\ReflectionClassWriter.cs" />
<Compile Include="System\Runtime\Serialization\ReflectionXmlFormatReader.cs" />
<Compile Include="System\Runtime\Serialization\ReflectionXmlFormatWriter.cs" />
<Compile Include="System\Runtime\Serialization\SchemaHelper.cs" />
<Compile Include="System\Runtime\Serialization\SerializationOption.cs" />
<Compile Include="System\Runtime\Serialization\XPathQueryGenerator.cs" />
<Compile Include="System\Runtime\Serialization\XsdDataContractExporter.cs" />
<Compile Include="System\Runtime\Serialization\SurrogateDataContract.cs" />
<Compile Include="System\Xml\IFragmentCapableXmlDictionaryWriter.cs" />
<Compile Include="System\Xml\XmlCanonicalWriter.cs" />
<Compile Include="System\Xml\XmlSigningNodeWriter.cs" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading