11 references to ERR_ConstraintOnlyAllowedOnGenericDecl
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
693or ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl
Symbols\Symbol.cs (1)
1500ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
349Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(3, 23));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InheritanceBindingTests.cs (1)
9033Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(9, 18)
Semantics\RecordStructTests.cs (1)
634Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(2, 35)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationParsingTests.cs (2)
1188Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(1, 9)); 1202Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(1, 20));
Parsing\LocalFunctionParsingTests.cs (2)
1205Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(7, 19), 1211Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(9, 19),
Parsing\ParserErrorMessageTests.cs (2)
119Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where").WithLocation(3, 9)); 135Diagnostic(ErrorCode.ERR_ConstraintOnlyAllowedOnGenericDecl, "where"));