22 references to WithNullablePublicOnly
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (22)
Attributes\AttributeTests_NativeInteger.cs (1)
1445parseOptions: TestOptions.Regular9.WithNullablePublicOnly());
Attributes\AttributeTests_NullablePublicOnly.cs (21)
38comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 62comp = CreateCompilation(source, references: new[] { ref1 }, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 89comp = CreateCompilation(new[] { source1, source2 }, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 105comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 125comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 145comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 165comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 185comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 205comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 223comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 254parseOptions: TestOptions.Regular8.WithNullablePublicOnly()); 277comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 297comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 316comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 336comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 359comp = CreateCompilation(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 383comp = CreateCompilation(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly()); 501var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNullablePublicOnly(), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All)); 522var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNullablePublicOnly().WithNoRefSafetyRulesAttribute()); 568CompileAndVerify(source, parseOptions: parseOptions.WithNullablePublicOnly(), expectedOutput: "False"); 570CompileAndVerify(new[] { source, sourceIVTs }, parseOptions: parseOptions.WithNullablePublicOnly(), expectedOutput: "True");