Skip to content

List of C Sharp Kata to Update

kazk edited this page Jan 28, 2021 · 15 revisions

The following kata needs to fixed to enable C# 7.3/8.0. Any help will be appreciated.

Preloaded shadowing System namespace to disable built-in functions

  1. Basics 07: Calculate Sin(x) - too easy? Should be retired instead since the sine function ban can be bypassed in all 4 existing languages

CSharpCodeProvider and CodeDomProvider does not exist anymore

Ref: https://github.com/codewars/codewars-runner-cli/issues/809

Error message:

The type name 'CodeDomProvider' could not be found in the namespace 'System.CodeDom.Compiler'. This type has been forwarded to assembly 'System.CodeDom, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' Consider adding a reference to that assembly.

Looks like System.CodeDom assembly needs to be added as a reference.

UPDATE The following packages are now available:

  • Microsoft.CodeAnalysis.CSharp 3.8.0
  • Microsoft.CodeAnalysis.CSharp.Scripting 3.8.0
  • System.CodeDom 5.0.0
  1. Graphics 04: Complete Function Grapher (~15 Lines of Code?!)
  2. Reflection #2 - Give me all methods
  3. Reflection #3 - Add the member-results
  4. Reflection #4 - Complete-Invoke
  5. RunTime Compiler
Clone this wiki locally