4 implementations of HasConstructorConstraint
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationTypeParameterSymbol.cs (1)
15public bool HasConstructorConstraint { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeParameterSymbol.cs (1)
95bool ITypeParameterSymbol.HasConstructorConstraint => _underlying.HasConstructorConstraint;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeParameterSymbol.vb (1)
79Public MustOverride ReadOnly Property HasConstructorConstraint As Boolean Implements ITypeParameterSymbol.HasConstructorConstraint
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationTypeParameterSymbol.cs (1)
15public bool HasConstructorConstraint { get; }
29 references to HasConstructorConstraint
Microsoft.CodeAnalysis.CSharp (2)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
832return !typeParam.ConstraintTypes.IsEmpty || typeParam.HasConstructorConstraint || 915if (typeParam.HasConstructorConstraint)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
ITypeParameterSymbolExtensions.cs (1)
70if (typeParameter.HasConstructorConstraint)
Microsoft.CodeAnalysis.CSharp.Features (2)
SignatureHelp\GenericNameSignatureHelpProvider.cs (2)
276if (typeParam.HasConstructorConstraint) 295return !typeParam.ConstraintTypes.IsDefaultOrEmpty || typeParam.HasConstructorConstraint ||
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
172if (typeParameter.HasConstructorConstraint)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
ITypeParameterSymbolExtensions.cs (1)
70if (typeParameter.HasConstructorConstraint)
Microsoft.CodeAnalysis.Features (6)
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
93if (type is ITypeParameterSymbol typeParameter && !typeParameter.HasConstructorConstraint)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2329oldParameter.HasConstructorConstraint == newParameter.HasConstructorConstraint &&
ExtractMethod\MethodExtractor.Analyzer.cs (1)
874if (!parameter.HasConstructorConstraint &&
ExtractMethod\MethodExtractor.CodeGenerator.cs (1)
339parameter.HasConstructorConstraint, parameter.HasReferenceTypeConstraint, parameter.HasUnmanagedTypeConstraint,
GenerateMember\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.AbstractInvocationInfo.cs (1)
76hasConstructorConstraint: typeParameter.HasConstructorConstraint,
Microsoft.CodeAnalysis.VisualBasic (3)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (2)
525If(typeParam.HasConstructorConstraint, 1, 0) 567If typeParam.HasConstructorConstraint Then
Symbols\TypeParameterSymbol.vb (1)
79Public MustOverride ReadOnly Property HasConstructorConstraint As Boolean Implements ITypeParameterSymbol.HasConstructorConstraint
Microsoft.CodeAnalysis.VisualBasic.Features (2)
SignatureHelp\GenericNameSignatureHelpProvider.vb (2)
196If typeParam.HasConstructorConstraint Then 216If(typeParam.HasConstructorConstraint, 1, 0)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\TypeParameterGenerator.vb (1)
44If symbol.HasConstructorConstraint Then
Microsoft.CodeAnalysis.Workspaces (5)
Editing\SyntaxGenerator.cs (2)
883kinds: (tp.HasConstructorConstraint ? SpecialTypeConstraintKind.Constructor : SpecialTypeConstraintKind.None) 895=> typeParameter.HasConstructorConstraint || typeParameter.HasReferenceTypeConstraint || typeParameter.HasValueTypeConstraint || typeParameter.ConstraintTypes.Length > 0;
Shared\Extensions\IMethodSymbolExtensions.cs (1)
135typeParameter.HasConstructorConstraint,
Shared\Utilities\SignatureComparer.cs (2)
224if (typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint ||
Microsoft.VisualStudio.LanguageServices.CSharp (2)
ObjectBrowser\DescriptionBuilder.cs (2)
343!typeParameterSymbol.HasConstructorConstraint && 391if (typeParameterSymbol.HasConstructorConstraint)
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
ObjectBrowser\DescriptionBuilder.vb (3)
453ElseIf typeParameter.HasConstructorConstraint Then 480If typeParameter.HasConstructorConstraint Then 514If typeParameter.HasConstructorConstraint Then