StackOverflow Questions for Tag: nullability

Urs Meili
Urs Meili

Reputation: 809

Is it considered bad practice to use a "string?" parameter?

Score: 1

Views: 167

Answers: 2

Read More
Selqet
Selqet

Reputation: 1

Can't assign non-nullable type to a nullable one

Score: 0

Views: 1602

Answers: 1

Read More
MiBuena
MiBuena

Reputation: 571

Why does the compiler allow instantiation of generic class both with a nullable and non-nullable generic parameter?

Score: 0

Views: 63

Answers: 1

Read More
mclayton
mclayton

Reputation: 9965

C# - nullability warning disappears when commenting out *seemingly* unrelated code

Score: 3

Views: 118

Answers: 0

Read More
Rick de Water
Rick de Water

Reputation: 2632

Difficulty defining nullability constraints

Score: 0

Views: 70

Answers: 2

Read More
Dejan
Dejan

Reputation: 10313

How to Determine Nullability (NRT) of Generic Type Parameter?

Score: 1

Views: 952

Answers: 1

Read More
Biasu
Biasu

Reputation: 498

Kotlin checkNotNull vs requireNotNull

Score: 15

Views: 5960

Answers: 3

Read More
Saad
Saad

Reputation: 17

how to make thie non-pointer type property nullable in objc

Score: 0

Views: 1685

Answers: 4

Read More
Noggog
Noggog

Reputation: 61

Visual Studio nullability ref errors show as warnings if defined in Directory.Build.props

Score: 1

Views: 885

Answers: 1

Read More
Mark A. Donohoe
Mark A. Donohoe

Reputation: 30328

How do you properly return `null` from a generic marked with [return:MaybeNull]?

Score: 4

Views: 2300

Answers: 3

Read More
Manfred Brands
Manfred Brands

Reputation: 3

How to implement method accepting ICollection<T> and ICollection<T?>

Score: -1

Views: 148

Answers: 1

Read More
Anatolii Humennyi
Anatolii Humennyi

Reputation: 1856

Why is there nullability warning for explicitly declared reference return value?

Score: 2

Views: 805

Answers: 1

Read More

Can method return value nullability be inferred from the method argument nullability in JSR-305?

Score: 1

Views: 92

Answers: 0

Read More
D.R.
D.R.

Reputation: 21194

Nullability warning for Task.FromResult

Score: 3

Views: 3389

Answers: 2

Read More
PreviousPage 2Next