The Microsoft C# tooling does not accept definitions with values. Filter them out. Fixes: #19817
Fixes: #18698