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