12 overrides of HasConstructorConstraint
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
67public override bool HasConstructorConstraint
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
50public override bool HasConstructorConstraint
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
447public override bool HasConstructorConstraint
Symbols\Source\CrefTypeParameterSymbol.cs (1)
164public override bool HasConstructorConstraint
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
179public override bool HasConstructorConstraint
Symbols\Source\SourceTypeParameterSymbol.cs (3)
489public override bool HasConstructorConstraint 631public override bool HasConstructorConstraint 894public override bool HasConstructorConstraint
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
25public override bool HasConstructorConstraint => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
217public override bool HasConstructorConstraint => false;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
42public override bool HasConstructorConstraint
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
64public override bool HasConstructorConstraint
11 references to HasConstructorConstraint
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (1)
7038if (!typeParameter.HasConstructorConstraint && !typeParameter.IsValueType)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
731Debug.Assert(type.HasConstructorConstraint == other.HasConstructorConstraint);
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
320return AdaptedTypeParameterSymbol.HasConstructorConstraint || AdaptedTypeParameterSymbol.HasValueTypeConstraint || AdaptedTypeParameterSymbol.HasUnmanagedTypeConstraint;
Symbols\ConstraintsHelper.cs (2)
1085if (typeParameter.HasConstructorConstraint && errorIfNotSatisfiesConstructorConstraint(containingSymbol, typeParameter, typeArgument, diagnosticsBuilder)) 1474return typeParameter.HasConstructorConstraint || typeParameter.IsValueType ? ConstructorConstraintError.None : ConstructorConstraintError.NoPublicParameterlessConstructorOrAbstractType;
Symbols\MemberSignatureComparer.cs (2)
661if ((typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint) ||
Symbols\PublicModel\TypeParameterSymbol.cs (1)
97bool ITypeParameterSymbol.HasConstructorConstraint => _underlying.HasConstructorConstraint;
Symbols\Source\SourceTypeParameterSymbol.cs (1)
899return ((object)typeParameter != null) && typeParameter.HasConstructorConstraint;
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
68return _underlyingTypeParameter.HasConstructorConstraint;