10 references to WithStrictFeature
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
BreakingChanges.cs (1)
407var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\LockTests.cs (1)
775var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature());
Semantics\NullableReferenceTypesTests.cs (1)
116545CreateCompilation(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
Semantics\OperatorTests.cs (1)
8849CreateCompilation(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
Semantics\OverloadResolutionTests.cs (1)
8407CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (5)
7576CreateCompilation(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 7643CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(); 14209CreateCompilation(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 23093CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 23172CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(