Godot-docs: "Mouse and input coordinates" example doesn't follow the C# style guide

Created on 17 Jun 2019  路  1Comment  路  Source: godotengine/godot-docs

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

bug

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KoopHauss picture KoopHauss  路  3Comments

eon-s picture eon-s  路  3Comments

Gfurst picture Gfurst  路  3Comments

fdmarcin picture fdmarcin  路  4Comments

puthre picture puthre  路  4Comments