13 references to SetsRequiredMembersAttribute
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\RuntimeProbing\ModuleCancellationTests.cs (2)
2014
""" +
SetsRequiredMembersAttribute
;
2042
""" +
SetsRequiredMembersAttribute
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
FieldKeywordTests.cs (4)
6959
var comp = CreateCompilation([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute,
SetsRequiredMembersAttribute
]);
6990
var comp = CreateCompilation([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute,
SetsRequiredMembersAttribute
, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7020
var comp = CreateCompilation([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute,
SetsRequiredMembersAttribute
, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7052
var comp = CreateCompilation([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute,
SetsRequiredMembersAttribute
, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\UninitializedNonNullableFieldTests.cs (3)
2875
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute });
2897
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute });
2926
var comp = CreateCompilation(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\PartialPropertiesTests.cs (3)
2321
var verifier = CompileAndVerify([source, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute], expectedOutput: "A");
2351
var comp = CreateCompilation([source, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute]);
2377
var comp = CreateCompilation([source, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute]);
Symbols\RequiredMembersTests.cs (1)
23
=> CreateCompilation(new[] { source, RequiredMemberAttribute,
SetsRequiredMembersAttribute
, CompilerFeatureRequiredAttribute }, references, options: options, parseOptions: parseOptions, assemblyName: assemblyName, targetFramework: targetFramework);