In the Mouse and input coordinates C# example snippet, C# 7.0's operator pattern matching is used, but the C# style guide advises to stick to C# 6.0 for now.
Originally reported here: https://godotengine.org/qa/46714/does-godot-mono-support-operator-pattern-matching-casting
The style guide was for only for the docs, and we decided long ago to allow C# 7 as well. The style guide doesn't reflect this though.
The error from that QA question is because this user is using MSBuild 14.0. C# 7 requires MSBuild 15.0 or higher.
Most helpful comment
The style guide was for only for the docs, and we decided long ago to allow C# 7 as well. The style guide doesn't reflect this though.
The error from that QA question is because this user is using MSBuild 14.0. C# 7 requires MSBuild 15.0 or higher.