Files
codeql/csharp/ql/test/TestUtilities/InlineExpectationsTestPrivate.qll
2021-10-14 15:22:21 +02:00

11 lines
345 B
Plaintext

import csharp
import semmle.code.csharp.Comments
/**
* A class representing line comments in C# used by the InlineExpectations core code
*/
class ExpectationComment extends SinglelineComment {
/** Gets the contents of the given comment, _without_ the preceding comment marker (`//`). */
string getContents() { result = this.getText() }
}