dotnet/Documentation/compatibility/wf-serializes-expressions_l...

1.4 KiB

WF serializes Expressions.Literal<T> DateTimes differently now (breaks custom XAML parsers)

Scope

Edge

Version Introduced

4.5

Source Analyzer Status

Planned

Change Description

The associated ValueSerializer object will convert a DateTime or DateTimeOffset object whose Second and Millisecond components are non-zero and (for a DateTime value) whose DateTime.Kind property is not Unspecified to property element syntax instead of a string. This change allows DateTime and DateTimeOffset values to be round-tripped. Custom XAML parsers that assume that input XAML is in the attribute syntax will not function correctly.

  • Quirked
  • Build-time break

This change allows DateTime and DateTimeOffset values to be round-tripped. Custom XAML parsers that assume that input XAML is in the attribute syntax will not function correctly.

Affected APIs

  • Not detectable via API analysis

Category

Windows Workflow Foundation (WF)

More information