293 references to WithUpdatedMemorySafetyRules
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (291)
UnsafeEvolutionTests.cs (291)
55options: optionsExe.WithUpdatedMemorySafetyRules()) 61options: optionsExe.WithUpdatedMemorySafetyRules()) 76options: optionsDll.WithUpdatedMemorySafetyRules(), 88options: optionsExe.WithUpdatedMemorySafetyRules()) 128options: optionsExe.WithUpdatedMemorySafetyRules()) 379options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 385options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 394options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 405options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 422options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 439options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 444options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 460options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesA)) 472comp = CreateCompilation(sourceB, [refA], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesB)); 497options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 514options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules(), 531options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 550options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 570options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 576options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 622options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()), 836options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 843options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 863comp = CreateCompilation(source, [ref1], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)); 897CreateCompilation(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 901options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 905options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 922CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 926options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 930options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 970CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 974options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 978options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1000options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1027CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1030CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1034options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1038options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1071CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1075options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1079options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1113CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1116CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1120options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1124options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1164options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1169options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1174options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1231CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1236options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1241options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1272options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1297CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 1301options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1306options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1322CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1326options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1330options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1373CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1378options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1383options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1414CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1419options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1424options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1440CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1444options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1448options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1491CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1496options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1501options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1524CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1528options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1532options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1582CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1587options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1592options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1660CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1665options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1670options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1732CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1736options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1740options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1814CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1819options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1824options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1857CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1861options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1865options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1894CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1898options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1902options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1929CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1932CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1936options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1940options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1981CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1987options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1993options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2025CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2040CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2046options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2052options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2092CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2097options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2102options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2122CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2126options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2130options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2177CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2182options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2187options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2230CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2234options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2238options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2284CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2289options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2294options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2325CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2328CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2332options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2336options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2381CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedDiagnostics); 2385options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedDiagnostics); 2389options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2442CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2445CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedWarnings); 2449options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(expectedWarnings); 2453options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2501CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2505options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2509options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2562CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2566options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2570options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2619CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2624options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2629options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2669CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2672CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2676options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2680options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2762CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2767options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2772options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2860CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2864options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2868options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2931CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2935options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2939options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2991CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2996options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3001options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3062CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3067options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3072options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 3115CreateCompilation(source, options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 3121CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 3180CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3185options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3190options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3238CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3243options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3248options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3306CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3311options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3316options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3342CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3386CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(10)).VerifyDiagnostics(expectedDiagnostics); 3410CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 3412CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(11)).VerifyDiagnostics(expectedDiagnostics); 3416options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 3420options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3512CreateCompilationWithSpan([source], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3517options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3522options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3575CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3617CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3673CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3706options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3747CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics([ 3793CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3843CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics([ 3911createCompilation(TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 3970createCompilation(TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 4050options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 4072options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4119options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(apiUpdatedRules)) 4124options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 4136options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 4455options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 4604options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4609options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4838options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5200options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5235options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5289options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5306options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5325options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5809options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 6161options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 6204options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All)) 6226options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 6275options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7347options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7373options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 7826options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8276options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8495options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8506options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8658options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8670options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8730options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8742options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8795options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8838options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8884options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8900options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8976options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8992options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9091options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9195options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9280options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9369options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9384options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9455options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9478options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9560options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9576options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9638options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9650options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9703options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9714options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9775options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9787options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9853options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9858options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9863options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 9895options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9904options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9944options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10399options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 10404options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 10409options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 10472options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 10477options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 10482options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 10514options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10523options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10563options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10647options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10652options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10657options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10691options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10700options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10745options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10831options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10836options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10841options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10875options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 10884options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10913options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10991options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 10996options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11001options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11034options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11043options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 11083options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 11159options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 11164options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11169options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11203options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11212options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 11252options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 11322options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11334options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11359options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11378options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 11403options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11435options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11462options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 11473options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 11480options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11535options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules() 11543options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11591options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11637options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11685options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 11789options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 11799options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 11881options: TestOptions.UnsafeReleaseDll.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);