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