32 references to DoesNotReturnIfAttributeDefinition
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (32)
Semantics\LocalFunctionTests.cs (1)
6319
var comp = CreateCompilation(new[] {
DoesNotReturnIfAttributeDefinition
, source }, parseOptions: TestOptions.Regular9);
Semantics\NullableReferenceTypesTests.cs (30)
37098
var comp = CreateNullableCompilation(new[] { source,
DoesNotReturnIfAttributeDefinition
});
37187
var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
37191
var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
37234
var lib = CreateNullableCompilation(new[] { lib_cs, DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
37238
var comp2 = CreateNullableCompilation(new[] { source, lib_cs, DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
37300
",
DoesNotReturnIfAttributeDefinition
}, options: WithNullableEnable());
37323
var 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());
42790
var comp = CreateNullableCompilation(new[] { source, NotNullAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
43205
var comp = CreateNullableCompilation(new[] { DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
, source });
131058
var comp = CreateCompilation(new[] { source,
DoesNotReturnIfAttributeDefinition
}, options: WithNullableEnable());
140466
var comp = CreateCompilation(new[] {
DoesNotReturnIfAttributeDefinition
, source }, options: WithNullableEnable());
140934
CreateCompilation(new[] { source,
DoesNotReturnIfAttributeDefinition
}).VerifyDiagnostics();
155695
var comp = CreateCompilation(new[] { source,
DoesNotReturnIfAttributeDefinition
});
158932
var comp = CreateCompilation(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition,
DoesNotReturnIfAttributeDefinition
});
Semantics\UninitializedNonNullableFieldTests.cs (1)
2189
var comp = CreateCompilation(new[] { source,
DoesNotReturnIfAttributeDefinition
}, options: WithNullableEnable());