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