Skip to content

C#/WinRT variable names can conflict with C# keywords #243

@llongley

Description

@llongley

If, for example, a type has a method named "Lock", internal references to its return value use "lock" as a variable name - but that's also a C# keyword, so compilation fails. See this repro app for an example of that.

Metadata

Metadata

Assignees

Labels

fixedIssue has been fixed in an upcoming or existing release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions