11 overrides of HasNotNullConstraint
Microsoft.CodeAnalysis.CSharp (11)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
87
public override bool
HasNotNullConstraint
=> false;
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
82
public override bool
HasNotNullConstraint
=> false;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
505
public override bool
HasNotNullConstraint
Symbols\Source\CrefTypeParameterSymbol.cs (1)
155
public override bool
HasNotNullConstraint
=> false;
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
170
public override bool
HasNotNullConstraint
=> false;
Symbols\Source\SourceTypeParameterSymbol.cs (2)
543
public override bool
HasNotNullConstraint
633
public abstract override bool
HasNotNullConstraint
{ get; }
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
33
public override bool
HasNotNullConstraint
=> false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
238
public override bool
HasNotNullConstraint
=> false;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
62
public override bool
HasNotNullConstraint
=> false;
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
98
public override bool
HasNotNullConstraint
11 references to HasNotNullConstraint
Microsoft.CodeAnalysis.CSharp (11)
Symbols\ConstraintsHelper.cs (1)
1149
if (typeParameter.
HasNotNullConstraint
&& typeArgument.GetValueNullableAnnotation().IsAnnotated() && !typeArgument.Type.IsNonNullableValueType())
Symbols\PublicModel\TypeParameterSymbol.cs (1)
95
bool ITypeParameterSymbol.HasNotNullConstraint => _underlying.
HasNotNullConstraint
;
Symbols\Source\ExtensionGroupingInfo.cs (2)
368
(typeParameter1.
HasNotNullConstraint
!= typeParameter2.
HasNotNullConstraint
))
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (2)
430
typeParameter.
HasNotNullConstraint
|| typeParameter.AllowsRefLikeType;
629
else if (typeParam.
HasNotNullConstraint
)
Symbols\Source\SourceTypeParameterSymbol.cs (2)
335
if (this.
HasNotNullConstraint
)
973
return this.OverriddenTypeParameter?.
HasNotNullConstraint
== true;
Symbols\TypeParameterSymbol.cs (2)
534
if (this.
HasNotNullConstraint
|| this.HasValueTypeConstraint)
741
else if (this.
HasNotNullConstraint
)
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
102
return _underlyingTypeParameter.
HasNotNullConstraint
;