2 implementations of HasNotNullConstraint
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeParameterSymbol.cs (1)
95bool ITypeParameterSymbol.HasNotNullConstraint => _underlying.HasNotNullConstraint;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeParameterSymbol.vb (1)
324Private ReadOnly Property HasNotNullConstraint As Boolean Implements ITypeParameterSymbol.HasNotNullConstraint
14 references to HasNotNullConstraint
Microsoft.Analyzers.Extra (1)
ConditionalAccessAnalyzer.cs (1)
87if (!tp.HasNotNullConstraint)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.AbstractInvocationInfo.cs (1)
80hasNotNullConstraint: typeParameter.HasNotNullConstraint);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
126typeParameter.HasNotNullConstraint,
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
840typeParam.HasNotNullConstraint || typeParam.AllowsRefLikeType; 901else if (typeParam.HasNotNullConstraint)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (1)
54else if (typeParameter.HasNotNullConstraint)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (1)
54else if (typeParameter.HasNotNullConstraint)
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2414oldParameter.HasNotNullConstraint == newParameter.HasNotNullConstraint &&
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.AbstractInvocationInfo.cs (1)
80hasNotNullConstraint: typeParameter.HasNotNullConstraint);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeParameterSymbol.vb (1)
324Private ReadOnly Property HasNotNullConstraint As Boolean Implements ITypeParameterSymbol.HasNotNullConstraint
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
126typeParameter.HasNotNullConstraint,
System.Text.Json.SourceGeneration (2)
Helpers\RoslynExtensions.cs (2)
347if (returnType is ITypeParameterSymbol { HasNotNullConstraint: false }) 369if (inputType is ITypeParameterSymbol { HasNotNullConstraint: false })