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)
323Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw").WithLocation(13, 17));
Semantics\SemanticErrorTests.cs (18)
4868new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.ERR_BadEmptyThrow, Line = 16, Column = 13 } }); 4946Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4948Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4950Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4952Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4960Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4962Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 4964Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw")); 5039Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5041Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5043Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5045Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5047Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5049Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5051Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5053Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5055Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"), 5057Diagnostic(ErrorCode.ERR_BadEmptyThrow, "throw"));
Semantics\TopLevelStatementsTests.cs (1)
8399Diagnostic(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));