Bugfix or docfix: README.md documentation incorrect or script.Assembly property needs to be changed from protected level to public
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- compilers, documentation
Research direction
Start with the README.md section "Compiling and Executing Entire Classes" and locate the definition of CSharpScriptExecutionAssembly and its Assembly property. Determine whether the example or the property's accessibility is incorrect, then validate that the documented script.Assembly usage is either corrected or made usable without breaking the intended protection level.
Written by the indexing model from the issue text.
Description
In README.md, the example provided in the section "Compiling and Executing Entire Classes" notes to use the following if you need access to the assembly:
var assembly = script.Assembly
This does not work as an CS0122 error is thrown stating "'CSharpScriptExecutionAssembly' is inaccessible due to its protection level."
I would submit a PR to change from protected to public, but was not sure if there was a specific reason for it to be designated as protected.
- Dominant language
- C#
- Stars
- 256
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RickStrahl/Westwind.Scripting
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RickStrahl/Westwind.Scripting#34 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RickStrahl/Westwind.Scripting#33 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
RickStrahl/Westwind.Scripting#28 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
RickStrahl/Westwind.Scripting#26 · 3 comments ·
All issues in RickStrahl/Westwind.Scripting
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·