11 overrides of HasConstructorConstraint
Microsoft.CodeAnalysis.CSharp (11)
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 (2)
480public override bool HasConstructorConstraint 621public abstract override bool HasConstructorConstraint { get; }
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
25public override bool HasConstructorConstraint => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
230public override bool HasConstructorConstraint => false;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
42public override bool HasConstructorConstraint
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
66public override bool HasConstructorConstraint
19 references to HasConstructorConstraint
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Expressions.cs (1)
7245if (!typeParameter.HasConstructorConstraint && !typeParameter.IsValueType)
Binder\Binder_Unsafe.cs (2)
62if (typeParameter.HasConstructorConstraint && 78if (typeParameter.HasConstructorConstraint &&
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
745Debug.Assert(type.HasConstructorConstraint == other.HasConstructorConstraint);
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
320return AdaptedTypeParameterSymbol.HasConstructorConstraint || AdaptedTypeParameterSymbol.HasValueTypeConstraint || AdaptedTypeParameterSymbol.HasUnmanagedTypeConstraint;
Emitter\NoPia\EmbeddedTypeParameter.cs (1)
60return UnderlyingTypeParameter.AdaptedTypeParameterSymbol.HasConstructorConstraint;
Symbols\ConstraintsHelper.cs (2)
1110if (typeParameter.HasConstructorConstraint && errorIfNotSatisfiesConstructorConstraint(constructedContainingSymbol, typeParameter, typeArgument, diagnosticsBuilder)) 1501return typeParameter.HasConstructorConstraint || typeParameter.IsValueType ? ConstructorConstraintError.None : ConstructorConstraintError.NoPublicParameterlessConstructorOrAbstractType;
Symbols\MemberSignatureComparer.cs (2)
633if ((typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint) ||
Symbols\PublicModel\TypeParameterSymbol.cs (1)
97bool ITypeParameterSymbol.HasConstructorConstraint => _underlying.HasConstructorConstraint;
Symbols\Source\ExtensionGroupingInfo.cs (2)
362if ((typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint) ||
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (3)
95if (typeParameter.HasConstructorConstraint || typeParameter.HasValueTypeConstraint || typeParameter.HasUnmanagedTypeConstraint) 428return !typeParameter.ConstraintTypesNoUseSiteDiagnostics.IsEmpty || typeParameter.HasConstructorConstraint || 640if (typeParam.HasConstructorConstraint)
Symbols\Source\SourceTypeParameterSymbol.cs (1)
911return ((object)typeParameter != null) && typeParameter.HasConstructorConstraint;
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
70return _underlyingTypeParameter.HasConstructorConstraint;