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