6 references to MayRequireAdditionalWork
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\ConvertToLibraryImportFixer.cs (3)
62
optionsBuilder.Add(Option.
MayRequireAdditionalWork
, new 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 (3)
47
public const string MayRequireAdditionalWork = nameof(
MayRequireAdditionalWork
);
176
bool includeFixesWithAdditionalWork = options.TryGetValue(Option.
MayRequireAdditionalWork
, out Option includeFixesWithAdditionalWorkOption) && includeFixesWithAdditionalWorkOption is Option.Bool(true);
188
bool mayRequireAdditionalWork = diagnostic.Properties.TryGetValue(Option.
MayRequireAdditionalWork
, out string mayRequireAdditionalWorkString)