4 instantiations of String
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\ConvertToLibraryImportFixer.cs (3)
66
optionsBuilder.Add(CharSetOption, new Option.
String
(diagnostic.Properties[ConvertToLibraryImportAnalyzer.CharSet]));
112
selectedOptions.Add(SelectedSuffixOption, new Option.
String
("A")));
124
selectedOptions.Add(SelectedSuffixOption, new Option.
String
("W")));
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
79
options.Add(optionKeyAndValue[0], new
String
(value));
3 references to String
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportFixer.cs (3)
42
if (selectedOptions.TryGetValue(SelectedSuffixOption, out Option? suffixOption) && suffixOption is Option.
String
(string suffixValue))
80
CharSet? charSet = options.TryGetValue(CharSetOption, out Option charSetOption) && charSetOption is Option.
String
(string charSetString) && Enum.TryParse<CharSet>(charSetString, out CharSet result) ? result : null;
132
char? suffix = selectedOptions.TryGetValue(SelectedSuffixOption, out Option selectedSuffixOption) && selectedSuffixOption is Option.
String
(string selectedSuffix) ? selectedSuffix[0] : null;