82 references to MaybeNullWhenAttributeDefinition
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (82)
Semantics\LambdaTests.cs (2)
4582
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition, MaybeNullAttributeDefinition });
4976
new[] { source, AllowNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, NotNullIfNotNullAttributeDefinition },
Semantics\LocalFunctionTests.cs (3)
6125
var comp = CreateCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source }, parseOptions: TestOptions.Regular9);
6163
var comp = CreateCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source }, parseOptions: TestOptions.Regular9);
6263
var comp = CreateCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source }, parseOptions: TestOptions.Regular9);
Semantics\NullableReferenceTypesTests.cs (77)
26414
", MemberNotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
26457
", MemberNotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
26508
", MemberNotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
28605
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
28629
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
28741
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
28895
",
MaybeNullWhenAttributeDefinition
});
28927
",
MaybeNullWhenAttributeDefinition
});
28964
",
MaybeNullWhenAttributeDefinition
});
29336
var comp = CreateNullableCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
29582
var comp = CreateNullableCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
29624
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
29648
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
29683
",
MaybeNullWhenAttributeDefinition
});
29721
",
MaybeNullWhenAttributeDefinition
});
29937
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
29969
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
29999
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
30035
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
30955
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
30986
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
31349
",
MaybeNullWhenAttributeDefinition
});
31381
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
31413
",
MaybeNullWhenAttributeDefinition
, MaybeNullAttributeDefinition }, options: WithNullableEnable());
31447
",
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition });
31473
",
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition });
31504
",
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition });
31535
",
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition });
33589
var lib = CreateNullableCompilation(new[] { NotNullIfNotNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, lib_cs });
33593
var comp2 = CreateNullableCompilation(new[] { source, lib_cs, NotNullIfNotNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
38552
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
38577
",
MaybeNullWhenAttributeDefinition
}, options: WithNullableEnable());
41567
var comp = CreateNullableCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
42122
",
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition });
42305
var comp = CreateNullableCompilation(new[] { MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
42348
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source.Replace("TYPE", type) });
42405
var comp = CreateNullableCompilation(new[] { AllowNullAttributeDefinition, MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source.Replace("TYPE", type) });
42448
var comp = CreateNullableCompilation(new[] { AllowNullAttributeDefinition, MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source.Replace("TYPE", type) });
42478
var comp = CreateNullableCompilation(new[] { NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
42511
var comp = CreateNullableCompilation(new[] { AllowNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
42840
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, NotNullAttributeDefinition, NotNullWhenAttributeDefinition, source.Replace("TYPE", type) });
42902
var comp = CreateNullableCompilation(new[] { AllowNullAttributeDefinition, MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
43342
var comp = CreateNullableCompilation(new[] { NotNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
43436
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
43459
var comp = CreateCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
43488
var comp = CreateCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
43556
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
43597
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, source });
43667
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, MaybeNullAttributeDefinition, source });
43714
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, MaybeNullAttributeDefinition, source });
45702
var comp = CreateNullableCompilation(new[] {
MaybeNullWhenAttributeDefinition
, NotNullWhenAttributeDefinition, source });
47243
var comp = CreateCompilation(new[] { MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
48727
var comp = CreateNullableCompilation(new[] { NotNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
48752
var comp = CreateNullableCompilation(new[] { NotNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
, source });
50248
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
50327
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
50406
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
50470
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
50542
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
50638
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52360
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52447
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52542
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52656
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52924
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
52972
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
53033
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
53092
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
53133
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
53185
var comp = CreateNullableCompilation(new[] { source, NotNullWhenAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
70075
var comp = CreateNullableCompilation(new[] { source, MaybeNullAttributeDefinition,
MaybeNullWhenAttributeDefinition
});
156853
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
156880
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
156922
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
156958
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
156992
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});
157168
var comp = CreateCompilation(new[] { source,
MaybeNullWhenAttributeDefinition
});