292 references to WithUpdatedMemorySafetyRules
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (290)
UnsafeEvolutionTests.cs (290)
51options: optionsExe.WithUpdatedMemorySafetyRules()) 57options: optionsExe.WithUpdatedMemorySafetyRules()) 72options: optionsDll.WithUpdatedMemorySafetyRules(), 84options: optionsExe.WithUpdatedMemorySafetyRules()) 120options: optionsExe.WithUpdatedMemorySafetyRules()) 333options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 339options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 348options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 359options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 376options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 393options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 398options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 414options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesA)) 426comp = CreateCompilation(sourceB, [refA], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesB)); 451options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 468options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules(), 485options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 504options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 524options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 530options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 576options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()), 790options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 797options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 817comp = CreateCompilation(source, [ref1], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)); 851CreateCompilation(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 855options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 859options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 876CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 880options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 884options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 924CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 928options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 932options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 954options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 981CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 984CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 988options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 992options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1025CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1029options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1033options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1067CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1070CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1074options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1078options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1118options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1123options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1128options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1185CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1190options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1195options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1226options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1251CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 1255options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1260options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1276CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1280options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1284options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1327CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1332options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1337options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1368CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1373options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1378options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1394CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1398options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1402options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1445CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1450options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1455options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1478CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1482options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1486options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1536CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1541options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1546options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1614CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1619options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1624options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1686CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1690options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1694options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1768CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1773options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1778options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1811CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1815options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1819options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1848CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1852options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1856options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1883CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1886CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1890options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1894options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1935CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1941options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1947options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1979CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1994CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2000options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2006options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2046CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2051options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2056options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2076CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2080options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2084options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2131CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2136options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2141options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2184CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2188options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2192options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2238CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2243options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2248options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2279CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2282CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2286options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2290options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2335CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedDiagnostics); 2339options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedDiagnostics); 2343options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2396CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2399CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedWarnings); 2403options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedWarnings); 2407options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2455CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2459options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2463options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2516CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2520options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2524options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2573CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2578options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2583options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2623CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2626CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2630options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2634options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2716CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2721options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2726options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2814CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2818options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2822options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2885CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2889options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2893options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2945CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2950options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2955options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3016CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3021options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3026options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3069CreateCompilation(source, options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 3075CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 3134CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3139options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3144options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3192CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3197options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3202options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3260CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3265options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3270options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3296CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3340CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(10)).VerifyDiagnostics(expectedDiagnostics); 3352CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 3354CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(11)).VerifyDiagnostics(expectedDiagnostics); 3358options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 3362options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3442CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3447options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3452options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3551options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 3566options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3632options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(apiUpdatedRules)) 3637options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 3649options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 3983options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 4138options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4143options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4389options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4778options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4815options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4870options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4887options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4906options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5375options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5743options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5788options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All)) 5809options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5824options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5843options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 6319options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 6933options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7301options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7326options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7730options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7961options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7972options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8110options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8122options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8181options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8193options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8245options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8287options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8332options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8348options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8423options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8439options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8537options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8614options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8693options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8770options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8785options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8855options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8878options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8959options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8975options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9036options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9048options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9100options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9111options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9171options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9183options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9251options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9268options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9273options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9314options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9323options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9362options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9754options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9762options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9767options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9836options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9861options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9866options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9916options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9925options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9964options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10054options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10071options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10076options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10119options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10128options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10172options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10264options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10280options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10285options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10328options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10337options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10365options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10447options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10457options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10462options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10498options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10507options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10546options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10624options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10634options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10639options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10676options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10685options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10724options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10802options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 10811options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 10828options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 10846options: TestOptions.ReleaseModule.WithAllowUnsafe(true).WithUpdatedMemorySafetyRules()) 10874options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 10882options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules(), 10927options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 10945options: TestOptions.ReleaseModule.WithAllowUnsafe(true).WithUpdatedMemorySafetyRules()) 10975options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10995options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 11024options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11053options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11080options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11088options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11098options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11153options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules() 11161options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11209options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11255options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11303options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11402options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 11413options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 11499options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\UnsafeTests.cs (2)
11538CreateCompilation(text, options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expected); 11539CreateCompilation(text, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expected);