145 writes to TopLevelNullability
Microsoft.CodeAnalysis.CSharp (145)
BoundTree\NullabilityRewriter.cs (2)
114currentBinary.TopLevelNullability = infoAndType.Info; 219updatedNode.TopLevelNullability = infoAndType.Info;
Generated\BoundNodes.xml.Generated.cs (143)
12297updatedNode.TopLevelNullability = infoAndType.Info; 12309updatedNode.TopLevelNullability = infoAndType.Info; 12326updatedNode.TopLevelNullability = infoAndType.Info; 12343updatedNode.TopLevelNullability = infoAndType.Info; 12355updatedNode.TopLevelNullability = infoAndType.Info; 12367updatedNode.TopLevelNullability = infoAndType.Info; 12379updatedNode.TopLevelNullability = infoAndType.Info; 12391updatedNode.TopLevelNullability = infoAndType.Info; 12403updatedNode.TopLevelNullability = infoAndType.Info; 12415updatedNode.TopLevelNullability = infoAndType.Info; 12427updatedNode.TopLevelNullability = infoAndType.Info; 12439updatedNode.TopLevelNullability = infoAndType.Info; 12451updatedNode.TopLevelNullability = infoAndType.Info; 12463updatedNode.TopLevelNullability = infoAndType.Info; 12475updatedNode.TopLevelNullability = infoAndType.Info; 12493updatedNode.TopLevelNullability = infoAndType.Info; 12511updatedNode.TopLevelNullability = infoAndType.Info; 12528updatedNode.TopLevelNullability = infoAndType.Info; 12540updatedNode.TopLevelNullability = infoAndType.Info; 12555updatedNode.TopLevelNullability = infoAndType.Info; 12579updatedNode.TopLevelNullability = infoAndType.Info; 12596updatedNode.TopLevelNullability = infoAndType.Info; 12613updatedNode.TopLevelNullability = infoAndType.Info; 12631updatedNode.TopLevelNullability = infoAndType.Info; 12648updatedNode.TopLevelNullability = infoAndType.Info; 12666updatedNode.TopLevelNullability = infoAndType.Info; 12684updatedNode.TopLevelNullability = infoAndType.Info; 12702updatedNode.TopLevelNullability = infoAndType.Info; 12719updatedNode.TopLevelNullability = infoAndType.Info; 12736updatedNode.TopLevelNullability = infoAndType.Info; 12754updatedNode.TopLevelNullability = infoAndType.Info; 12773updatedNode.TopLevelNullability = infoAndType.Info; 12791updatedNode.TopLevelNullability = infoAndType.Info; 12814updatedNode.TopLevelNullability = infoAndType.Info; 12832updatedNode.TopLevelNullability = infoAndType.Info; 12850updatedNode.TopLevelNullability = infoAndType.Info; 12870updatedNode.TopLevelNullability = infoAndType.Info; 12888updatedNode.TopLevelNullability = infoAndType.Info; 12907updatedNode.TopLevelNullability = infoAndType.Info; 12927updatedNode.TopLevelNullability = infoAndType.Info; 12945updatedNode.TopLevelNullability = infoAndType.Info; 12962updatedNode.TopLevelNullability = infoAndType.Info; 12979updatedNode.TopLevelNullability = infoAndType.Info; 13006updatedNode.TopLevelNullability = infoAndType.Info; 13024updatedNode.TopLevelNullability = infoAndType.Info; 13041updatedNode.TopLevelNullability = infoAndType.Info; 13059updatedNode.TopLevelNullability = infoAndType.Info; 13077updatedNode.TopLevelNullability = infoAndType.Info; 13094updatedNode.TopLevelNullability = infoAndType.Info; 13106updatedNode.TopLevelNullability = infoAndType.Info; 13118updatedNode.TopLevelNullability = infoAndType.Info; 13130updatedNode.TopLevelNullability = infoAndType.Info; 13142updatedNode.TopLevelNullability = infoAndType.Info; 13154updatedNode.TopLevelNullability = infoAndType.Info; 13166updatedNode.TopLevelNullability = infoAndType.Info; 13178updatedNode.TopLevelNullability = infoAndType.Info; 13191updatedNode.TopLevelNullability = infoAndType.Info; 13209updatedNode.TopLevelNullability = infoAndType.Info; 13226updatedNode.TopLevelNullability = infoAndType.Info; 13238updatedNode.TopLevelNullability = infoAndType.Info; 13256updatedNode.TopLevelNullability = infoAndType.Info; 13276updatedNode.TopLevelNullability = infoAndType.Info; 13293updatedNode.TopLevelNullability = infoAndType.Info; 13311updatedNode.TopLevelNullability = infoAndType.Info; 13329updatedNode.TopLevelNullability = infoAndType.Info; 13346updatedNode.TopLevelNullability = infoAndType.Info; 13358updatedNode.TopLevelNullability = infoAndType.Info; 13379updatedNode.TopLevelNullability = infoAndType.Info; 13517updatedNode.TopLevelNullability = infoAndType.Info; 13529updatedNode.TopLevelNullability = infoAndType.Info; 13541updatedNode.TopLevelNullability = infoAndType.Info; 13553updatedNode.TopLevelNullability = infoAndType.Info; 13565updatedNode.TopLevelNullability = infoAndType.Info; 13577updatedNode.TopLevelNullability = infoAndType.Info; 13589updatedNode.TopLevelNullability = infoAndType.Info; 13606updatedNode.TopLevelNullability = infoAndType.Info; 13624updatedNode.TopLevelNullability = infoAndType.Info; 13641updatedNode.TopLevelNullability = infoAndType.Info; 13658updatedNode.TopLevelNullability = infoAndType.Info; 13681updatedNode.TopLevelNullability = infoAndType.Info; 13701updatedNode.TopLevelNullability = infoAndType.Info; 13776updatedNode.TopLevelNullability = infoAndType.Info; 13795updatedNode.TopLevelNullability = infoAndType.Info; 13814updatedNode.TopLevelNullability = infoAndType.Info; 13831updatedNode.TopLevelNullability = infoAndType.Info; 13850updatedNode.TopLevelNullability = infoAndType.Info; 13868updatedNode.TopLevelNullability = infoAndType.Info; 13888updatedNode.TopLevelNullability = infoAndType.Info; 13905updatedNode.TopLevelNullability = infoAndType.Info; 13918updatedNode.TopLevelNullability = infoAndType.Info; 13938updatedNode.TopLevelNullability = infoAndType.Info; 13956updatedNode.TopLevelNullability = infoAndType.Info; 13976updatedNode.TopLevelNullability = infoAndType.Info; 13995updatedNode.TopLevelNullability = infoAndType.Info; 14014updatedNode.TopLevelNullability = infoAndType.Info; 14031updatedNode.TopLevelNullability = infoAndType.Info; 14051updatedNode.TopLevelNullability = infoAndType.Info; 14068updatedNode.TopLevelNullability = infoAndType.Info; 14091updatedNode.TopLevelNullability = infoAndType.Info; 14108updatedNode.TopLevelNullability = infoAndType.Info; 14120updatedNode.TopLevelNullability = infoAndType.Info; 14138updatedNode.TopLevelNullability = infoAndType.Info; 14157updatedNode.TopLevelNullability = infoAndType.Info; 14174updatedNode.TopLevelNullability = infoAndType.Info; 14192updatedNode.TopLevelNullability = infoAndType.Info; 14211updatedNode.TopLevelNullability = infoAndType.Info; 14228updatedNode.TopLevelNullability = infoAndType.Info; 14246updatedNode.TopLevelNullability = infoAndType.Info; 14265updatedNode.TopLevelNullability = infoAndType.Info; 14284updatedNode.TopLevelNullability = infoAndType.Info; 14301updatedNode.TopLevelNullability = infoAndType.Info; 14315updatedNode.TopLevelNullability = infoAndType.Info; 14332updatedNode.TopLevelNullability = infoAndType.Info; 14349updatedNode.TopLevelNullability = infoAndType.Info; 14367updatedNode.TopLevelNullability = infoAndType.Info; 14385updatedNode.TopLevelNullability = infoAndType.Info; 14402updatedNode.TopLevelNullability = infoAndType.Info; 14421updatedNode.TopLevelNullability = infoAndType.Info; 14440updatedNode.TopLevelNullability = infoAndType.Info; 14458updatedNode.TopLevelNullability = infoAndType.Info; 14475updatedNode.TopLevelNullability = infoAndType.Info; 14493updatedNode.TopLevelNullability = infoAndType.Info; 14511updatedNode.TopLevelNullability = infoAndType.Info; 14531updatedNode.TopLevelNullability = infoAndType.Info; 14549updatedNode.TopLevelNullability = infoAndType.Info; 14568updatedNode.TopLevelNullability = infoAndType.Info; 14587updatedNode.TopLevelNullability = infoAndType.Info; 14604updatedNode.TopLevelNullability = infoAndType.Info; 14625updatedNode.TopLevelNullability = infoAndType.Info; 14642updatedNode.TopLevelNullability = infoAndType.Info; 14659updatedNode.TopLevelNullability = infoAndType.Info; 14676updatedNode.TopLevelNullability = infoAndType.Info; 14693updatedNode.TopLevelNullability = infoAndType.Info; 14705updatedNode.TopLevelNullability = infoAndType.Info; 14719updatedNode.TopLevelNullability = infoAndType.Info; 14738updatedNode.TopLevelNullability = infoAndType.Info; 14875updatedNode.TopLevelNullability = infoAndType.Info; 14887updatedNode.TopLevelNullability = infoAndType.Info; 14905updatedNode.TopLevelNullability = infoAndType.Info; 14923updatedNode.TopLevelNullability = infoAndType.Info; 14940updatedNode.TopLevelNullability = infoAndType.Info; 14966updatedNode.TopLevelNullability = infoAndType.Info; 14985updatedNode.TopLevelNullability = infoAndType.Info;
8 references to TopLevelNullability
Microsoft.CodeAnalysis.CSharp (8)
BoundTree\BoundDiscardExpression.cs (1)
33return new DiscardSymbol(TypeWithAnnotations.Create(this.Type, this.TopLevelNullability.Annotation.ToInternalAnnotation()));
BoundTree\BoundExpression.cs (1)
145=> Type?.GetITypeSymbol(TopLevelNullability.FlowState.ToAnnotation());
Compilation\CSharpSemanticModel.cs (6)
2047NullabilityInfo nullability = boundExpr.TopLevelNullability; 2110nullability = convertedTuple.TopLevelNullability; 2136convertedNullability = convertedSwitch.TopLevelNullability; 2171convertedNullability = convertedCollection.TopLevelNullability; 2177convertedNullability = convertedCollection.TopLevelNullability; 2265static (TypeSymbol, NullabilityInfo) getTypeAndNullability(BoundExpression expr) => (expr.Type, expr.TopLevelNullability);