Microsoft.XmlSerializer.Generator not supported DateOnly and TimeOnly
Open
area-Serialization
untriaged
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
Microsoft.XmlSerializer.Generator not supported DateOnly and TimeOnly
### Reproduction Steps
```csharp
using System;
namespace ClassLibrary1;
public class Class1
{
public DateOnly Date { get; set; }
public TimeOnly Time { get; set; }
}
```
```xml
net10.0
enable
ClassLibrary1.Class1;
false
true
```
### Expected behavior
Support types DateOnly and TimeOnly
### Actual behavior
not working
### Regression?
no
### Known Workarounds
_No response_
### Configuration
net 10.0
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.