22 references to ConstructorConstraintError
Microsoft.CodeAnalysis.VisualBasic (22)
Symbols\ConstraintsHelper.vb (17)
956
Dim constraintError =
ConstructorConstraintError
.NoPublicParameterlessConstructor
962
If constraintError =
ConstructorConstraintError
.None AndAlso namedType.IsMustInherit Then
963
constraintError =
ConstructorConstraintError
.MustInheritType
969
Case
ConstructorConstraintError
.NoPublicParameterlessConstructor
972
Case
ConstructorConstraintError
.MustInheritType
975
Case
ConstructorConstraintError
.HasRequiredMembers
978
Case
ConstructorConstraintError
.None
984
Return constraintError =
ConstructorConstraintError
.None
1164
Public Function HasPublicParameterlessConstructor(type As NamedTypeSymbol) As
ConstructorConstraintError
1175
Return
ConstructorConstraintError
.None
1177
Return
ConstructorConstraintError
.NoPublicParameterlessConstructor
1186
Return
ConstructorConstraintError
.NoPublicParameterlessConstructor
1188
Return
ConstructorConstraintError
.HasRequiredMembers
1190
Return
ConstructorConstraintError
.None
1196
Return
ConstructorConstraintError
.NoPublicParameterlessConstructor
1198
Return
ConstructorConstraintError
.HasRequiredMembers
1200
Return
ConstructorConstraintError
.None
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (5)
294
Return HasPublicParameterlessConstructor(candidate) =
ConstructorConstraintError
.None
304
Dim constructorConstraintError As
ConstructorConstraintError
= HasPublicParameterlessConstructor(Me)
306
Debug.Assert(constructorConstraintError =
ConstructorConstraintError
.None OrElse constructorConstraintError =
ConstructorConstraintError
.HasRequiredMembers)
308
Debug.Assert(constructorConstraintError =
ConstructorConstraintError
.NoPublicParameterlessConstructor)