26 references to ERR_BadEmptyThrow
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
446diagnostics.Add(ErrorCode.ERR_BadEmptyThrow, node.ThrowKeyword.GetLocation());
Errors\ErrorFacts.cs (1)
742or ErrorCode.ERR_BadEmptyThrow
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
IOperation\IOperationTests_IThrowOperation.cs (3)
35Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(6, 9) 73Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(7, 9), 1850Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(12, 13)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (20)
Semantics\LocalFunctionTests.cs (1)
329Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(13, 17));
Semantics\SemanticErrorTests.cs (18)
4823new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.ERR_BadEmptyThrow, Line = 16, Column = 13 } }); 4901Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4903Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4905Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4907Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4915Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4917Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4919Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw")); 4994Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4996Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4998Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5000Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5002Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5004Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5006Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5008Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5010Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5012Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"));
Semantics\TopLevelStatementsTests.cs (1)
8264Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\StatementAttributeParsingTests.cs (1)
633Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(6, 12));