We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e0b4c commit 95dc2f7Copy full SHA for 95dc2f7
csharp/ql/lib/semmle/code/csharp/frameworks/system/diagnostics/CodeAnalysis.qll
@@ -0,0 +1,15 @@
1
+/** Provides definitions related to the namespace `System.Diagnostics.CodeAnalysis`. */
2
+
3
+private import csharp
4
5
+/** An attribute of type `System.Diagnostics.CodeAnalysis.ExperimentalAttribute`. */
6
+class ExperimentalAttribute extends Attribute {
7
+ ExperimentalAttribute() {
8
+ this.getType().hasFullyQualifiedName("System.Diagnostics.CodeAnalysis", "ExperimentalAttribute")
9
+ }
10
11
+ /**
12
+ * Gets the diagnostic ID.
13
+ */
14
+ string getId() { result = this.getConstructorArgument(0).getValue() }
15
+}
0 commit comments