11 references to Constructor
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Constraints.cs (1)
214
constraints |= TypeParameterConstraintKind.
Constructor
;
Symbols\Source\SourceNamedTypeSymbol.cs (1)
729
if (((mergedKind | clause.Constraints) & ~(TypeParameterConstraintKind.ObliviousNullabilityIfReferenceType | TypeParameterConstraintKind.
Constructor
)) == 0 &&
Symbols\Source\SourceTypeParameterSymbol.cs (2)
495
return (constraints & TypeParameterConstraintKind.
Constructor
) != 0;
676
return (constraints & TypeParameterConstraintKind.
Constructor
) != 0;
Symbols\Source\TypeParameterConstraintClause.cs (2)
64
AllNonNullableKinds = ReferenceType | ValueType |
Constructor
| Unmanaged | AllowByRefLike,
119
(constraints & ~(TypeParameterConstraintKind.ObliviousNullabilityIfReferenceType | TypeParameterConstraintKind.
Constructor
|
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
1485
CompilationUtils.CheckConstraints(symbol, TypeParameterConstraintKind.
Constructor
);
Symbols\GenericConstraintTests.cs (2)
50
CheckConstraints(type.TypeParameters[0], TypeParameterConstraintKind.
Constructor
, false, false, "object", "object", "IB<T>", "IA<T>");
53
CheckConstraints(type.TypeParameters[0], TypeParameterConstraintKind.
Constructor
, false, true, "A<int>", "A<int>", "A<int>");
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (2)
174
constraints |= TypeParameterConstraintKind.
Constructor
;
192
constraints |= TypeParameterConstraintKind.
Constructor
;