20 references to ERR_RestrictedType1
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_AnonymousTypes.vb (2)
33ReportDiagnostic(diagnostics, field.Location, ERRID.ERR_RestrictedType1, restrictedType) 253ReportDiagnostic(diagnostics, initExpression, ERRID.ERR_RestrictedType1, restrictedType)
Binding\Binder_Conversions.vb (2)
1573ERRID.ERR_RestrictedType1, restrictedType) 1591ReportDiagnostic(diagnostics, location, ERRID.ERR_RestrictedType1, restrictedType)
Binding\Binder_Expressions.vb (1)
1609ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_RestrictedType1, targetElementType)
Binding\Binder_Lambda.vb (6)
47ReportDiagnostic(diagnostics, node.SubOrFunctionHeader.AsClause.Type, ERRID.ERR_RestrictedType1, returnType) 272ERRID.ERR_RestrictedType1, restrictedType) 290ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType) 805ReportDiagnostic(diagnostics, sourceParameter.TypeSyntax, ERRID.ERR_RestrictedType1, parameters(i).Type) 949ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType) 964ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_RestrictedType1, restrictedType)
Binding\Binder_Statements.vb (2)
1160ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_RestrictedType1, restrictedType) 1165ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_RestrictedType1, type)
Binding\Binder_Utils.vb (2)
1096ReportDiagnostic(diagBag, paramSyntax.AsClause.Type, ERRID.ERR_RestrictedType1, restrictedType) 1100ReportDiagnostic(diagBag, paramSyntax.AsClause.Type, ERRID.ERR_RestrictedType1, paramType)
Errors\ErrorFacts.vb (1)
722ERRID.ERR_RestrictedType1,
Symbols\ConstraintsHelper.vb (1)
664diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_RestrictedType1, typeArgument)))
Symbols\Source\SourceMemberFieldSymbol.vb (1)
142binder.ReportDiagnostic(diagBag, declarator.AsClause.Type, ERRID.ERR_RestrictedType1, restrictedType)
Symbols\Source\SourceMethodSymbol.vb (1)
2346binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_RestrictedType1, restrictedType)
Symbols\Source\SourcePropertySymbol.vb (1)
382Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_RestrictedType1, restrictedType)