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