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)
12261
updatedNode.
TopLevelNullability
= infoAndType.Info;
12273
updatedNode.
TopLevelNullability
= infoAndType.Info;
12290
updatedNode.
TopLevelNullability
= infoAndType.Info;
12307
updatedNode.
TopLevelNullability
= infoAndType.Info;
12319
updatedNode.
TopLevelNullability
= infoAndType.Info;
12331
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;
12457
updatedNode.
TopLevelNullability
= infoAndType.Info;
12475
updatedNode.
TopLevelNullability
= infoAndType.Info;
12492
updatedNode.
TopLevelNullability
= infoAndType.Info;
12504
updatedNode.
TopLevelNullability
= infoAndType.Info;
12519
updatedNode.
TopLevelNullability
= infoAndType.Info;
12543
updatedNode.
TopLevelNullability
= infoAndType.Info;
12560
updatedNode.
TopLevelNullability
= infoAndType.Info;
12577
updatedNode.
TopLevelNullability
= infoAndType.Info;
12595
updatedNode.
TopLevelNullability
= infoAndType.Info;
12612
updatedNode.
TopLevelNullability
= infoAndType.Info;
12630
updatedNode.
TopLevelNullability
= infoAndType.Info;
12648
updatedNode.
TopLevelNullability
= infoAndType.Info;
12666
updatedNode.
TopLevelNullability
= infoAndType.Info;
12683
updatedNode.
TopLevelNullability
= infoAndType.Info;
12700
updatedNode.
TopLevelNullability
= infoAndType.Info;
12718
updatedNode.
TopLevelNullability
= infoAndType.Info;
12737
updatedNode.
TopLevelNullability
= infoAndType.Info;
12755
updatedNode.
TopLevelNullability
= infoAndType.Info;
12778
updatedNode.
TopLevelNullability
= infoAndType.Info;
12796
updatedNode.
TopLevelNullability
= infoAndType.Info;
12814
updatedNode.
TopLevelNullability
= infoAndType.Info;
12834
updatedNode.
TopLevelNullability
= infoAndType.Info;
12852
updatedNode.
TopLevelNullability
= infoAndType.Info;
12871
updatedNode.
TopLevelNullability
= infoAndType.Info;
12891
updatedNode.
TopLevelNullability
= infoAndType.Info;
12909
updatedNode.
TopLevelNullability
= infoAndType.Info;
12926
updatedNode.
TopLevelNullability
= infoAndType.Info;
12943
updatedNode.
TopLevelNullability
= infoAndType.Info;
12970
updatedNode.
TopLevelNullability
= infoAndType.Info;
12988
updatedNode.
TopLevelNullability
= infoAndType.Info;
13005
updatedNode.
TopLevelNullability
= infoAndType.Info;
13023
updatedNode.
TopLevelNullability
= infoAndType.Info;
13041
updatedNode.
TopLevelNullability
= infoAndType.Info;
13058
updatedNode.
TopLevelNullability
= infoAndType.Info;
13070
updatedNode.
TopLevelNullability
= infoAndType.Info;
13082
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;
13155
updatedNode.
TopLevelNullability
= infoAndType.Info;
13173
updatedNode.
TopLevelNullability
= infoAndType.Info;
13190
updatedNode.
TopLevelNullability
= infoAndType.Info;
13202
updatedNode.
TopLevelNullability
= infoAndType.Info;
13220
updatedNode.
TopLevelNullability
= infoAndType.Info;
13240
updatedNode.
TopLevelNullability
= infoAndType.Info;
13257
updatedNode.
TopLevelNullability
= infoAndType.Info;
13275
updatedNode.
TopLevelNullability
= infoAndType.Info;
13293
updatedNode.
TopLevelNullability
= infoAndType.Info;
13310
updatedNode.
TopLevelNullability
= infoAndType.Info;
13322
updatedNode.
TopLevelNullability
= infoAndType.Info;
13343
updatedNode.
TopLevelNullability
= infoAndType.Info;
13481
updatedNode.
TopLevelNullability
= infoAndType.Info;
13493
updatedNode.
TopLevelNullability
= infoAndType.Info;
13505
updatedNode.
TopLevelNullability
= infoAndType.Info;
13517
updatedNode.
TopLevelNullability
= infoAndType.Info;
13529
updatedNode.
TopLevelNullability
= infoAndType.Info;
13541
updatedNode.
TopLevelNullability
= infoAndType.Info;
13553
updatedNode.
TopLevelNullability
= infoAndType.Info;
13570
updatedNode.
TopLevelNullability
= infoAndType.Info;
13588
updatedNode.
TopLevelNullability
= infoAndType.Info;
13605
updatedNode.
TopLevelNullability
= infoAndType.Info;
13622
updatedNode.
TopLevelNullability
= infoAndType.Info;
13645
updatedNode.
TopLevelNullability
= infoAndType.Info;
13665
updatedNode.
TopLevelNullability
= infoAndType.Info;
13740
updatedNode.
TopLevelNullability
= infoAndType.Info;
13759
updatedNode.
TopLevelNullability
= infoAndType.Info;
13778
updatedNode.
TopLevelNullability
= infoAndType.Info;
13795
updatedNode.
TopLevelNullability
= infoAndType.Info;
13814
updatedNode.
TopLevelNullability
= infoAndType.Info;
13832
updatedNode.
TopLevelNullability
= infoAndType.Info;
13852
updatedNode.
TopLevelNullability
= infoAndType.Info;
13869
updatedNode.
TopLevelNullability
= infoAndType.Info;
13882
updatedNode.
TopLevelNullability
= infoAndType.Info;
13902
updatedNode.
TopLevelNullability
= infoAndType.Info;
13920
updatedNode.
TopLevelNullability
= infoAndType.Info;
13940
updatedNode.
TopLevelNullability
= infoAndType.Info;
13959
updatedNode.
TopLevelNullability
= infoAndType.Info;
13978
updatedNode.
TopLevelNullability
= infoAndType.Info;
13995
updatedNode.
TopLevelNullability
= infoAndType.Info;
14015
updatedNode.
TopLevelNullability
= infoAndType.Info;
14032
updatedNode.
TopLevelNullability
= infoAndType.Info;
14055
updatedNode.
TopLevelNullability
= infoAndType.Info;
14072
updatedNode.
TopLevelNullability
= infoAndType.Info;
14084
updatedNode.
TopLevelNullability
= infoAndType.Info;
14102
updatedNode.
TopLevelNullability
= infoAndType.Info;
14121
updatedNode.
TopLevelNullability
= infoAndType.Info;
14138
updatedNode.
TopLevelNullability
= infoAndType.Info;
14156
updatedNode.
TopLevelNullability
= infoAndType.Info;
14175
updatedNode.
TopLevelNullability
= infoAndType.Info;
14192
updatedNode.
TopLevelNullability
= infoAndType.Info;
14210
updatedNode.
TopLevelNullability
= infoAndType.Info;
14229
updatedNode.
TopLevelNullability
= infoAndType.Info;
14248
updatedNode.
TopLevelNullability
= infoAndType.Info;
14265
updatedNode.
TopLevelNullability
= infoAndType.Info;
14279
updatedNode.
TopLevelNullability
= infoAndType.Info;
14296
updatedNode.
TopLevelNullability
= infoAndType.Info;
14313
updatedNode.
TopLevelNullability
= infoAndType.Info;
14331
updatedNode.
TopLevelNullability
= infoAndType.Info;
14349
updatedNode.
TopLevelNullability
= infoAndType.Info;
14366
updatedNode.
TopLevelNullability
= infoAndType.Info;
14385
updatedNode.
TopLevelNullability
= infoAndType.Info;
14404
updatedNode.
TopLevelNullability
= infoAndType.Info;
14422
updatedNode.
TopLevelNullability
= infoAndType.Info;
14439
updatedNode.
TopLevelNullability
= infoAndType.Info;
14457
updatedNode.
TopLevelNullability
= infoAndType.Info;
14475
updatedNode.
TopLevelNullability
= infoAndType.Info;
14495
updatedNode.
TopLevelNullability
= infoAndType.Info;
14513
updatedNode.
TopLevelNullability
= infoAndType.Info;
14532
updatedNode.
TopLevelNullability
= infoAndType.Info;
14551
updatedNode.
TopLevelNullability
= infoAndType.Info;
14568
updatedNode.
TopLevelNullability
= infoAndType.Info;
14589
updatedNode.
TopLevelNullability
= infoAndType.Info;
14606
updatedNode.
TopLevelNullability
= infoAndType.Info;
14623
updatedNode.
TopLevelNullability
= infoAndType.Info;
14640
updatedNode.
TopLevelNullability
= infoAndType.Info;
14657
updatedNode.
TopLevelNullability
= infoAndType.Info;
14669
updatedNode.
TopLevelNullability
= infoAndType.Info;
14683
updatedNode.
TopLevelNullability
= infoAndType.Info;
14702
updatedNode.
TopLevelNullability
= infoAndType.Info;
14839
updatedNode.
TopLevelNullability
= infoAndType.Info;
14851
updatedNode.
TopLevelNullability
= infoAndType.Info;
14869
updatedNode.
TopLevelNullability
= infoAndType.Info;
14887
updatedNode.
TopLevelNullability
= infoAndType.Info;
14904
updatedNode.
TopLevelNullability
= infoAndType.Info;
14930
updatedNode.
TopLevelNullability
= infoAndType.Info;
14949
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
);