13 overrides of IsNotNullable
Microsoft.CodeAnalysis.CSharp (13)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
89
internal override bool?
IsNotNullable
=> null;
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
84
internal override bool?
IsNotNullable
=> null;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
514
internal override bool?
IsNotNullable
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (1)
89
internal override bool?
IsNotNullable
Symbols\Source\CrefTypeParameterSymbol.cs (1)
157
internal override bool?
IsNotNullable
=> null;
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
172
internal override bool?
IsNotNullable
=> null;
Symbols\Source\SourceTypeParameterSymbol.cs (3)
561
internal override bool?
IsNotNullable
703
internal override bool?
IsNotNullable
965
internal override bool?
IsNotNullable
Symbols\SubstitutedTypeParameterSymbol.cs (1)
151
internal override bool?
IsNotNullable
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
51
internal override bool?
IsNotNullable
=> null;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
243
internal override bool?
IsNotNullable
=> null;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
64
internal override bool?
IsNotNullable
=> null;
14 references to IsNotNullable
Microsoft.CodeAnalysis.CSharp (14)
FlowAnalysis\NullableWalker.cs (1)
2343
if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8() && !(type.Type is TypeParameterSymbol {
IsNotNullable
: true }))
Symbols\ConstraintsHelper.cs (2)
1218
if (typeParameter is null || typeParameter.
IsNotNullable
== true)
1256
if (typeParameter is null || typeParameter.
IsNotNullable
== true)
Symbols\MemberSignatureComparer.cs (2)
705
bool? isNotNullable1 = typeParameter1.
IsNotNullable
;
706
bool? isNotNullable2 = typeParameter2.
IsNotNullable
;
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (1)
93
return _underlyingTypeParameter.
IsNotNullable
;
Symbols\Source\SourceTypeParameterSymbol.cs (3)
341
this.
IsNotNullable
== false;
419
else if (!this.HasValueTypeConstraint && this.ConstraintTypesNoUseSiteDiagnostics.IsEmpty && this.
IsNotNullable
== false)
969
return this.OverriddenTypeParameter?.
IsNotNullable
;
Symbols\SubstitutedTypeParameterSymbol.cs (1)
157
return _underlyingTypeParameter.
IsNotNullable
;
Symbols\TypeParameterSymbol.cs (1)
486
bool? isNotNullable = ((TypeParameterSymbol)constraintType.Type).
IsNotNullable
;
Symbols\TypeSymbolExtensions.cs (2)
78
return !typeParameter.IsValueType && !(typeParameter.IsReferenceType && typeParameter.
IsNotNullable
== true);
92
return type is TypeParameterSymbol { IsValueType: false,
IsNotNullable
: false };
Symbols\TypeWithAnnotations.cs (1)
992
if (_typeParameter.
IsNotNullable
== true)