93 references to MemberNotNullWhenAttributeDefinition
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (93)
Semantics\LambdaTests.cs (1)
4206new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, NotNullIfNotNullAttributeDefinition, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition },
Semantics\NullableReferenceTypesTests.cs (92)
20884", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 22319""", MemberNotNullWhenAttributeDefinition]); 22375""", MemberNotNullWhenAttributeDefinition]); 22431""", MemberNotNullWhenAttributeDefinition]); 22481""", MemberNotNullWhenAttributeDefinition]); 22522""", MemberNotNullWhenAttributeDefinition]); 22564""", MemberNotNullWhenAttributeDefinition]); 22605""", MemberNotNullWhenAttributeDefinition]); 22638""", MemberNotNullWhenAttributeDefinition]); 22684""", MemberNotNullWhenAttributeDefinition]); 22733""", MemberNotNullWhenAttributeDefinition]); 23598", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 23695var c = CreateCompilation(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8); 23714var c2 = CreateCompilation(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 24773", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 24815", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 24865", MemberNotNullWhenAttributeDefinition, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9); 24896", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25052", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25092", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25133", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25193", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25220", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25251", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25302", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25356", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25413", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25453}", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25524}", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25626", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25664}", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25758", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25866", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 25930", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26003", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26067", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26120", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26177", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26223", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26276", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26324", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26365", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26414", MemberNotNullWhenAttributeDefinition, MaybeNullWhenAttributeDefinition }); 26457", MemberNotNullWhenAttributeDefinition, MaybeNullWhenAttributeDefinition }); 26508", MemberNotNullWhenAttributeDefinition, MaybeNullWhenAttributeDefinition }); 26563", MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26613", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26676", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26717", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26759", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26797", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26838", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26880", MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9); 26947", MemberNotNullWhenAttributeDefinition }); 26986", MemberNotNullWhenAttributeDefinition }); 27025", MemberNotNullWhenAttributeDefinition }); 27061", MemberNotNullWhenAttributeDefinition }); 27094", MemberNotNullWhenAttributeDefinition }); 27130", MemberNotNullWhenAttributeDefinition }); 27161", MemberNotNullWhenAttributeDefinition }); 27190", MemberNotNullWhenAttributeDefinition }); 27224", MemberNotNullWhenAttributeDefinition }); 27604", MemberNotNullWhenAttributeDefinition }); 27638", MemberNotNullWhenAttributeDefinition }); 27671", MemberNotNullWhenAttributeDefinition }); 27704", MemberNotNullWhenAttributeDefinition }); 27747", MemberNotNullWhenAttributeDefinition }); 27780", MemberNotNullWhenAttributeDefinition }); 27813", MemberNotNullWhenAttributeDefinition }); 27846", MemberNotNullWhenAttributeDefinition }); 27881", MemberNotNullWhenAttributeDefinition }); 27917", MemberNotNullWhenAttributeDefinition }); 27950", MemberNotNullWhenAttributeDefinition }); 27985", MemberNotNullWhenAttributeDefinition }); 28021", MemberNotNullWhenAttributeDefinition }); 28052", MemberNotNullWhenAttributeDefinition }); 28090", MemberNotNullWhenAttributeDefinition }); 28125", MemberNotNullWhenAttributeDefinition }); 28157", MemberNotNullWhenAttributeDefinition }); 28191", MemberNotNullWhenAttributeDefinition }); 28225", MemberNotNullWhenAttributeDefinition }); 28259", MemberNotNullWhenAttributeDefinition }); 28293", MemberNotNullWhenAttributeDefinition }); 28326", MemberNotNullWhenAttributeDefinition }); 28357", MemberNotNullWhenAttributeDefinition }); 28384", MemberNotNullWhenAttributeDefinition }); 28407", MemberNotNullWhenAttributeDefinition }); 28434", MemberNotNullWhenAttributeDefinition }); 28457", MemberNotNullWhenAttributeDefinition }); 159102var comp = CreateCompilation(new[] { source, MemberNotNullWhenAttributeDefinition }); 159143var comp = CreateCompilation(new[] { source, MemberNotNullWhenAttributeDefinition }); 159178var comp = CreateCompilation(new[] { source, MemberNotNullWhenAttributeDefinition });