69 references to WithNullableDisable
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Attributes\AttributeTests_NullableContext.cs (1)
91comp = CreateCompilation(new[] { source1, source2 }, options: WithNullableDisable());
Attributes\AttributeTests_NullablePublicOnly.cs (7)
179var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 199var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 216var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 270var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 290var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 309var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All); 329var options = WithNullableDisable().WithMetadataImportOptions(MetadataImportOptions.All);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (48)
Semantics\NullableReferenceTypesTests.cs (47)
5536var comp = CreateCompilation(source, options: WithNullableDisable()); 5972var comp = CreateCompilation(source, options: WithNullableDisable()); 6316var comp = CreateCompilation(source, options: WithNullableDisable()); 8461var c3 = CreateCompilation(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8); 8582var comp = CreateCompilation("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7); 9277var comp2D = CreateCompilation(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 }); 14383foreach (var options1 in new[] { WithNullableEnable(), WithNullableDisable() }) 14390foreach (var options2 in new[] { WithNullableEnable(), WithNullableDisable() }) 77315options: WithNullableDisable()); 77346options: WithNullableDisable()); 77373options: WithNullableDisable()); 77379options: WithNullableDisable()); 77480options: WithNullableDisable()); 77496options: WithNullableDisable()); 77508options: WithNullableDisable()); 77514options: WithNullableDisable()); 99456var comp4 = CreateCompilation(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() }); 99459var comp5 = CreateCompilation(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() }); 99462var comp6 = CreateCompilation(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8); 99475var comp9 = CreateCompilation(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() }); 101285var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 105862foreach (var options in new[] { WithNullableEnable(), WithNullableDisable() }) 105904var comp2 = CreateCompilation(new[] { source }, options: WithNullableDisable()); 112555comp0 = CreateCompilation(new[] { source0 }, options: WithNullableDisable()); 112650comp0 = CreateCompilation(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8); 116148var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116185var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116223var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116260var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116297var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116339var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116378var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116419var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116466var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 116507var comp1 = CreateCompilation(source1, options: WithNullableDisable()); 125107var comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable()); 125112comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option)); 125115comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option)); 125290var comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable()); 125295comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option)); 125298comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option)); 126080comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option)); 126083comp = CreateCompilation(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option)); 144304var comp = CreateCompilation(source, options: WithNullableDisable()); 144327var comp = CreateCompilation(source, options: WithNullableDisable()); 144393var comp = CreateCompilation(new[] { source1, source2 }, options: WithNullableDisable()); 144415var comp = CreateCompilation(source, options: WithNullableDisable());
Semantics\UninitializedNonNullableFieldTests.cs (1)
1446comp = CreateCompilation(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Symbols\Source\NullablePublicAPITests.cs (11)
434var comp2 = CreateCompilation(source, options: WithNullableDisable()); 469var comp5 = CreateCompilation("", references: new[] { comp2Emit }, options: WithNullableDisable()); 1039var comp2 = CreateCompilation(source, options: WithNullableDisable()); 1055var comp5 = CreateCompilation("", references: new[] { comp2Emit }, options: WithNullableDisable()); 4507var comp = CreateCompilation(source, options: WithNullableDisable()); 4539var comp = CreateCompilation(source, options: WithNullableDisable()); 4572var comp = CreateCompilation(source, options: WithNullableDisable()); 4600var comp = CreateCompilation(source, options: WithNullableDisable()); 4633var comp = CreateCompilation(source, options: WithNullableDisable()); 4664var comp = CreateCompilation(source, options: WithNullableDisable()); 4695var comp = CreateCompilation(source, options: WithNullableDisable());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2594new object[] { WithNullableDisable(TestOptions.DebugDll) } 2606new object[] { WithNullableDisable(TestOptions.ReleaseDll) }