Allow reserved identifiers as names in named arguments.
See original GitHub issueThese were introduced in C# 4, looking like so:
resultNode = SimplificationHelpers.CopyAnnotations(from: node, to: resultNode);
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Identifiers - cppreference.com
An identifier can be used to name objects, references, functions, enumerators, types, class members, namespaces, templates, template specializations, parameter ...
Read more >Reserved Names (The GNU C Library)
All other library names are reserved if your program explicitly includes the header file that defines or declares them.
Read more >Reserved words as names or identifiers - java - Stack Overflow
public class HelloWorld { public static void main(String[] args) { HelloWorld.nеw(); } ... As a result: no, you can't use the reserved words...
Read more >Identifiers - IBM
Identifiers that begin with a single underscore are reserved in the global namespace. C++ only ends. Although the names of system calls and...
Read more >Python Identifiers - Rules, Examples, Best Practices - AskPython
They are used to specify the names of variables, functions, class, module, etc. Identifier rules ... You can't use reserved keywords as an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So we do actually support named parameters although we don’t have decent corpus coverage. The problem on this line isn’t actually the lack of named parameter support it’s the presence of the argument name
from
which is a contextually-reserved word in C# used by the LINQ comprehension syntax such asselect a from b into c
.I’ll investigate what we can do about that.
Aha, that was the issue—changed the title to reflect this. Thanks, @damieng!