32 references to DoesNotReturnIfAttributeDefinition
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (32)
Semantics\LocalFunctionTests.cs (1)
6319var comp = CreateCompilation(new[] { DoesNotReturnIfAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
Semantics\NullableReferenceTypesTests.cs (30)
37098var comp = CreateNullableCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }); 37187var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition }); 37191var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition }); 37234var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition }); 37238var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition }); 37300", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37323var comp = CreateNullableCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }); 37346", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37367", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37393", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37413", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37438", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37464", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37479", DoesNotReturnIfAttributeDefinition }); 37512", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37531", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37550", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37573", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37597", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37628", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37652", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37672", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 37730", DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 42790var comp = CreateNullableCompilation(new[] { source, NotNullAttributeDefinition, DoesNotReturnIfAttributeDefinition }); 43205var comp = CreateNullableCompilation(new[] { DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition, source }); 131058var comp = CreateCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable()); 140466var comp = CreateCompilation(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable()); 140934CreateCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics(); 155695var comp = CreateCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }); 158932var comp = CreateCompilation(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
Semantics\UninitializedNonNullableFieldTests.cs (1)
2189var comp = CreateCompilation(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());