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)
116609
CreateCompilation(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyEmitDiagnostics();
Semantics\OperatorTests.cs (1)
8850
CreateCompilation(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\OverloadResolutionTests.cs (1)
8404
CreateCompilation(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (5)
7621
CreateCompilation(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
7688
CreateCompilation(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics();
14317
CreateCompilation(text, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
23192
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(
23271
CreateCompilation(source, parseOptions: TestOptions.Regular.
WithStrictFeature
()).VerifyDiagnostics(