25 references to MessageBoxImplementation_NoDllImport
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (25)
Microsoft.NetCore.Analyzers\Security\UseDefaultDllImportSearchPathsAttributeForLibraryImportAndDllImportTests.cs (25)
102await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
129await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
157await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
185await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
211await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, "AssemblyDirectory"));
236await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule,
264await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule,
293await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
322await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
352await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport,
381await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(11, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule,
417await RunAnalyzerWithConfigAsync(source, MessageBoxImplementation_NoDllImport, config,
451await RunAnalyzerWithConfigAsync(source + MessageBoxImplementation_NoDllImport, "", config, GetCSharpResultAt(9, 31,
485await RunAnalyzerWithConfigAsync(source, MessageBoxImplementation_NoDllImport, config,
512await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
546await RunAnalyzerWithConfigAsync(source, MessageBoxImplementation_NoDllImport, config);
578await RunAnalyzerWithConfigAsync(source, MessageBoxImplementation_NoDllImport, config);
599await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
629await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
653await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
678await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
698await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(8, 31,
725await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
749await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);
773await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);