145 writes to TopLevelNullability
Microsoft.CodeAnalysis.CSharp (145)
BoundTree\NullabilityRewriter.cs (2)
114
currentBinary.
TopLevelNullability
= infoAndType.Info;
219
updatedNode.
TopLevelNullability
= infoAndType.Info;
Generated\BoundNodes.xml.Generated.cs (143)
12260
updatedNode.
TopLevelNullability
= infoAndType.Info;
12272
updatedNode.
TopLevelNullability
= infoAndType.Info;
12289
updatedNode.
TopLevelNullability
= infoAndType.Info;
12306
updatedNode.
TopLevelNullability
= infoAndType.Info;
12318
updatedNode.
TopLevelNullability
= infoAndType.Info;
12330
updatedNode.
TopLevelNullability
= infoAndType.Info;
12342
updatedNode.
TopLevelNullability
= infoAndType.Info;
12354
updatedNode.
TopLevelNullability
= infoAndType.Info;
12366
updatedNode.
TopLevelNullability
= infoAndType.Info;
12378
updatedNode.
TopLevelNullability
= infoAndType.Info;
12390
updatedNode.
TopLevelNullability
= infoAndType.Info;
12402
updatedNode.
TopLevelNullability
= infoAndType.Info;
12414
updatedNode.
TopLevelNullability
= infoAndType.Info;
12426
updatedNode.
TopLevelNullability
= infoAndType.Info;
12438
updatedNode.
TopLevelNullability
= infoAndType.Info;
12456
updatedNode.
TopLevelNullability
= infoAndType.Info;
12474
updatedNode.
TopLevelNullability
= infoAndType.Info;
12491
updatedNode.
TopLevelNullability
= infoAndType.Info;
12503
updatedNode.
TopLevelNullability
= infoAndType.Info;
12518
updatedNode.
TopLevelNullability
= infoAndType.Info;
12542
updatedNode.
TopLevelNullability
= infoAndType.Info;
12559
updatedNode.
TopLevelNullability
= infoAndType.Info;
12576
updatedNode.
TopLevelNullability
= infoAndType.Info;
12594
updatedNode.
TopLevelNullability
= infoAndType.Info;
12611
updatedNode.
TopLevelNullability
= infoAndType.Info;
12629
updatedNode.
TopLevelNullability
= infoAndType.Info;
12647
updatedNode.
TopLevelNullability
= infoAndType.Info;
12665
updatedNode.
TopLevelNullability
= infoAndType.Info;
12682
updatedNode.
TopLevelNullability
= infoAndType.Info;
12699
updatedNode.
TopLevelNullability
= infoAndType.Info;
12717
updatedNode.
TopLevelNullability
= infoAndType.Info;
12736
updatedNode.
TopLevelNullability
= infoAndType.Info;
12754
updatedNode.
TopLevelNullability
= infoAndType.Info;
12777
updatedNode.
TopLevelNullability
= infoAndType.Info;
12795
updatedNode.
TopLevelNullability
= infoAndType.Info;
12813
updatedNode.
TopLevelNullability
= infoAndType.Info;
12833
updatedNode.
TopLevelNullability
= infoAndType.Info;
12851
updatedNode.
TopLevelNullability
= infoAndType.Info;
12870
updatedNode.
TopLevelNullability
= infoAndType.Info;
12890
updatedNode.
TopLevelNullability
= infoAndType.Info;
12908
updatedNode.
TopLevelNullability
= infoAndType.Info;
12925
updatedNode.
TopLevelNullability
= infoAndType.Info;
12942
updatedNode.
TopLevelNullability
= infoAndType.Info;
12969
updatedNode.
TopLevelNullability
= infoAndType.Info;
12987
updatedNode.
TopLevelNullability
= infoAndType.Info;
13004
updatedNode.
TopLevelNullability
= infoAndType.Info;
13022
updatedNode.
TopLevelNullability
= infoAndType.Info;
13040
updatedNode.
TopLevelNullability
= infoAndType.Info;
13057
updatedNode.
TopLevelNullability
= infoAndType.Info;
13069
updatedNode.
TopLevelNullability
= infoAndType.Info;
13081
updatedNode.
TopLevelNullability
= infoAndType.Info;
13093
updatedNode.
TopLevelNullability
= infoAndType.Info;
13105
updatedNode.
TopLevelNullability
= infoAndType.Info;
13117
updatedNode.
TopLevelNullability
= infoAndType.Info;
13129
updatedNode.
TopLevelNullability
= infoAndType.Info;
13141
updatedNode.
TopLevelNullability
= infoAndType.Info;
13154
updatedNode.
TopLevelNullability
= infoAndType.Info;
13172
updatedNode.
TopLevelNullability
= infoAndType.Info;
13189
updatedNode.
TopLevelNullability
= infoAndType.Info;
13201
updatedNode.
TopLevelNullability
= infoAndType.Info;
13219
updatedNode.
TopLevelNullability
= infoAndType.Info;
13239
updatedNode.
TopLevelNullability
= infoAndType.Info;
13256
updatedNode.
TopLevelNullability
= infoAndType.Info;
13274
updatedNode.
TopLevelNullability
= infoAndType.Info;
13292
updatedNode.
TopLevelNullability
= infoAndType.Info;
13309
updatedNode.
TopLevelNullability
= infoAndType.Info;
13321
updatedNode.
TopLevelNullability
= infoAndType.Info;
13342
updatedNode.
TopLevelNullability
= infoAndType.Info;
13480
updatedNode.
TopLevelNullability
= infoAndType.Info;
13492
updatedNode.
TopLevelNullability
= infoAndType.Info;
13504
updatedNode.
TopLevelNullability
= infoAndType.Info;
13516
updatedNode.
TopLevelNullability
= infoAndType.Info;
13528
updatedNode.
TopLevelNullability
= infoAndType.Info;
13540
updatedNode.
TopLevelNullability
= infoAndType.Info;
13552
updatedNode.
TopLevelNullability
= infoAndType.Info;
13569
updatedNode.
TopLevelNullability
= infoAndType.Info;
13587
updatedNode.
TopLevelNullability
= infoAndType.Info;
13604
updatedNode.
TopLevelNullability
= infoAndType.Info;
13621
updatedNode.
TopLevelNullability
= infoAndType.Info;
13644
updatedNode.
TopLevelNullability
= infoAndType.Info;
13664
updatedNode.
TopLevelNullability
= infoAndType.Info;
13739
updatedNode.
TopLevelNullability
= infoAndType.Info;
13758
updatedNode.
TopLevelNullability
= infoAndType.Info;
13777
updatedNode.
TopLevelNullability
= infoAndType.Info;
13794
updatedNode.
TopLevelNullability
= infoAndType.Info;
13813
updatedNode.
TopLevelNullability
= infoAndType.Info;
13831
updatedNode.
TopLevelNullability
= infoAndType.Info;
13851
updatedNode.
TopLevelNullability
= infoAndType.Info;
13868
updatedNode.
TopLevelNullability
= infoAndType.Info;
13881
updatedNode.
TopLevelNullability
= infoAndType.Info;
13901
updatedNode.
TopLevelNullability
= infoAndType.Info;
13919
updatedNode.
TopLevelNullability
= infoAndType.Info;
13939
updatedNode.
TopLevelNullability
= infoAndType.Info;
13958
updatedNode.
TopLevelNullability
= infoAndType.Info;
13977
updatedNode.
TopLevelNullability
= infoAndType.Info;
13994
updatedNode.
TopLevelNullability
= infoAndType.Info;
14014
updatedNode.
TopLevelNullability
= infoAndType.Info;
14031
updatedNode.
TopLevelNullability
= infoAndType.Info;
14054
updatedNode.
TopLevelNullability
= infoAndType.Info;
14071
updatedNode.
TopLevelNullability
= infoAndType.Info;
14083
updatedNode.
TopLevelNullability
= infoAndType.Info;
14101
updatedNode.
TopLevelNullability
= infoAndType.Info;
14120
updatedNode.
TopLevelNullability
= infoAndType.Info;
14137
updatedNode.
TopLevelNullability
= infoAndType.Info;
14155
updatedNode.
TopLevelNullability
= infoAndType.Info;
14174
updatedNode.
TopLevelNullability
= infoAndType.Info;
14191
updatedNode.
TopLevelNullability
= infoAndType.Info;
14209
updatedNode.
TopLevelNullability
= infoAndType.Info;
14228
updatedNode.
TopLevelNullability
= infoAndType.Info;
14247
updatedNode.
TopLevelNullability
= infoAndType.Info;
14264
updatedNode.
TopLevelNullability
= infoAndType.Info;
14278
updatedNode.
TopLevelNullability
= infoAndType.Info;
14295
updatedNode.
TopLevelNullability
= infoAndType.Info;
14312
updatedNode.
TopLevelNullability
= infoAndType.Info;
14330
updatedNode.
TopLevelNullability
= infoAndType.Info;
14348
updatedNode.
TopLevelNullability
= infoAndType.Info;
14365
updatedNode.
TopLevelNullability
= infoAndType.Info;
14384
updatedNode.
TopLevelNullability
= infoAndType.Info;
14403
updatedNode.
TopLevelNullability
= infoAndType.Info;
14421
updatedNode.
TopLevelNullability
= infoAndType.Info;
14438
updatedNode.
TopLevelNullability
= infoAndType.Info;
14456
updatedNode.
TopLevelNullability
= infoAndType.Info;
14474
updatedNode.
TopLevelNullability
= infoAndType.Info;
14494
updatedNode.
TopLevelNullability
= infoAndType.Info;
14512
updatedNode.
TopLevelNullability
= infoAndType.Info;
14531
updatedNode.
TopLevelNullability
= infoAndType.Info;
14550
updatedNode.
TopLevelNullability
= infoAndType.Info;
14567
updatedNode.
TopLevelNullability
= infoAndType.Info;
14588
updatedNode.
TopLevelNullability
= infoAndType.Info;
14605
updatedNode.
TopLevelNullability
= infoAndType.Info;
14622
updatedNode.
TopLevelNullability
= infoAndType.Info;
14639
updatedNode.
TopLevelNullability
= infoAndType.Info;
14656
updatedNode.
TopLevelNullability
= infoAndType.Info;
14668
updatedNode.
TopLevelNullability
= infoAndType.Info;
14682
updatedNode.
TopLevelNullability
= infoAndType.Info;
14701
updatedNode.
TopLevelNullability
= infoAndType.Info;
14838
updatedNode.
TopLevelNullability
= infoAndType.Info;
14850
updatedNode.
TopLevelNullability
= infoAndType.Info;
14868
updatedNode.
TopLevelNullability
= infoAndType.Info;
14886
updatedNode.
TopLevelNullability
= infoAndType.Info;
14903
updatedNode.
TopLevelNullability
= infoAndType.Info;
14929
updatedNode.
TopLevelNullability
= infoAndType.Info;
14948
updatedNode.
TopLevelNullability
= infoAndType.Info;
8 references to TopLevelNullability
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\BoundDiscardExpression.cs (1)
33
return new DiscardSymbol(TypeWithAnnotations.Create(this.Type, this.
TopLevelNullability
.Annotation.ToInternalAnnotation()));
BoundTree\BoundExpression.cs (1)
145
=> Type?.GetITypeSymbol(
TopLevelNullability
.FlowState.ToAnnotation());
Compilation\CSharpSemanticModel.cs (6)
2047
NullabilityInfo nullability = boundExpr.
TopLevelNullability
;
2110
nullability = convertedTuple.
TopLevelNullability
;
2136
convertedNullability = convertedSwitch.
TopLevelNullability
;
2171
convertedNullability = convertedCollection.
TopLevelNullability
;
2177
convertedNullability = convertedCollection.
TopLevelNullability
;
2265
static (TypeSymbol, NullabilityInfo) getTypeAndNullability(BoundExpression expr) => (expr.Type, expr.
TopLevelNullability
);