39 references to RunAnalyzerAsync
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (39)
Microsoft.NetCore.Analyzers\Security\UseDefaultDllImportSearchPathsAttributeForLibraryImportAndDllImportTests.cs (39)
99await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 102await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 126await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 129await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 154await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 157await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 182await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 185await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 210await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, "AssemblyDirectory")); 211await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, "AssemblyDirectory")); 234await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 236await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 262await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 264await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(9, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 290await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 293await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 319await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 322await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 349await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, 352await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, 379await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, GetCSharpResultAt(11, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 381await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(11, 31, UseDefaultDllImportSearchPathsAttribute.DoNotUseUnsafeDllImportSearchPathRule, 511await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 512await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 599await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 627await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 629await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 652await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 653await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 677await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 678await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 696await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport, GetCSharpResultAt(8, 31, 698await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport, GetCSharpResultAt(8, 31, 724await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 725await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 748await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 749await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport); 772await RunAnalyzerAsync(source, MessageBoxImplementation_DllImport); 773await RunAnalyzerAsync(source, MessageBoxImplementation_NoDllImport);