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)
775
var strictCompilation = CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
());
Semantics\NullableReferenceTypesTests.cs (1)
116545
CreateCompilation(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyEmitDiagnostics();
Semantics\OperatorTests.cs (1)
8849
CreateCompilation(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\OverloadResolutionTests.cs (1)
8407
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (5)
7576
CreateCompilation(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
7643
CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics();
14209
CreateCompilation(text, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
23093
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
23172
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(