272 references to WithUpdatedMemorySafetyRules
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (270)
UnsafeEvolutionTests.cs (270)
50options: optionsExe.WithUpdatedMemorySafetyRules()) 56options: optionsDll.WithUpdatedMemorySafetyRules(), 68options: optionsExe.WithUpdatedMemorySafetyRules()) 104options: optionsExe.WithUpdatedMemorySafetyRules()) 317options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 323options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 332options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 343options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 360options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 377options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 382options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 398options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesA)) 410comp = CreateCompilation(sourceB, [refA], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRulesB)); 435options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 452options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules(), 469options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 488options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 508options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 514options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 560options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()), 774options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 781options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules()) 801comp = CreateCompilation(source, [ref1], options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)); 835CreateCompilation(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 839options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 843options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 860CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 864options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 868options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 900CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 904options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 908options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 930options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 957CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 960CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 964options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 968options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 997CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1001options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1005options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1039CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1042CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1046options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1050options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1080options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1085options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1090options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe).WithUpdatedMemorySafetyRules()) 1136CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1141options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1146options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1177options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1202CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 1206options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1211options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1227CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1231options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1235options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1267CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1272options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1277options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1308CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1313options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1318options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1334CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1338options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1342options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1374CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1379options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1384options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1407CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1411options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1415options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1454CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1459options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1464options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1521CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1526options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1531options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1584CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1588options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1592options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1655CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1660options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1665options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1698CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1702options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1706options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1735CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1739options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1743options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1770CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1773CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1777options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1781options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 1818CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1824options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1830options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1862CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1877CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1883options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1889options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1918CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1923options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1928options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1948CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1952options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 1956options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 1992CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 1997options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2002options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2041CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2045options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2049options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2084CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2089options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2094options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2125CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2128CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2132options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2136options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2174CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2178options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2182options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2231CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2235options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2239options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2277CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2282options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2287options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2327CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2330CreateCompilation(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2334options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2338options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics( 2394CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2398options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2402options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2456CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2460options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()).VerifyEmitDiagnostics(); 2464options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2511CreateCompilation(source, options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2516options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2521options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 2564CreateCompilation(source, options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 2570CreateCompilation(source, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 2618CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2623options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2628options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2676CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2681options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2686options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2712CreateCompilationWithSpan(source, options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2756CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(10)).VerifyDiagnostics(expectedDiagnostics); 2768CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 2770CreateCompilation([source, IsExternalInitTypeDefinition], options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithWarningLevel(11)).VerifyDiagnostics(expectedDiagnostics); 2774options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expectedDiagnostics); 2778options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()).VerifyDiagnostics( 2858options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 2873options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 2939options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(apiUpdatedRules)) 2944options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 2956options: TestOptions.ReleaseExe.WithAllowUnsafe(callerAllowUnsafe).WithUpdatedMemorySafetyRules(callerUpdatedRules)); 3290options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 3445options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3450options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 3696options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4085options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4122options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 4177options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4194options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4213options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 4682options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 5050options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5095options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All)) 5116options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5131options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5150options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 5469options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 5926options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 6274options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 6299options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 6703options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 6934options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 6945options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7059options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7071options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7118options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7130options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7170options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7212options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7257options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7273options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7336options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7352options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7438options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7515options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7582options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7647options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7662options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7720options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7743options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7812options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7828options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7877options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7889options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7929options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 7940options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 7988options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8000options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 8068options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 8085options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8090options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8131options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8140options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8171options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8563options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 8571options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8576options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8645options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 8670options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8675options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()) 8725options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8734options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8765options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8855options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8872options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8877options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8920options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 8929options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 8965options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9057options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9073options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9078options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9121options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9130options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9158options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9240options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9250options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9255options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9291options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9300options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9331options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9409options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9419options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9424options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9461options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9470options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9501options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules()) 9579options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 9588options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 9605options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 9623options: TestOptions.ReleaseModule.WithAllowUnsafe(true).WithUpdatedMemorySafetyRules()) 9651options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(), 9659options: TestOptions.ReleaseModule.WithUpdatedMemorySafetyRules(), 9704options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules().WithMetadataImportOptions(MetadataImportOptions.All), 9722options: TestOptions.ReleaseModule.WithAllowUnsafe(true).WithUpdatedMemorySafetyRules()) 9752options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9772options: TestOptions.UnsafeReleaseExe.WithUpdatedMemorySafetyRules(), 9801options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 9830options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules(), 9857options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9865options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()) 9875options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9930options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules() 9938options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 9986options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 10032options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 10080options: TestOptions.ReleaseExe.WithUpdatedMemorySafetyRules()) 10179options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 10190options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules(updatedRules)) 10276options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\UnsafeTests.cs (2)
11411CreateCompilation(text, options: TestOptions.ReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expected); 11412CreateCompilation(text, options: TestOptions.UnsafeReleaseDll.WithUpdatedMemorySafetyRules()).VerifyDiagnostics(expected);