Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Xaml] Create value from positional argument text of markup extension #8980

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

akihikodaki
Copy link
Contributor

Description of Change

The behavior introduced with this change conforms to the description of
[MS-XAML-2009] page 80 and 81.

Issues Resolved

API Changes

None

Platforms Affected

  • Core/XAML (all platforms)

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Run the automated tests.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

The behavior introduced with this change conforms to the description of
[MS-XAML-2009] page 80 and 81.
return new Property { last = next == '}', name = name, strValue = str_value, value = value };
}

private Property ParsePropertyExpression(string prop, IServiceProvider serviceProvider, ref string remaining)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private Property ParsePropertyExpression(string prop, IServiceProvider serviceProvider, ref string remaining)
Property ParsePropertyExpression(string prop, IServiceProvider serviceProvider, ref string remaining)

}

protected string GetNextPiece(IServiceProvider serviceProvider, ref string remaining, out char next)
private string GetNextPiece(IServiceProvider serviceProvider, ref string remaining, out char next)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private string GetNextPiece(IServiceProvider serviceProvider, ref string remaining, out char next)
string GetNextPiece(IServiceProvider serviceProvider, ref string remaining, out char next)

@samhouts samhouts merged commit fee5faa into xamarin:master Jan 2, 2020
@samhouts samhouts added the approved Has two approvals, no pending reviews, and no changes requested label Jan 2, 2020
@samhouts samhouts added this to the 4.5.0 milestone Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/Xaml </> approved Has two approvals, no pending reviews, and no changes requested t/bug 🐛
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] XAML parser cannot parse nested markup extension as positional argument
3 participants