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)
774var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature());
Semantics\NullableReferenceTypesTests.cs (1)
112817CreateCompilation(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
Semantics\OperatorTests.cs (1)
8848CreateCompilation(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
Semantics\OverloadResolutionTests.cs (1)
8412CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (5)
7572CreateCompilation(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 7639CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(); 14159CreateCompilation(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 22891CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics( 22970CreateCompilation(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(