Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/profiled-aot/CommonMethods.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// This class represents common code paths we always want to AOT

// DateTime.Now
// string interpolation & split
// int.Parse(), int.ToString()
// Culture-aware string comparisons
Expand All @@ -15,8 +16,11 @@ static class CommonMethods
// Returns '200 OK' if the caller wants to set that on the UI
public static async Task<string> Invoke()
{
var url = $"https://httpstat.us/{200}";
// NOTE: alternate web services if one of these is down
//var url = $"https://httpstat.us/{200}";
var url = $"https://httpbin.org/status/{200}";

var now = DateTime.Now;
var foo = "foo";
foo.StartsWith("f");
foo.Contains("o");
Expand Down
Binary file modified src/profiled-aot/dotnet.aotprofile
Binary file not shown.
Loading