René's URL Explorer Experiment


Title: bad error message on incorrect function definition · Issue #1163 · scriptcs/scriptcs · GitHub

Open Graph Title: bad error message on incorrect function definition · Issue #1163 · scriptcs/scriptcs

X Title: bad error message on incorrect function definition · Issue #1163 · scriptcs/scriptcs

Description: I had written a script which contained a small error, and the error messages were very cryptic. I think this should be improved. public class Calc { static Algo1 (double param1, int param2) { Console.WriteLine("Param 1 {0}", param1); } }...

Open Graph Description: I had written a script which contained a small error, and the error messages were very cryptic. I think this should be improved. public class Calc { static Algo1 (double param1, int param2) { Conso...

X Description: I had written a script which contained a small error, and the error messages were very cryptic. I think this should be improved. public class Calc { static Algo1 (double param1, int param2) { Conso...

Opengraph URL: https://github.com/scriptcs/scriptcs/issues/1163

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bad error message on incorrect function definition","articleBody":"I had written a script which contained a small error, and the error messages were very cryptic.\nI think this should be improved.\n\n```\npublic class Calc\n{\n    static Algo1 (double param1, int param2)\n    {\n        Console.WriteLine(\"Param 1 {0}\", param1);\n    }\n}\n```\n\nI forgot the \"void\" in front of Algo 1:\n\n```\npublic class Calc\n{\n    static void Algo1 (double param1, int param2)\n    {\n        Console.WriteLine(\"Param 1 {0}\", param1);\n    }\n}\n```\n\nThis is the error message that I got\"\n\n```\nERROR: [ScriptCs.Command.ExecuteScriptCommand] Script execution failed. [System.ArgumentOutOfRangeException] Index was out of range. Must be non-negative and less than the size of the collection.\nParameter name: index\n  at System.ThrowHelper.ThrowArgumentOutOfRangeException (ExceptionArgument argument, ExceptionResource resource) \u003c0x7ff9ac894c50 + 0x0003a> in \u003cfilename unknown>:0 \n  at System.ThrowHelper.ThrowArgumentOutOfRangeException () \u003c0x7ff9ac8949e0 + 0x00012> in \u003cfilename unknown>:0 \n  at System.Collections.Generic.List`1[T].get_Item (Int32 index) \u003c0x7ff9ac713ac0 + 0x0001e> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Location.get_Name () \u003c0x40345090 + 0x0004a> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Location.ToString () \u003c0x40345060 + 0x0000f> in \u003cfilename unknown>:0 \n  at Mono.CSharp.ReportPrinter.Print (Mono.CSharp.AbstractMessage msg, System.IO.TextWriter output, Boolean showFullPath) \u003c0x40344d70 + 0x00103> in \u003cfilename unknown>:0 \n  at Mono.CSharp.StreamReportPrinter.Print (Mono.CSharp.AbstractMessage msg, Boolean showFullPath) \u003c0x40344d00 + 0x0002f> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Report.Error (Int32 code, Location loc, System.String error) \u003c0x40344a10 + 0x000a5> in \u003cfilename unknown>:0 \n  at Mono.CSharp.CSharpParser.parse () \u003c0x40212f30 + 0x0032b> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Evaluator.ParseString (ParseMode mode, System.String input, System.Boolean& partial_input) \u003c0x401fa760 + 0x00427> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Evaluator.Compile (System.String input, Mono.CSharp.CompiledMethod& compiled) \u003c0x401f3f40 + 0x001ff> in \u003cfilename unknown>:0 \n  at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) \u003c0x402b7bd0 + 0x00077> in \u003cfilename unknown>:0 \n  at ScriptCs.Engine.Mono.MonoScriptEngine.Execute (System.String code, Mono.CSharp.Evaluator session) \u003c0x4022e1b0 + 0x00107> in \u003cfilename unknown>:0 \n```\n\nClearly this error message does not tell anything about the location of the error.\n","author":{"url":"https://github.com/awb99","@type":"Person","name":"awb99"},"datePublished":"2016-05-06T10:07:49Z","url":"https://github.com/scriptcs/scriptcs/issues/1163"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:84dd4355-236a-aab3-66cf-e9bbb67e3319
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE99A:1A3D7F:2F99297:3EDF1C7:6B002297
html-safe-nonceb3019eac522785bce522c0119c761c092099fd6b1ca3b3f680515ce2017bdc8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTlBOjFBM0Q3RjoyRjk5Mjk3OjNFREYxQzc6NkIwMDIyOTciLCJ2aXNpdG9yX2lkIjoiNzIwMTI1NzcxNzIyMTA0MDc5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac589cc0dd6ec3862a3aa245378b8905ea04feb71a1a5d0eaf158366838d405b73
hovercard-subject-tagissue:153420334
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scriptcs/scriptcs/1163/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2f1b1ff86261889dd77309ab5940a836f8c2716fe2daa93799e2774ae78cf1b0/scriptcs/scriptcs/issues/1163
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f1b1ff86261889dd77309ab5940a836f8c2716fe2daa93799e2774ae78cf1b0/scriptcs/scriptcs/issues/1163
og:image:altI had written a script which contained a small error, and the error messages were very cryptic. I think this should be improved. public class Calc { static Algo1 (double param1, int param2) { Conso...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameawb99
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
go-importgithub.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git
octolytics-dimension-user_id3758046
octolytics-dimension-user_loginscriptcs
octolytics-dimension-repository_id8473240
octolytics-dimension-repository_nwoscriptcs/scriptcs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8473240
octolytics-dimension-repository_network_root_nwoscriptcs/scriptcs
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/scriptcs/scriptcs/issues/1163#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fissues%2F1163
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fissues%2F1163
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=scriptcs%2Fscriptcs
Reloadhttps://github.com/scriptcs/scriptcs/issues/1163
Reloadhttps://github.com/scriptcs/scriptcs/issues/1163
Reloadhttps://github.com/scriptcs/scriptcs/issues/1163
scriptcshttps://github.com/scriptcs
scriptcshttps://github.com/scriptcs/scriptcs
Codehttps://github.com/scriptcs/scriptcs
Issues167 (167)https://github.com/scriptcs/scriptcs/issues
Pull requests2 (2)https://github.com/scriptcs/scriptcs/pulls
Actionshttps://github.com/scriptcs/scriptcs/actions
Projectshttps://github.com/scriptcs/scriptcs/projects
Wikihttps://github.com/scriptcs/scriptcs/wiki
Security and qualityhttps://github.com/scriptcs/scriptcs/security
Insightshttps://github.com/scriptcs/scriptcs/insights
https://github.com/scriptcs/scriptcs
New issuehttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/1163
New issuehttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/1163
bad error message on incorrect function definitionhttps://github.com/scriptcs/scriptcs/issues/1163#top
bughttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22bug%22
monohttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22mono%22
v1.0https://github.com/scriptcs/scriptcs/milestone/7
https://github.com/awb99
awb99https://github.com/awb99
on May 6, 2016https://github.com/scriptcs/scriptcs/issues/1163#issue-153420334
https://github.com/filipw
filipwhttps://github.com/filipw
on Apr 7, 2017https://github.com/scriptcs/scriptcs/issues/1163#issuecomment-292451960
#1216https://github.com/scriptcs/scriptcs/pull/1216
filipwhttps://github.com/filipw
completedhttps://github.com/scriptcs/scriptcs/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 7, 2017https://github.com/scriptcs/scriptcs/issues/1163#event-1033565008
filipwhttps://github.com/filipw
bughttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22bug%22
monohttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22mono%22
on Apr 7, 2017https://github.com/scriptcs/scriptcs/issues/1163#event-1033565140
filipwhttps://github.com/filipw
v1.0https://github.com/scriptcs/scriptcs/milestone/7
on Apr 7, 2017https://github.com/scriptcs/scriptcs/issues/1163#event-1033565174
Sign up for freehttps://github.com/signup?return_to=https://github.com/scriptcs/scriptcs/issues/1163
Sign in to commenthttps://github.com/login?return_to=https://github.com/scriptcs/scriptcs/issues/1163
bughttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22bug%22
monohttps://github.com/scriptcs/scriptcs/issues?q=state%3Aopen%20label%3A%22mono%22
v1.0No due datehttps://github.com/scriptcs/scriptcs/milestone/7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.