This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Provided that the beginning of the JSON document is present in the fragment, this function will automatically close JSON fragments. | |
| */ | |
| function jsonCloser(src) { | |
| const openChars = []; | |
| let inQuotedString = false; | |
| for (let i = 0; i < src.length; i++) { | |
| const thisChar = src[i]; | |
| if (inQuotedString) { | |
| switch (thisChar) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Project> | |
| <Target Name="VSTestIfTestProject"> | |
| <CallTarget Targets="VSTest" Condition="'$(IsTestProject)' == 'true'" /> | |
| </Target> | |
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Diagnostics; | |
| using System.Numerics; | |
| #if NETCOREAPP2_1_OR_GREATER | |
| using System.Buffers.Binary; | |
| #endif | |
| #nullable enable |