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
16 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)
78hasNotNullConstraint: typeParameter.HasNotNullConstraint);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
124typeParameter.HasNotNullConstraint,
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
877typeParam.HasNotNullConstraint || typeParam.AllowsRefLikeType; 938else if (typeParam.HasNotNullConstraint)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (1)
53else if (typeParameter.HasNotNullConstraint)
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertToExtension\ExtensionMethodEqualityComparer.cs (2)
87if (x.HasNotNullConstraint != y.HasNotNullConstraint)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (1)
53else if (typeParameter.HasNotNullConstraint)
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2437oldParameter.HasNotNullConstraint == newParameter.HasNotNullConstraint &&
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.AbstractInvocationInfo.cs (1)
78hasNotNullConstraint: 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)
124typeParameter.HasNotNullConstraint,
System.Text.Json.SourceGeneration (2)
Helpers\RoslynExtensions.cs (2)
347if (returnType is ITypeParameterSymbol { HasNotNullConstraint: false }) 369if (inputType is ITypeParameterSymbol { HasNotNullConstraint: false })