3 instantiations of Bool
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportFixer.cs (1)
62
optionsBuilder.Add(Option.MayRequireAdditionalWork, new Option.
Bool
(true));
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
75
options.Add(optionKeyAndValue[0], new
Bool
(bool.Parse(value)));
135
var selectedOptions = fix.SelectedOptions.Add(Option.AllowUnsafe, new Option.
Bool
(true));
5 references to Bool
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\ConvertToLibraryImportFixer.cs (3)
39
bool allowUnsafe = selectedOptions.TryGetValue(Option.AllowUnsafe, out Option? allowUnsafeOption) && allowUnsafeOption is Option.
Bool
(true);
78
bool warnForAdditionalWork = options.TryGetValue(Option.MayRequireAdditionalWork, out Option mayRequireAdditionalWork) && mayRequireAdditionalWork is Option.
Bool
(true);
131
bool warnForAdditionalWork = selectedOptions.TryGetValue(Option.MayRequireAdditionalWork, out Option mayRequireAdditionalWork) && mayRequireAdditionalWork is Option.
Bool
(true);
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (2)
174
bool addUnsafe = options.TryGetValue(Option.AllowUnsafe, out Option allowUnsafeOption) && allowUnsafeOption is Option.
Bool
(true);
176
bool includeFixesWithAdditionalWork = options.TryGetValue(Option.MayRequireAdditionalWork, out Option includeFixesWithAdditionalWorkOption) && includeFixesWithAdditionalWorkOption is Option.
Bool
(true);