Skip to content

Scanner(peep xml) - #6300

Closed
AdamSpeight2008 wants to merge 2 commits into
dotnet:masterfrom
AdamSpeight2008:Scanner(Peep_1)
Closed

Scanner(peep xml)#6300
AdamSpeight2008 wants to merge 2 commits into
dotnet:masterfrom
AdamSpeight2008:Scanner(Peep_1)

Conversation

@AdamSpeight2008

Copy link
Copy Markdown
Contributor

Extends usage of Peep into ScannerXML.vb

This adds peep functionality into the scanner, which is combination of CanGet and Peek. It does not alter the existing content of the out parameter (ch) when CanGet is false.

NOTE: This is different mechinism to TryParse methods, this is deliberate so that existing value can be used in subsequent conditions.
Usage of Peep in ScannerXML
@AdamSpeight2008

Copy link
Copy Markdown
Contributor Author

@dotnet-bot retest this please.

@AdamSpeight2008

Copy link
Copy Markdown
Contributor Author

Integrated into #6305

@gafter gafter added the Resolution-Duplicate The described behavior is tracked in another issue label Dec 9, 2015
@AdamSpeight2008
AdamSpeight2008 deleted the Scanner(Peep_1) branch April 11, 2018 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-already-signed Resolution-Duplicate The described behavior is tracked in another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants