21 references to DoesNotReturnAttributeDefinition
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (21)
Semantics\LambdaTests.cs (2)
4778var comp = CreateCompilation(new[] { source, DoesNotReturnAttributeDefinition }); 4814var comp = CreateCompilation(new[] { source, DoesNotReturnAttributeDefinition });
Semantics\LocalFunctionTests.cs (1)
6290var comp = CreateCompilation(new[] { DoesNotReturnAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
Semantics\NullableReferenceTypesTests.cs (18)
36990var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition }); 36994var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition }); 37016var comp = CreateCompilation(new[] { source, DoesNotReturnAttributeDefinition }); 37041var comp = CreateNullableCompilation(new[] { source, DoesNotReturnAttributeDefinition }, parseOptions: TestOptions.Regular9); 37067var comp = CreateNullableCompilation(new[] { source, DoesNotReturnAttributeDefinition }, parseOptions: TestOptions.Regular9); 37121var comp = CreateNullableCompilation(new[] { source, DoesNotReturnAttributeDefinition }); 37150var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition }); 37158var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition }); 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 }); 37274var comp = CreateNullableCompilation(new[] { source, DoesNotReturnAttributeDefinition }); 42977var comp = CreateNullableCompilation(new[] { DoesNotReturnAttributeDefinition, source }); 43059var comp = CreateCompilation(new[] { DoesNotReturnAttributeDefinition, source }); 43143var comp = CreateCompilation(new[] { DoesNotReturnAttributeDefinition, source }); 43205var comp = CreateNullableCompilation(new[] { DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition, source }); 158932var comp = CreateCompilation(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });