10 references to WithStrictFeature
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
BreakingChanges.cs (1)
407
var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\LockTests.cs (1)
774
var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
());
Semantics\NullableReferenceTypesTests.cs (1)
112817
CreateCompilation(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyEmitDiagnostics();
Semantics\OperatorTests.cs (1)
8848
CreateCompilation(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\OverloadResolutionTests.cs (1)
8412
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (5)
7572
CreateCompilation(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
7639
CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics();
14159
CreateCompilation(text, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
22891
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
22970
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(