Turned getter-like extension methods into extension properties (#1157)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-04 13:00:56 +01:00
1 parent 0375318b1b
commit f649febf88
286 files changed
+1379 -1109

No files matched your search

@@ -51,8 +51,8 @@ public sealed class ConfigurationSnippetParser
var section = parser.ReadBracketedString();
if (section != expectedSection)
throw new FormatException(PluginConfigurationObjectDescriptors.TryGet(section, out var otherDescriptor)
? string.Format(TB("The pasted configuration describes the type '{0}', but only the type '{1}' can be imported here."), otherDescriptor.Type.GetName(), type.GetName())
: string.Format(TB("The pasted configuration does not describe the type '{0}', which can be imported here."), type.GetName()));
? string.Format(TB("The pasted configuration describes the type '{0}', but only the type '{1}' can be imported here."), otherDescriptor.Type.Name, type.Name)
: string.Format(TB("The pasted configuration does not describe the type '{0}', which can be imported here."), type.Name));
parser.Expect('[');
parser.Expect('#');