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