4 instantiations of Bool
Microsoft.Interop.ComInterfaceGenerator (4)
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (2)
49
optionsBuilder.Add(Option.MayRequireAdditionalWork, new Option.
Bool
(true));
53
optionsBuilder.Add(AddStringMarshallingOption, 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));
8 references to Bool
Microsoft.Interop.ComInterfaceGenerator (8)
Analyzers\AddGeneratedComClassFixer.cs (1)
50
bool allowUnsafe = selectedOptions.TryGetValue(Option.AllowUnsafe, out var allowUnsafeOption) && allowUnsafeOption is Option.
Bool
(true);
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (5)
30
return selectedOptions.TryGetValue(Option.AllowUnsafe, out Option allowUnsafeOption) && allowUnsafeOption is Option.
Bool
(true)
37
bool mayRequireAdditionalWork = selectedOptions.TryGetValue(Option.MayRequireAdditionalWork, out Option mayRequireAdditionalWorkOption) && mayRequireAdditionalWorkOption is Option.
Bool
(true);
38
bool addStringMarshalling = selectedOptions.TryGetValue(AddStringMarshallingOption, out Option addStringMarshallingOption) && addStringMarshallingOption is Option.
Bool
(true);
62
&& fixAllAddStringMarshallingOption is Option.
Bool
(true)
64
|| addStringMarshallingOption is Option.
Bool
(false)))
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);