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)
12297
updatedNode.
TopLevelNullability
= infoAndType.Info;
12309
updatedNode.
TopLevelNullability
= infoAndType.Info;
12326
updatedNode.
TopLevelNullability
= infoAndType.Info;
12343
updatedNode.
TopLevelNullability
= infoAndType.Info;
12355
updatedNode.
TopLevelNullability
= infoAndType.Info;
12367
updatedNode.
TopLevelNullability
= infoAndType.Info;
12379
updatedNode.
TopLevelNullability
= infoAndType.Info;
12391
updatedNode.
TopLevelNullability
= infoAndType.Info;
12403
updatedNode.
TopLevelNullability
= infoAndType.Info;
12415
updatedNode.
TopLevelNullability
= infoAndType.Info;
12427
updatedNode.
TopLevelNullability
= infoAndType.Info;
12439
updatedNode.
TopLevelNullability
= infoAndType.Info;
12451
updatedNode.
TopLevelNullability
= infoAndType.Info;
12463
updatedNode.
TopLevelNullability
= infoAndType.Info;
12475
updatedNode.
TopLevelNullability
= infoAndType.Info;
12493
updatedNode.
TopLevelNullability
= infoAndType.Info;
12511
updatedNode.
TopLevelNullability
= infoAndType.Info;
12528
updatedNode.
TopLevelNullability
= infoAndType.Info;
12540
updatedNode.
TopLevelNullability
= infoAndType.Info;
12555
updatedNode.
TopLevelNullability
= infoAndType.Info;
12579
updatedNode.
TopLevelNullability
= infoAndType.Info;
12596
updatedNode.
TopLevelNullability
= infoAndType.Info;
12613
updatedNode.
TopLevelNullability
= infoAndType.Info;
12631
updatedNode.
TopLevelNullability
= infoAndType.Info;
12648
updatedNode.
TopLevelNullability
= infoAndType.Info;
12666
updatedNode.
TopLevelNullability
= infoAndType.Info;
12684
updatedNode.
TopLevelNullability
= infoAndType.Info;
12702
updatedNode.
TopLevelNullability
= infoAndType.Info;
12719
updatedNode.
TopLevelNullability
= infoAndType.Info;
12736
updatedNode.
TopLevelNullability
= infoAndType.Info;
12754
updatedNode.
TopLevelNullability
= infoAndType.Info;
12773
updatedNode.
TopLevelNullability
= infoAndType.Info;
12791
updatedNode.
TopLevelNullability
= infoAndType.Info;
12814
updatedNode.
TopLevelNullability
= infoAndType.Info;
12832
updatedNode.
TopLevelNullability
= infoAndType.Info;
12850
updatedNode.
TopLevelNullability
= infoAndType.Info;
12870
updatedNode.
TopLevelNullability
= infoAndType.Info;
12888
updatedNode.
TopLevelNullability
= infoAndType.Info;
12907
updatedNode.
TopLevelNullability
= infoAndType.Info;
12927
updatedNode.
TopLevelNullability
= infoAndType.Info;
12945
updatedNode.
TopLevelNullability
= infoAndType.Info;
12962
updatedNode.
TopLevelNullability
= infoAndType.Info;
12979
updatedNode.
TopLevelNullability
= infoAndType.Info;
13006
updatedNode.
TopLevelNullability
= infoAndType.Info;
13024
updatedNode.
TopLevelNullability
= infoAndType.Info;
13041
updatedNode.
TopLevelNullability
= infoAndType.Info;
13059
updatedNode.
TopLevelNullability
= infoAndType.Info;
13077
updatedNode.
TopLevelNullability
= infoAndType.Info;
13094
updatedNode.
TopLevelNullability
= infoAndType.Info;
13106
updatedNode.
TopLevelNullability
= infoAndType.Info;
13118
updatedNode.
TopLevelNullability
= infoAndType.Info;
13130
updatedNode.
TopLevelNullability
= infoAndType.Info;
13142
updatedNode.
TopLevelNullability
= infoAndType.Info;
13154
updatedNode.
TopLevelNullability
= infoAndType.Info;
13166
updatedNode.
TopLevelNullability
= infoAndType.Info;
13178
updatedNode.
TopLevelNullability
= infoAndType.Info;
13191
updatedNode.
TopLevelNullability
= infoAndType.Info;
13209
updatedNode.
TopLevelNullability
= infoAndType.Info;
13226
updatedNode.
TopLevelNullability
= infoAndType.Info;
13238
updatedNode.
TopLevelNullability
= infoAndType.Info;
13256
updatedNode.
TopLevelNullability
= infoAndType.Info;
13276
updatedNode.
TopLevelNullability
= infoAndType.Info;
13293
updatedNode.
TopLevelNullability
= infoAndType.Info;
13311
updatedNode.
TopLevelNullability
= infoAndType.Info;
13329
updatedNode.
TopLevelNullability
= infoAndType.Info;
13346
updatedNode.
TopLevelNullability
= infoAndType.Info;
13358
updatedNode.
TopLevelNullability
= infoAndType.Info;
13379
updatedNode.
TopLevelNullability
= infoAndType.Info;
13517
updatedNode.
TopLevelNullability
= infoAndType.Info;
13529
updatedNode.
TopLevelNullability
= infoAndType.Info;
13541
updatedNode.
TopLevelNullability
= infoAndType.Info;
13553
updatedNode.
TopLevelNullability
= infoAndType.Info;
13565
updatedNode.
TopLevelNullability
= infoAndType.Info;
13577
updatedNode.
TopLevelNullability
= infoAndType.Info;
13589
updatedNode.
TopLevelNullability
= infoAndType.Info;
13606
updatedNode.
TopLevelNullability
= infoAndType.Info;
13624
updatedNode.
TopLevelNullability
= infoAndType.Info;
13641
updatedNode.
TopLevelNullability
= infoAndType.Info;
13658
updatedNode.
TopLevelNullability
= infoAndType.Info;
13681
updatedNode.
TopLevelNullability
= infoAndType.Info;
13701
updatedNode.
TopLevelNullability
= infoAndType.Info;
13776
updatedNode.
TopLevelNullability
= infoAndType.Info;
13795
updatedNode.
TopLevelNullability
= infoAndType.Info;
13814
updatedNode.
TopLevelNullability
= infoAndType.Info;
13831
updatedNode.
TopLevelNullability
= infoAndType.Info;
13850
updatedNode.
TopLevelNullability
= infoAndType.Info;
13868
updatedNode.
TopLevelNullability
= infoAndType.Info;
13888
updatedNode.
TopLevelNullability
= infoAndType.Info;
13905
updatedNode.
TopLevelNullability
= infoAndType.Info;
13918
updatedNode.
TopLevelNullability
= infoAndType.Info;
13938
updatedNode.
TopLevelNullability
= infoAndType.Info;
13956
updatedNode.
TopLevelNullability
= infoAndType.Info;
13976
updatedNode.
TopLevelNullability
= infoAndType.Info;
13995
updatedNode.
TopLevelNullability
= infoAndType.Info;
14014
updatedNode.
TopLevelNullability
= infoAndType.Info;
14031
updatedNode.
TopLevelNullability
= infoAndType.Info;
14051
updatedNode.
TopLevelNullability
= infoAndType.Info;
14068
updatedNode.
TopLevelNullability
= infoAndType.Info;
14091
updatedNode.
TopLevelNullability
= infoAndType.Info;
14108
updatedNode.
TopLevelNullability
= infoAndType.Info;
14120
updatedNode.
TopLevelNullability
= infoAndType.Info;
14138
updatedNode.
TopLevelNullability
= infoAndType.Info;
14157
updatedNode.
TopLevelNullability
= infoAndType.Info;
14174
updatedNode.
TopLevelNullability
= infoAndType.Info;
14192
updatedNode.
TopLevelNullability
= infoAndType.Info;
14211
updatedNode.
TopLevelNullability
= infoAndType.Info;
14228
updatedNode.
TopLevelNullability
= infoAndType.Info;
14246
updatedNode.
TopLevelNullability
= infoAndType.Info;
14265
updatedNode.
TopLevelNullability
= infoAndType.Info;
14284
updatedNode.
TopLevelNullability
= infoAndType.Info;
14301
updatedNode.
TopLevelNullability
= infoAndType.Info;
14315
updatedNode.
TopLevelNullability
= infoAndType.Info;
14332
updatedNode.
TopLevelNullability
= infoAndType.Info;
14349
updatedNode.
TopLevelNullability
= infoAndType.Info;
14367
updatedNode.
TopLevelNullability
= infoAndType.Info;
14385
updatedNode.
TopLevelNullability
= infoAndType.Info;
14402
updatedNode.
TopLevelNullability
= infoAndType.Info;
14421
updatedNode.
TopLevelNullability
= infoAndType.Info;
14440
updatedNode.
TopLevelNullability
= infoAndType.Info;
14458
updatedNode.
TopLevelNullability
= infoAndType.Info;
14475
updatedNode.
TopLevelNullability
= infoAndType.Info;
14493
updatedNode.
TopLevelNullability
= infoAndType.Info;
14511
updatedNode.
TopLevelNullability
= infoAndType.Info;
14531
updatedNode.
TopLevelNullability
= infoAndType.Info;
14549
updatedNode.
TopLevelNullability
= infoAndType.Info;
14568
updatedNode.
TopLevelNullability
= infoAndType.Info;
14587
updatedNode.
TopLevelNullability
= infoAndType.Info;
14604
updatedNode.
TopLevelNullability
= infoAndType.Info;
14625
updatedNode.
TopLevelNullability
= infoAndType.Info;
14642
updatedNode.
TopLevelNullability
= infoAndType.Info;
14659
updatedNode.
TopLevelNullability
= infoAndType.Info;
14676
updatedNode.
TopLevelNullability
= infoAndType.Info;
14693
updatedNode.
TopLevelNullability
= infoAndType.Info;
14705
updatedNode.
TopLevelNullability
= infoAndType.Info;
14719
updatedNode.
TopLevelNullability
= infoAndType.Info;
14738
updatedNode.
TopLevelNullability
= infoAndType.Info;
14875
updatedNode.
TopLevelNullability
= infoAndType.Info;
14887
updatedNode.
TopLevelNullability
= infoAndType.Info;
14905
updatedNode.
TopLevelNullability
= infoAndType.Info;
14923
updatedNode.
TopLevelNullability
= infoAndType.Info;
14940
updatedNode.
TopLevelNullability
= infoAndType.Info;
14966
updatedNode.
TopLevelNullability
= infoAndType.Info;
14985
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
);