mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Merge pull request #702 from hvitved/csharp/remove-deprecated
C#: Remove deprecated predicates
This commit is contained in:
@@ -113,49 +113,6 @@ class AssignableRead extends AssignableAccess {
|
||||
AssignableRead getAReachableRead() {
|
||||
result = this.getANextRead+()
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a next uncertain read of the same underlying assignable. That is,
|
||||
* a read that can be reached from this read without passing through any other
|
||||
* reads, and which *may* read the same value. Example:
|
||||
*
|
||||
* ```
|
||||
* int Field;
|
||||
*
|
||||
* void SetField(int i) {
|
||||
* this.Field = i;
|
||||
* Use(this.Field);
|
||||
* if (i > 0)
|
||||
* this.Field = i - 1;
|
||||
* else if (i < 0)
|
||||
* SetField(1);
|
||||
* Use(this.Field);
|
||||
* Use(this.Field);
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* - The read of `i` on line 6 is next to the read on line 4.
|
||||
* - The reads of `i` on lines 7 and 8 are next to the read on line 6.
|
||||
* - The read of `this.Field` on line 10 is next to the read on line 5.
|
||||
* (This is the only truly uncertain read.)
|
||||
* - The read of `this.Field` on line 11 is next to the read on line 10.
|
||||
*/
|
||||
deprecated
|
||||
AssignableRead getANextUncertainRead() {
|
||||
Ssa::Internal::adjacentReadPair(this, result)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a next uncertain read of the same underlying assignable. That is,
|
||||
* a read that can be reached from this read, and which *may* read the same
|
||||
* value.
|
||||
*
|
||||
* This is the transitive closure of `getANextUncertainRead()`.
|
||||
*/
|
||||
deprecated
|
||||
AssignableRead getAReachableUncertainRead() {
|
||||
result = this.getANextUncertainRead+()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -484,10 +441,6 @@ class AssignableDefinition extends TAssignableDefinition {
|
||||
*/
|
||||
Expr getExpr() { none() }
|
||||
|
||||
/** DEPRECATED: Use `getAControlFlowNode()` instead. */
|
||||
deprecated
|
||||
ControlFlow::Node getControlFlowNode() { result = this.getAControlFlowNode() }
|
||||
|
||||
/** Gets the enclosing callable of this definition. */
|
||||
Callable getEnclosingCallable() { result = this.getExpr().getEnclosingCallable() }
|
||||
|
||||
@@ -560,56 +513,6 @@ class AssignableDefinition extends TAssignableDefinition {
|
||||
result = this.getAFirstRead().getANextRead*()
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a first uncertain read of the same underlying assignable. That is,
|
||||
* a read that can be reached from this definition without passing through any
|
||||
* other reads, and which *may* read the value assigned in this definition.
|
||||
* Example:
|
||||
*
|
||||
* ```
|
||||
* int Field;
|
||||
*
|
||||
* void SetField(int i) {
|
||||
* this.Field = i;
|
||||
* Use(this.Field);
|
||||
* if (i > 0)
|
||||
* this.Field = i - 1;
|
||||
* else if (i < 0)
|
||||
* SetField(1);
|
||||
* Use(this.Field);
|
||||
* Use(this.Field);
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* - The read of `i` on line 4 is a first read of the implicit parameter definition
|
||||
* on line 3.
|
||||
* - The read of `this.Field` on line 5 is a first read of the definition on line 4.
|
||||
* - The read of `this.Field` on line 10 is a first read of the definition on
|
||||
* line 7. (This is the only truly uncertain read.)
|
||||
*
|
||||
* Subsequent uncertain reads can be found by following the steps defined by
|
||||
* `AssignableRead.getANextUncertainRead()`.
|
||||
*/
|
||||
deprecated
|
||||
AssignableRead getAFirstUncertainRead() {
|
||||
exists(Ssa::ExplicitDefinition def |
|
||||
def.getADefinition() = this |
|
||||
result = def.getAFirstUncertainRead()
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a reachable uncertain read of the same underlying assignable. That is,
|
||||
* a read that can be reached from this definition, and which *may* read the
|
||||
* value assigned in this definition.
|
||||
*
|
||||
* This is the equivalent with `getAFirstUncertainRead().getANextUncertainRead*()`.
|
||||
*/
|
||||
deprecated
|
||||
AssignableRead getAReachableUncertainRead() {
|
||||
result = this.getAFirstUncertainRead().getANextUncertainRead*()
|
||||
}
|
||||
|
||||
/** Gets a textual representation of this assignable definition. */
|
||||
string toString() { none() }
|
||||
|
||||
|
||||
@@ -1190,22 +1190,6 @@ class UsingStmt extends Stmt, @using_stmt {
|
||||
/** Gets a local variable declaration of this `using` statement. */
|
||||
LocalVariableDeclExpr getAVariableDeclExpr() { result = this.getVariableDeclExpr(_) }
|
||||
|
||||
/** DEPRECATED: Use `getVariable(0)` instead. */
|
||||
deprecated
|
||||
LocalVariable getVariable() { result = getVariableDeclExpr().getVariable() }
|
||||
|
||||
/** DEPRECATED: Use `getAVariableDeclExpr()` instead. */
|
||||
deprecated
|
||||
LocalVariableDeclExpr getVariableDeclExpr() { result.getParent() = this }
|
||||
|
||||
/** DEPRECATED: Use `getAnExpr()` instead. */
|
||||
deprecated Expr getInitializer() {
|
||||
if exists(this.getVariableDeclExpr(0)) then
|
||||
result = this.getVariableDeclExpr(0).getInitializer()
|
||||
else
|
||||
result.getParent() = this
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the expression directly used by this `using` statement, if any. For
|
||||
* example, `f` on line 2 in
|
||||
@@ -1389,14 +1373,6 @@ class FixedStmt extends Stmt, @fixed_stmt {
|
||||
/** Gets a local variable declaration of this `fixed` statement. */
|
||||
LocalVariableDeclExpr getAVariableDeclExpr() { result = this.getVariableDeclExpr(_) }
|
||||
|
||||
/** DEPRECATED: Use `getVariable(0)` instead. */
|
||||
deprecated
|
||||
LocalVariable getVariable() { result = getVariableDeclExpr().getVariable() }
|
||||
|
||||
/** DEPRECATED: Use `getVariableDeclExpr(0) instead. */
|
||||
deprecated
|
||||
LocalVariableDeclExpr getVariableDeclExpr() { result.getParent() = this }
|
||||
|
||||
/** Gets the body of this `fixed` statement. */
|
||||
Stmt getBody() { result.getParent() = this }
|
||||
|
||||
@@ -1441,10 +1417,6 @@ class LabeledStmt extends Stmt, @labeled_stmt {
|
||||
and result = this.getParent().getChild(i+1))
|
||||
}
|
||||
|
||||
/** DEPRECATED: Use `getStmt()` instead. */
|
||||
deprecated
|
||||
Stmt getReferredStatement() { result = this.getStmt() }
|
||||
|
||||
/** Gets the label of this statement. */
|
||||
string getLabel() { exprorstmt_name(this, result) }
|
||||
|
||||
|
||||
@@ -134,12 +134,6 @@ class ValueOrRefType extends DotNet::ValueOrRefType, Type, Attributable, @value_
|
||||
result.hasName(name)
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use `hasMethod()` instead.
|
||||
*/
|
||||
deprecated
|
||||
predicate inheritsMethod(Method m) { this.hasMethod(m) }
|
||||
|
||||
/**
|
||||
* Holds if this type has method `m`, that is, either `m` is declared in this
|
||||
* type, or `m` is inherited by this type.
|
||||
@@ -164,14 +158,6 @@ class ValueOrRefType extends DotNet::ValueOrRefType, Type, Attributable, @value_
|
||||
*/
|
||||
predicate hasMethod(Method m) { this.hasMember(m) }
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use `hasCallable()` instead.
|
||||
*/
|
||||
deprecated
|
||||
predicate inheritsCallable(Callable c) {
|
||||
this.hasCallable(c)
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this type has callable `c`, that is, either `c` is declared in this
|
||||
* type, or `c` is inherited by this type.
|
||||
@@ -202,14 +188,6 @@ class ValueOrRefType extends DotNet::ValueOrRefType, Type, Attributable, @value_
|
||||
hasMember(c.(Accessor).getDeclaration())
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use `hasMember()` instead.
|
||||
*/
|
||||
deprecated
|
||||
predicate inheritsMember(Member m) {
|
||||
this.hasMember(m)
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this type has member `m`, that is, either `m` is declared in this
|
||||
* type, or `m` is inherited by this type.
|
||||
|
||||
@@ -78,19 +78,6 @@ class XMLParent extends @xmlparent {
|
||||
result = count(int pos | xmlChars(_,_,this,pos,_,_))
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Internal.
|
||||
*
|
||||
* Append the character sequences of this XML parent from left to right, separated by a space,
|
||||
* up to a specified (zero-based) index.
|
||||
*/
|
||||
deprecated
|
||||
string charsSetUpTo(int n) {
|
||||
(n = 0 and xmlChars(_,result,this,0,_,_)) or
|
||||
(n > 0 and exists(string chars | xmlChars(_,chars,this,n,_,_) |
|
||||
result = this.charsSetUpTo(n-1) + " " + chars))
|
||||
}
|
||||
|
||||
/** Append all the character sequences of this XML parent from left to right, separated by a space. */
|
||||
string allCharactersString() {
|
||||
result = concat(string chars, int pos | xmlChars(_, chars, this, pos, _, _) | chars, " " order by pos)
|
||||
|
||||
@@ -758,42 +758,6 @@ module Ssa {
|
||||
ssaRefRank(bb2, i2, v, _) = 1
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if the value defined at non-trivial SSA definition `def` can reach `read`
|
||||
* without passing through any other read, but possibly through pseudo definitions
|
||||
* and uncertain definitions.
|
||||
*/
|
||||
deprecated
|
||||
predicate firstUncertainRead(TrackedDefinition def, AssignableRead read) {
|
||||
firstReadSameVar(def, read)
|
||||
or
|
||||
exists(TrackedVar v, TrackedDefinition redef, BasicBlock b1, int i1, BasicBlock b2, int i2 |
|
||||
redef instanceof UncertainDefinition or redef instanceof PseudoDefinition
|
||||
|
|
||||
adjacentVarRefs(v, b1, i1, b2, i2) and
|
||||
definesAt(def, b1, i1, v) and
|
||||
definesAt(redef, b2, i2, v) and
|
||||
firstUncertainRead(redef, read)
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* INTERNAL: Use `AssignableRead.getANextUncertainRead()` instead.
|
||||
*/
|
||||
deprecated
|
||||
predicate adjacentReadPair(AssignableRead read1, AssignableRead read2) {
|
||||
adjacentReadPairSameVar(read1, read2)
|
||||
or
|
||||
exists(TrackedVar v, TrackedDefinition def, BasicBlock bb1, int i1, BasicBlock bb2, int i2 |
|
||||
adjacentVarRefs(v, bb1, i1, bb2, i2) and
|
||||
variableRead(bb1, i1, v, read1.getAControlFlowNode(), _) and
|
||||
definesAt(def, bb2, i2, v) and
|
||||
firstUncertainRead(def, read2) |
|
||||
def instanceof UncertainDefinition or
|
||||
def instanceof PseudoDefinition
|
||||
)
|
||||
}
|
||||
|
||||
private cached module Cached {
|
||||
/**
|
||||
* Holds if `read` is a last read of the non-trivial SSA definition `def`.
|
||||
@@ -2146,47 +2110,6 @@ module Ssa {
|
||||
lastRead(this, result)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a first uncertain read of the source variable underlying this
|
||||
* SSA definition. That is, a read that can be reached from this SSA definition
|
||||
* without passing through any other reads or SSA definitions, except for
|
||||
* phi nodes and uncertain updates. Example:
|
||||
*
|
||||
* ```
|
||||
* int Field;
|
||||
*
|
||||
* void SetField(int i) {
|
||||
* this.Field = i;
|
||||
* Use(this.Field);
|
||||
* if (i > 0)
|
||||
* this.Field = i - 1;
|
||||
* else if (i < 0)
|
||||
* SetField(1);
|
||||
* Use(this.Field);
|
||||
* Use(this.Field);
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* - The read of `i` on line 4 can be reached from the explicit SSA
|
||||
* definition (wrapping an implicit entry definition) on line 3.
|
||||
* - The reads of `i` on lines 6 and 7 are not the first reads of any SSA
|
||||
* definition.
|
||||
* - The read of `this.Field` on line 5 can be reached from the explicit SSA
|
||||
* definition on line 4.
|
||||
* - The read of `this.Field` on line 10 can be reached from the explicit SSA
|
||||
* definition on line 7, the implicit SSA definition on line 9, and the phi
|
||||
* node between lines 9 and 10.
|
||||
* - The read of `this.Field` on line 11 is not the first read of any SSA
|
||||
* definition.
|
||||
*
|
||||
* Subsequent uncertain reads can be found by following the steps defined by
|
||||
* `AssignableRead.getANextUncertainRead()`.
|
||||
*/
|
||||
deprecated
|
||||
AssignableRead getAFirstUncertainRead() {
|
||||
firstUncertainRead(this, result)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a definition that ultimately defines this SSA definition and is
|
||||
* not itself a pseudo node. Example:
|
||||
@@ -2459,10 +2382,6 @@ module Ssa {
|
||||
)
|
||||
}
|
||||
|
||||
override AssignableRead getAFirstUncertainRead() {
|
||||
result = this.getARead()
|
||||
}
|
||||
|
||||
override string toString() {
|
||||
result = getToStringPrefix(this) + "SSA untracked def(" + getSourceVariable() + ")"
|
||||
}
|
||||
|
||||
@@ -128,28 +128,6 @@ class MemberAccess extends Access, QualifiableExpr, @member_access_expr {
|
||||
class AssignableAccess extends Access, @assignable_access_expr {
|
||||
override Assignable getTarget() { none() }
|
||||
|
||||
/**
|
||||
* DEPRECATED: use the class `AssignableRead` instead.
|
||||
*/
|
||||
deprecated predicate isReadAccess() {
|
||||
this instanceof AssignableRead
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: use the class `AssignableWrite` instead.
|
||||
*/
|
||||
deprecated predicate isWriteAccess() {
|
||||
this instanceof AssignableWrite
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: use the classes `AssignableRead` and `AssignableWrite` instead.
|
||||
*/
|
||||
deprecated predicate isReadWriteAccess() {
|
||||
this instanceof AssignableRead and
|
||||
this instanceof AssignableWrite
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this access passes the assignable being accessed as an `out`
|
||||
* argument in a method call.
|
||||
@@ -207,16 +185,6 @@ class VariableRead extends VariableAccess, AssignableRead {
|
||||
override VariableRead getAReachableRead() {
|
||||
result = AssignableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override VariableRead getANextUncertainRead() {
|
||||
result = AssignableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override VariableRead getAReachableUncertainRead() {
|
||||
result = AssignableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -249,16 +217,6 @@ class LocalScopeVariableRead extends LocalScopeVariableAccess, VariableRead {
|
||||
override LocalScopeVariableRead getAReachableRead() {
|
||||
result = VariableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override LocalScopeVariableRead getANextUncertainRead() {
|
||||
result = VariableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override LocalScopeVariableRead getAReachableUncertainRead() {
|
||||
result = VariableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -305,16 +263,6 @@ class ParameterRead extends ParameterAccess, LocalScopeVariableRead {
|
||||
override ParameterRead getAReachableRead() {
|
||||
result = LocalScopeVariableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override ParameterRead getANextUncertainRead() {
|
||||
result = LocalScopeVariableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override ParameterRead getAReachableUncertainRead() {
|
||||
result = LocalScopeVariableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -372,16 +320,6 @@ class LocalVariableRead extends LocalVariableAccess, LocalScopeVariableRead {
|
||||
override LocalVariableRead getAReachableRead() {
|
||||
result = LocalScopeVariableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override LocalVariableRead getANextUncertainRead() {
|
||||
result = LocalScopeVariableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override LocalVariableRead getAReachableUncertainRead() {
|
||||
result = LocalScopeVariableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -526,16 +464,6 @@ class PropertyRead extends PropertyAccess, AssignableRead {
|
||||
override PropertyRead getAReachableRead() {
|
||||
result = AssignableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override PropertyRead getANextUncertainRead() {
|
||||
result = AssignableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override PropertyRead getAReachableUncertainRead() {
|
||||
result = AssignableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -685,16 +613,6 @@ class IndexerRead extends IndexerAccess, AssignableRead {
|
||||
override IndexerRead getAReachableRead() {
|
||||
result = AssignableRead.super.getAReachableRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override IndexerRead getANextUncertainRead() {
|
||||
result = AssignableRead.super.getANextUncertainRead()
|
||||
}
|
||||
|
||||
deprecated
|
||||
override IndexerRead getAReachableUncertainRead() {
|
||||
result = AssignableRead.super.getAReachableUncertainRead()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -275,39 +275,7 @@ class IsExpr extends Expr, @is_expr {
|
||||
*/
|
||||
Expr getExpr() { result = this.getChild(0) }
|
||||
|
||||
/**
|
||||
* Deprecated: Use `IsTypeExpr.getTypeAccess()` instead.
|
||||
* Gets the type access in this `is` expression, for example `string` in
|
||||
* `x is string`.
|
||||
*/
|
||||
deprecated
|
||||
TypeAccess getTypeAccess() { none() }
|
||||
|
||||
/**
|
||||
* Deprecated: Use `IsTypeExpr.getCheckedType()` instead.
|
||||
* Gets the type being accessed in this `is` expression, for example `string`
|
||||
* in `x is string`.
|
||||
*/
|
||||
deprecated
|
||||
Type getCheckedType() { none() }
|
||||
|
||||
override string toString() { result = "... is ..." }
|
||||
|
||||
/**
|
||||
* Deprecated: Use `IsPatternExpr.getVariableDeclExpr()` instead.
|
||||
* Gets the local variable declaration in an `is` pattern expression,
|
||||
* if any. For example `string s` in `x is string s`.
|
||||
*/
|
||||
deprecated
|
||||
LocalVariableDeclExpr getVariableDeclExpr() { none() }
|
||||
|
||||
/**
|
||||
* Deprecated: Use `instanceof IsPatternExpr` instead.
|
||||
* Holds if this `is` expression is an `is` pattern expression, for example
|
||||
* `x is string s`.
|
||||
*/
|
||||
deprecated
|
||||
predicate isPattern() { this instanceof IsPatternExpr }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -322,13 +290,13 @@ class IsTypeExpr extends IsExpr
|
||||
* Gets the type being accessed in this `is` expression, for example `string`
|
||||
* in `x is string`.
|
||||
*/
|
||||
override Type getCheckedType() { result = typeAccess.getTarget() }
|
||||
Type getCheckedType() { result = typeAccess.getTarget() }
|
||||
|
||||
/**
|
||||
* Gets the type access in this `is` expression, for example `string` in
|
||||
* `x is string`.
|
||||
*/
|
||||
override TypeAccess getTypeAccess() { result = typeAccess }
|
||||
TypeAccess getTypeAccess() { result = typeAccess }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -343,7 +311,7 @@ class IsPatternExpr extends IsTypeExpr
|
||||
* Gets the local variable declaration in this `is` pattern expression.
|
||||
* For example `string s` in `x is string s`.
|
||||
*/
|
||||
override LocalVariableDeclExpr getVariableDeclExpr() { result = typeDecl }
|
||||
LocalVariableDeclExpr getVariableDeclExpr() { result = typeDecl }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,3 @@ class MicrosoftNamespace extends Namespace {
|
||||
this.hasName("Microsoft")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `Microsoft` namespace. */
|
||||
deprecated
|
||||
MicrosoftNamespace getMicrosoftNamespace() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System` namespace. */
|
||||
deprecated
|
||||
SystemNamespace getSystemNamespace() { any() }
|
||||
|
||||
/** A class in the `System` namespace. */
|
||||
class SystemClass extends Class {
|
||||
SystemClass() {
|
||||
@@ -63,10 +59,6 @@ class SystemActionDelegateType extends SystemDelegateType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Action` delegate type. */
|
||||
deprecated
|
||||
SystemActionDelegateType getSystemActionDelegateType() { any() }
|
||||
|
||||
/** The `System.Action<T1, ..., Tn>` delegate type. */
|
||||
class SystemActionTDelegateType extends SystemUnboundGenericDelegateType {
|
||||
SystemActionTDelegateType() {
|
||||
@@ -74,10 +66,6 @@ class SystemActionTDelegateType extends SystemUnboundGenericDelegateType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets a `System.Action<T1, ..., Tn>` delegate type. */
|
||||
deprecated
|
||||
SystemActionTDelegateType getSystemActionTDelegateType() { any() }
|
||||
|
||||
/** `System.Array` class. */
|
||||
class SystemArrayClass extends SystemClass {
|
||||
SystemArrayClass() {
|
||||
@@ -85,10 +73,6 @@ class SystemArrayClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Array` class. */
|
||||
deprecated
|
||||
SystemArrayClass getSystemArrayClass() { any() }
|
||||
|
||||
/** The `System.Boolean` structure. */
|
||||
class SystemBooleanStruct extends BoolType {
|
||||
/** Gets the `Parse(string)` method. */
|
||||
@@ -120,10 +104,6 @@ class SystemBooleanStruct extends BoolType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Boolean` structure. */
|
||||
deprecated
|
||||
SystemBooleanStruct getSystemBooleanStruct() { any() }
|
||||
|
||||
/** The `System.Convert` class. */
|
||||
class SystemConvertClass extends SystemClass {
|
||||
SystemConvertClass() {
|
||||
@@ -131,10 +111,6 @@ class SystemConvertClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Convert` class. */
|
||||
deprecated
|
||||
SystemConvertClass getSystemConvertClass() { any() }
|
||||
|
||||
/** `System.Delegate` class. */
|
||||
class SystemDelegateClass extends SystemClass {
|
||||
SystemDelegateClass() {
|
||||
@@ -142,10 +118,6 @@ class SystemDelegateClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Delegate` class. */
|
||||
deprecated
|
||||
SystemDelegateClass getSystemDelegateClass() { any() }
|
||||
|
||||
/** The `System.DivideByZeroException` class. */
|
||||
class SystemDivideByZeroExceptionClass extends SystemClass {
|
||||
SystemDivideByZeroExceptionClass() {
|
||||
@@ -153,10 +125,6 @@ class SystemDivideByZeroExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.DivideByZeroException` class. */
|
||||
deprecated
|
||||
SystemDivideByZeroExceptionClass getSystemDivideByZeroExceptionClass() { any() }
|
||||
|
||||
/** The `System.Enum` class. */
|
||||
class SystemEnumClass extends SystemClass {
|
||||
SystemEnumClass() {
|
||||
@@ -164,10 +132,6 @@ class SystemEnumClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Enum` class. */
|
||||
deprecated
|
||||
SystemEnumClass getSystemEnumClass() { any() }
|
||||
|
||||
/** The `System.Exception` class. */
|
||||
class SystemExceptionClass extends SystemClass {
|
||||
SystemExceptionClass() {
|
||||
@@ -175,10 +139,6 @@ class SystemExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Exception` class. */
|
||||
deprecated
|
||||
SystemExceptionClass getSystemExceptionClass() { any() }
|
||||
|
||||
/** The `System.Func<T1, ..., Tn, TResult>` delegate type. */
|
||||
class SystemFuncDelegateType extends SystemUnboundGenericDelegateType {
|
||||
SystemFuncDelegateType() {
|
||||
@@ -199,10 +159,6 @@ class SystemFuncDelegateType extends SystemUnboundGenericDelegateType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets a `System.Func<T1, ..., Tn, TResult>` delegate type. */
|
||||
deprecated
|
||||
SystemFuncDelegateType getSystemFuncDelegateType() { any() }
|
||||
|
||||
/** The `System.IComparable` interface. */
|
||||
class SystemIComparableInterface extends SystemInterface {
|
||||
SystemIComparableInterface() {
|
||||
@@ -223,10 +179,6 @@ class SystemIComparableInterface extends SystemInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IComparable` interface. */
|
||||
deprecated
|
||||
SystemIComparableInterface getSystemIComparableInterface() { any() }
|
||||
|
||||
/** The `System.IComparable<T>` interface. */
|
||||
class SystemIComparableTInterface extends SystemUnboundGenericInterface {
|
||||
SystemIComparableTInterface() {
|
||||
@@ -247,10 +199,6 @@ class SystemIComparableTInterface extends SystemUnboundGenericInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IComparable<T>` interface. */
|
||||
deprecated
|
||||
SystemIComparableTInterface getSystemIComparableTInterface() { any() }
|
||||
|
||||
/** The `System.IEquatable<T>` interface. */
|
||||
class SystemIEquatableTInterface extends SystemUnboundGenericInterface {
|
||||
SystemIEquatableTInterface() {
|
||||
@@ -271,10 +219,6 @@ class SystemIEquatableTInterface extends SystemUnboundGenericInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IEquatable<T>` interface. */
|
||||
deprecated
|
||||
SystemIEquatableTInterface getSystemIEquatableTInterface() { any() }
|
||||
|
||||
/** The `System.IFormatProvider` interface. */
|
||||
class SystemIFormatProviderInterface extends SystemInterface {
|
||||
SystemIFormatProviderInterface() {
|
||||
@@ -282,10 +226,6 @@ class SystemIFormatProviderInterface extends SystemInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IFormatProvider` interface. */
|
||||
deprecated
|
||||
SystemIFormatProviderInterface getSystemIFormatProviderInterface() { any() }
|
||||
|
||||
/** The `System.Int32` structure. */
|
||||
class SystemInt32Struct extends IntType {
|
||||
/** Gets the `Parse(string, ...)` method. */
|
||||
@@ -313,10 +253,6 @@ class SystemInt32Struct extends IntType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Int32` structure. */
|
||||
deprecated
|
||||
SystemInt32Struct getSystemInt32Struct() { any() }
|
||||
|
||||
/** The `System.InvalidCastException` class. */
|
||||
class SystemInvalidCastExceptionClass extends SystemClass {
|
||||
SystemInvalidCastExceptionClass() {
|
||||
@@ -324,10 +260,6 @@ class SystemInvalidCastExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.InvalidCastException` class. */
|
||||
deprecated
|
||||
SystemInvalidCastExceptionClass getSystemInvalidCastExceptionClass() { any() }
|
||||
|
||||
/** The `System.Lazy<T>` class. */
|
||||
class SystemLazyClass extends SystemUnboundGenericClass {
|
||||
SystemLazyClass() {
|
||||
@@ -346,10 +278,6 @@ class SystemLazyClass extends SystemUnboundGenericClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Lazy<T>` class. */
|
||||
deprecated
|
||||
SystemLazyClass getSystemLazyClass() { any() }
|
||||
|
||||
/** The `System.NullReferenceException` class. */
|
||||
class SystemNullReferenceExceptionClass extends SystemClass {
|
||||
SystemNullReferenceExceptionClass() {
|
||||
@@ -357,10 +285,6 @@ class SystemNullReferenceExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.NullReferenceException` class. */
|
||||
deprecated
|
||||
SystemNullReferenceExceptionClass getSystemNullReferenceExceptionClass() { any() }
|
||||
|
||||
/** The `System.Object` class. */
|
||||
class SystemObjectClass extends SystemClass {
|
||||
SystemObjectClass() {
|
||||
@@ -448,10 +372,6 @@ class SystemObjectClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Object` class. */
|
||||
deprecated
|
||||
SystemObjectClass getSystemObjectClass() { any() }
|
||||
|
||||
/** The `System.OutOfMemoryException` class. */
|
||||
class SystemOutOfMemoryExceptionClass extends SystemClass {
|
||||
SystemOutOfMemoryExceptionClass() {
|
||||
@@ -459,10 +379,6 @@ class SystemOutOfMemoryExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.OutOfMemoryException` class. */
|
||||
deprecated
|
||||
SystemOutOfMemoryExceptionClass getSystemOutOfMemoryExceptionClass() { any() }
|
||||
|
||||
/** The `System.OverflowException` class. */
|
||||
class SystemOverflowExceptionClass extends SystemClass {
|
||||
SystemOverflowExceptionClass() {
|
||||
@@ -470,10 +386,6 @@ class SystemOverflowExceptionClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.OverflowException` class. */
|
||||
deprecated
|
||||
SystemOverflowExceptionClass getSystemOverflowExceptionClass() { any() }
|
||||
|
||||
/** The `System.Predicate<T>` delegate type. */
|
||||
class SystemPredicateDelegateType extends SystemUnboundGenericDelegateType {
|
||||
SystemPredicateDelegateType() {
|
||||
@@ -483,10 +395,6 @@ class SystemPredicateDelegateType extends SystemUnboundGenericDelegateType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Predicate<T>` delegate type. */
|
||||
deprecated
|
||||
SystemPredicateDelegateType getSystemPredicateDelegateType() { any() }
|
||||
|
||||
/** The `System.String` class. */
|
||||
class SystemStringClass extends StringType {
|
||||
/** Gets the `Equals(object)` method. */
|
||||
@@ -642,10 +550,6 @@ class SystemStringClass extends StringType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.String` class. */
|
||||
deprecated
|
||||
SystemStringClass getSystemStringClass() { any() }
|
||||
|
||||
/** A `ToString()` method. */
|
||||
class ToStringMethod extends Method {
|
||||
ToStringMethod() {
|
||||
@@ -693,10 +597,6 @@ class SystemTypeClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Type` class. */
|
||||
deprecated
|
||||
SystemTypeClass getSystemTypeClass() { any() }
|
||||
|
||||
/** The `System.Uri` class. */
|
||||
class SystemUriClass extends SystemClass {
|
||||
SystemUriClass() {
|
||||
@@ -731,10 +631,6 @@ class SystemUriClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Uri` class. */
|
||||
deprecated
|
||||
SystemUriClass getSystemUriClass() { any() }
|
||||
|
||||
/** The `System.ValueType` class. */
|
||||
class SystemValueTypeClass extends SystemClass {
|
||||
SystemValueTypeClass() {
|
||||
@@ -742,10 +638,6 @@ class SystemValueTypeClass extends SystemClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.ValueType` class. */
|
||||
deprecated
|
||||
SystemValueTypeClass getSystemValueTypeClass() { any() }
|
||||
|
||||
/** The `System.IntPtr` type. */
|
||||
class SystemIntPtrType extends ValueType {
|
||||
SystemIntPtrType() {
|
||||
@@ -755,10 +647,6 @@ class SystemIntPtrType extends ValueType {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IntPtr` type. */
|
||||
deprecated
|
||||
SystemIntPtrType getSystemIntPtrType() { any() }
|
||||
|
||||
/** The `System.IDisposable` interface. */
|
||||
class SystemIDisposableInterface extends SystemInterface {
|
||||
SystemIDisposableInterface() {
|
||||
@@ -777,10 +665,6 @@ class SystemIDisposableInterface extends SystemInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IDisposable` interface. */
|
||||
deprecated
|
||||
SystemIDisposableInterface getSystemIDisposableInterface() { any() }
|
||||
|
||||
/** A method that overrides `int object.GetHashCode()`. */
|
||||
class GetHashCodeMethod extends Method {
|
||||
GetHashCodeMethod() {
|
||||
|
||||
@@ -14,10 +14,6 @@ class MicrosoftOwinNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `Microsoft.Owin` namespace. */
|
||||
deprecated
|
||||
MicrosoftOwinNamespace getMicrosoftOwinNamespace() { any() }
|
||||
|
||||
/** The `Microsoft.Owin.IOwinRequest` class. */
|
||||
class MicrosoftOwinIOwinRequestClass extends Class {
|
||||
MicrosoftOwinIOwinRequestClass() {
|
||||
|
||||
@@ -9,7 +9,3 @@ class SystemCodeDomNamespace extends Namespace {
|
||||
this.hasName("CodeDom")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.CodeDom` namespace. */
|
||||
deprecated
|
||||
SystemCodeDomNamespace getSystemCodeDomNamespace() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemCollectionsNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections` namespace. */
|
||||
deprecated
|
||||
SystemCollectionsNamespace getSystemCollectionsNamespace() { any() }
|
||||
|
||||
/** An interface in the `System.Collections` namespace. */
|
||||
class SystemCollectionsInterface extends Interface {
|
||||
SystemCollectionsInterface() {
|
||||
@@ -43,10 +39,6 @@ class SystemCollectionsIComparerInterface extends SystemCollectionsInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.IComparer` interface. */
|
||||
deprecated
|
||||
SystemCollectionsIComparerInterface getSystemCollectionsIComparerInterface() { any() }
|
||||
|
||||
/** The `System.Collections.IEnumerable` interface. */
|
||||
class SystemCollectionsIEnumerableInterface extends SystemCollectionsInterface {
|
||||
SystemCollectionsIEnumerableInterface() {
|
||||
@@ -54,10 +46,6 @@ class SystemCollectionsIEnumerableInterface extends SystemCollectionsInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.IEnumerable` interface. */
|
||||
deprecated
|
||||
SystemCollectionsIEnumerableInterface getSystemCollectionsIEnumerableInterface() { any() }
|
||||
|
||||
/** The `System.Collections.IEnumerator` interface. */
|
||||
class SystemCollectionsIEnumeratorInterface extends SystemCollectionsInterface {
|
||||
SystemCollectionsIEnumeratorInterface() {
|
||||
@@ -74,10 +62,6 @@ class SystemCollectionsIEnumeratorInterface extends SystemCollectionsInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.IEnumerator` interface. */
|
||||
deprecated
|
||||
SystemCollectionsIEnumeratorInterface getSystemCollectionsIEnumeratorInterface() { any() }
|
||||
|
||||
/** The `System.Collections.ICollection` interface. */
|
||||
class SystemCollectionsICollectionInterface extends SystemCollectionsInterface {
|
||||
SystemCollectionsICollectionInterface() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemDataNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Data` namespace. */
|
||||
deprecated
|
||||
SystemDataNamespace getSystemDataNamespace() { any() }
|
||||
|
||||
/** An interface in the `System.Data` namespace. */
|
||||
class SystemDataInterface extends Interface {
|
||||
SystemDataInterface() {
|
||||
@@ -37,10 +33,6 @@ class SystemDataIDbCommandInterface extends SystemDataInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Data.IDbCommand` interface. */
|
||||
deprecated
|
||||
SystemDataIDbCommandInterface getSystemDataIDbCommandInterface() { any() }
|
||||
|
||||
/** The `System.Data.IDbConnection` interface. */
|
||||
class SystemDataIDbConnectionInterface extends SystemDataInterface {
|
||||
SystemDataIDbConnectionInterface() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemDiagnosticsNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Diagnostics` namespace. */
|
||||
deprecated
|
||||
SystemDiagnosticsNamespace getSystemDiagnosticsNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Diagnostics` namespace. */
|
||||
class SystemDiagnosticsClass extends Class {
|
||||
SystemDiagnosticsClass() {
|
||||
@@ -40,10 +36,6 @@ class SystemDiagnosticsDebugClass extends SystemDiagnosticsClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Diagnostics.Debug` class. */
|
||||
deprecated
|
||||
SystemDiagnosticsDebugClass getSystemDiagnosticsDebugClass() { any() }
|
||||
|
||||
/** The `System.Diagnostics.ProcessStartInfo` class. */
|
||||
class SystemDiagnosticsProcessStartInfoClass extends SystemDiagnosticsClass {
|
||||
SystemDiagnosticsProcessStartInfoClass() {
|
||||
@@ -73,7 +65,3 @@ class SystemDiagnosticsProcessClass extends SystemDiagnosticsClass {
|
||||
result.getReturnType() instanceof SystemDiagnosticsProcessClass
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Diagnostics.Process` class. */
|
||||
deprecated
|
||||
SystemDiagnosticsProcessClass getSystemDiagnosticsProcessClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemIONamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO` namespace. */
|
||||
deprecated
|
||||
SystemIONamespace getSystemIONamespace() { any() }
|
||||
|
||||
/** A class in the `System.IO` namespace. */
|
||||
class SystemIOClass extends Class {
|
||||
SystemIOClass() {
|
||||
@@ -35,11 +31,6 @@ class SystemIOFileClass extends SystemIOClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO.File` class. */
|
||||
deprecated
|
||||
SystemIOFileClass getSystemIOFileClass() { any() }
|
||||
|
||||
|
||||
/** The `System.IO.FileStream` class. */
|
||||
class SystemIOFileStreamClass extends SystemIOClass {
|
||||
SystemIOFileStreamClass() {
|
||||
@@ -61,10 +52,6 @@ class SystemIOPathClass extends SystemIOClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO.Path` class. */
|
||||
deprecated
|
||||
SystemIOPathClass getSystemIOPathClass() { any() }
|
||||
|
||||
/** The `System.IO.StringReader` class. */
|
||||
class SystemIOStringReaderClass extends SystemIOClass {
|
||||
SystemIOStringReaderClass() {
|
||||
@@ -72,10 +59,6 @@ class SystemIOStringReaderClass extends SystemIOClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO.StringReader` class. */
|
||||
deprecated
|
||||
SystemIOStringReaderClass getSystemIOStringReaderClass() { any() }
|
||||
|
||||
/** The `System.IO.Stream` class. */
|
||||
class SystemIOStreamClass extends SystemIOClass {
|
||||
SystemIOStreamClass() {
|
||||
@@ -123,10 +106,6 @@ class SystemIOStreamClass extends SystemIOClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO.Stream` class. */
|
||||
deprecated
|
||||
SystemIOStreamClass getSystemIOStreamClass() { any() }
|
||||
|
||||
/** The `System.IO.MemoryStream` class. */
|
||||
class SystemIOMemoryStreamClass extends SystemIOClass {
|
||||
SystemIOMemoryStreamClass() {
|
||||
@@ -139,7 +118,3 @@ class SystemIOMemoryStreamClass extends SystemIOClass {
|
||||
result.hasName("ToArray")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO.MemoryStream` class. */
|
||||
deprecated
|
||||
SystemIOMemoryStreamClass getSystemIOMemoryStreamClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemReflectionNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Reflection` namespace. */
|
||||
deprecated
|
||||
SystemReflectionNamespace getSystemReflectionNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Reflection` namespace. */
|
||||
class SystemReflectionClass extends Class {
|
||||
SystemReflectionClass() {
|
||||
@@ -58,17 +54,9 @@ class SystemReflectionMethodBaseClass extends SystemReflectionClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Reflection.MethodBase` class. */
|
||||
deprecated
|
||||
SystemReflectionMethodBaseClass getSystemReflectionMethodBaseClass() { any() }
|
||||
|
||||
/** The `System.Reflection.MethodInfo` class. */
|
||||
class SystemReflectionMethodInfoClass extends SystemReflectionClass {
|
||||
SystemReflectionMethodInfoClass() {
|
||||
this.hasName("MethodInfo")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Reflection.MethodInfo` class. */
|
||||
deprecated
|
||||
SystemReflectionMethodInfoClass getSystemReflectionMethodInfoClass() { any() }
|
||||
|
||||
@@ -9,7 +9,3 @@ class SystemRuntimeNamespace extends Namespace {
|
||||
this.hasName("Runtime")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Runtime` namespace. */
|
||||
deprecated
|
||||
SystemRuntimeNamespace getSystemRuntimeNamespace() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemTextNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Text` namespace. */
|
||||
deprecated
|
||||
SystemTextNamespace getSystemTextNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Text` namespace. */
|
||||
class SystemTextClass extends Class {
|
||||
SystemTextClass() {
|
||||
@@ -33,10 +29,6 @@ class SystemTextStringBuilderClass extends SystemTextClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Text.StringBuilder` class. */
|
||||
deprecated
|
||||
SystemTextStringBuilderClass getSystemTextStringBuilderClass() { any() }
|
||||
|
||||
/** The `System.Text.Encoding` class. */
|
||||
class SystemTextEncodingClass extends SystemTextClass {
|
||||
SystemTextEncodingClass() {
|
||||
@@ -58,7 +50,3 @@ class SystemTextEncodingClass extends SystemTextClass {
|
||||
result = this.getAMethod("GetChars")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Text.Encoding` class. */
|
||||
deprecated
|
||||
SystemTextEncodingClass getSystemTextEncodingClass() { any() }
|
||||
|
||||
@@ -9,7 +9,3 @@ class SystemThreadingNamespace extends Namespace {
|
||||
this.hasName("Threading")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Threading` namespace. */
|
||||
deprecated
|
||||
SystemThreadingNamespace getSystemThreadingNamespace() { any() }
|
||||
|
||||
@@ -11,10 +11,6 @@ class SystemWebNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web` namespace. */
|
||||
deprecated
|
||||
SystemWebNamespace getSystemWebNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Web` namespace. */
|
||||
class SystemWebClass extends Class {
|
||||
SystemWebClass() {
|
||||
@@ -288,19 +284,3 @@ class SystemWebHtmlString extends SystemWebClass {
|
||||
this.hasName("HtmlString")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.HttpRequest` class. */
|
||||
deprecated
|
||||
SystemWebHttpRequestClass getSystemWebHttpRequestClass() { any() }
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.UnvalidatedRequestValues` class. */
|
||||
deprecated
|
||||
SystemWebUnvalidatedRequestValues getSystemWebUnvalidatedRequestValues() { any() }
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.HttpRequestMessage` class. */
|
||||
deprecated
|
||||
SystemWebHttpRequestMessageClass getSystemWebHttpRequestMessageClass() { any() }
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.HttpResponse` class. */
|
||||
deprecated
|
||||
SystemWebHttpResponseClass getSystemWebHttpResponseClass() { any() }
|
||||
|
||||
@@ -18,10 +18,6 @@ class SystemXmlSchemaNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Xml` namespace. */
|
||||
deprecated
|
||||
SystemXmlNamespace getSystemXmlNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Xml` namespace. */
|
||||
class SystemXmlClass extends Class {
|
||||
SystemXmlClass() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemCodeDomCompilerNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.CodeDom.Compiler` namespace. */
|
||||
deprecated
|
||||
SystemCodeDomCompilerNamespace getSystemCodeDomCompilerNamespace() { any() }
|
||||
|
||||
/** A reference type in the `System.CodeDom.Compiler` namespace. */
|
||||
class SystemCodeDomCompilerClass extends RefType {
|
||||
SystemCodeDomCompilerClass() {
|
||||
@@ -28,10 +24,6 @@ class SystemCodeDomCompilerGeneratedCodeAttributeClass extends SystemCodeDomComp
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.CodeDom.Compiler.GeneratedCodeAttribute` class. */
|
||||
deprecated
|
||||
SystemCodeDomCompilerGeneratedCodeAttributeClass getSystemCodeDomCompilerGeneratedCodeAttributeClass() { any() }
|
||||
|
||||
/** The `System.CodeDom.Compiler.ICodeCompiler` class. */
|
||||
class SystemCodeDomCompilerICodeCompilerClass extends SystemCodeDomCompilerClass {
|
||||
SystemCodeDomCompilerICodeCompilerClass() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemCollectionsGenericNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic` namespace. */
|
||||
deprecated
|
||||
SystemCollectionsGenericNamespace getSystemCollectionsGenericNamespace() { any() }
|
||||
|
||||
/** An unbound generic interface in the `System.Collections.Generic` namespace. */
|
||||
class SystemCollectionsGenericUnboundGenericInterface extends UnboundGenericInterface {
|
||||
SystemCollectionsGenericUnboundGenericInterface() {
|
||||
@@ -50,10 +46,6 @@ class SystemCollectionsGenericIComparerTInterface extends SystemCollectionsGener
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.IComparer<T>` interface. */
|
||||
deprecated
|
||||
SystemCollectionsGenericIComparerTInterface getSystemCollectionsGenericIComparerTInterface() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.IEqualityComparer<T>` interface. */
|
||||
class SystemCollectionsGenericIEqualityComparerTInterface extends SystemCollectionsGenericUnboundGenericInterface {
|
||||
SystemCollectionsGenericIEqualityComparerTInterface() {
|
||||
@@ -76,10 +68,6 @@ class SystemCollectionsGenericIEqualityComparerTInterface extends SystemCollecti
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.IEqualityComparer<T>` interface. */
|
||||
deprecated
|
||||
SystemCollectionsGenericIEqualityComparerTInterface getSystemCollectionsGenericIEqualityComparerTInterface() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.IEnumerable<T>` interface. */
|
||||
class SystemCollectionsGenericIEnumerableTInterface extends SystemCollectionsGenericUnboundGenericInterface {
|
||||
SystemCollectionsGenericIEnumerableTInterface() {
|
||||
@@ -89,10 +77,6 @@ class SystemCollectionsGenericIEnumerableTInterface extends SystemCollectionsGen
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.IEnumerable<T>` interface. */
|
||||
deprecated
|
||||
SystemCollectionsGenericIEnumerableTInterface getSystemCollectionsGenericIEnumerableTInterface() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.IEnumerator<T>` interface. */
|
||||
class SystemCollectionsGenericIEnumeratorInterface extends SystemCollectionsGenericUnboundGenericInterface {
|
||||
SystemCollectionsGenericIEnumeratorInterface() {
|
||||
@@ -111,10 +95,6 @@ class SystemCollectionsGenericIEnumeratorInterface extends SystemCollectionsGene
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.IEnumerator<T>` interface. */
|
||||
deprecated
|
||||
SystemCollectionsGenericIEnumeratorInterface getSystemCollectionsGenericIEnumeratorInterface() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.IList<T>` interface. */
|
||||
class SystemCollectionsGenericIListTInterface extends SystemCollectionsGenericUnboundGenericInterface {
|
||||
SystemCollectionsGenericIListTInterface() {
|
||||
@@ -124,10 +104,6 @@ class SystemCollectionsGenericIListTInterface extends SystemCollectionsGenericUn
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.IList<T>` interface. */
|
||||
deprecated
|
||||
SystemCollectionsGenericIListTInterface getSystemCollectionsGenericIListTInterface() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.KeyValuePair<TKey, TValue>` structure. */
|
||||
class SystemCollectionsGenericKeyValuePairStruct extends SystemCollectionsGenericUnboundGenericStruct {
|
||||
SystemCollectionsGenericKeyValuePairStruct() {
|
||||
@@ -155,10 +131,6 @@ class SystemCollectionsGenericKeyValuePairStruct extends SystemCollectionsGeneri
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Generic.KeyValuePair<TKey, TValue>` structure. */
|
||||
deprecated
|
||||
SystemCollectionsGenericKeyValuePairStruct getSystemCollectionsGenericKeyValuePairStruct() { any() }
|
||||
|
||||
/** The `System.Collections.Generic.ICollection<>` interface. */
|
||||
class SystemCollectionsGenericICollectionInterface extends SystemCollectionsGenericUnboundGenericInterface {
|
||||
SystemCollectionsGenericICollectionInterface() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemCollectionsSpecializedNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Specialized` namespace. */
|
||||
deprecated
|
||||
SystemCollectionsSpecializedNamespace getSystemCollectionsSpecializedNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Collections.Specialized` namespace. */
|
||||
class SystemCollectionsSpecializedClass extends Class {
|
||||
SystemCollectionsSpecializedClass() {
|
||||
@@ -27,7 +23,3 @@ class SystemCollectionsSpecializedNameValueCollectionClass extends SystemCollect
|
||||
this.hasName("NameValueCollection")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Collections.Specialized.NameValueCollection` class. */
|
||||
deprecated
|
||||
SystemCollectionsSpecializedNameValueCollectionClass getSystemCollectionsSpecializedNameValueCollectionClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemDataSqlClientNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Data.SqlClient` namespace. */
|
||||
deprecated
|
||||
SystemDataSqlClientNamespace getSystemDataSqlClientNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Data.SqlClient` namespace. */
|
||||
class SystemDataSqlClientClass extends Class {
|
||||
SystemDataSqlClientClass() {
|
||||
@@ -28,10 +24,6 @@ class SystemDataSqlClientSqlDataAdapterClass extends SystemDataSqlClientClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Data.SqlClient.SqlDataAdapter` class. */
|
||||
deprecated
|
||||
SystemDataSqlClientSqlDataAdapterClass getSystemDataSqlClientSqlDataAdapterClass() { any() }
|
||||
|
||||
/** The `System.Data.SqlClient.SqlConnection` class. */
|
||||
class SystemDataSqlClientSqlConnectionClass extends SystemDataSqlClientClass {
|
||||
SystemDataSqlClientSqlConnectionClass() {
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemIOCompressionNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.IO` namespace. */
|
||||
deprecated
|
||||
SystemIOCompressionNamespace getSystemIOCompressionNamespace() { any() }
|
||||
|
||||
/** A class in the `System.IO.Compression` namespace. */
|
||||
class SystemIOCompressionClass extends Class {
|
||||
SystemIOCompressionClass() {
|
||||
|
||||
@@ -11,10 +11,6 @@ class SystemRuntimeInteropServicesNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Runtime.InteropServices` namespace. */
|
||||
deprecated
|
||||
SystemRuntimeInteropServicesNamespace getSystemRuntimeInteropServicesNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Runtime.InteropServices` namespace. */
|
||||
class SystemRuntimeInteropServicesClass extends Class {
|
||||
SystemRuntimeInteropServicesClass() {
|
||||
@@ -29,10 +25,6 @@ class SystemRuntimeInteropServicesDllImportAttributeClass extends SystemRuntimeI
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Runtime.InteropServices.DllImportAttribute` class. */
|
||||
deprecated
|
||||
SystemRuntimeInteropServicesDllImportAttributeClass getSystemRuntimeInteropServicesDllImportAttributeClass() { any() }
|
||||
|
||||
/** The `System.Runtime.InteropServices.Marshal` class. */
|
||||
class SystemRuntimeInteropServicesMarshalClass extends SystemRuntimeInteropServicesClass {
|
||||
SystemRuntimeInteropServicesMarshalClass() {
|
||||
@@ -70,17 +62,9 @@ class SystemRuntimeInteropServicesMarshalClass extends SystemRuntimeInteropServi
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Runtime.InteropServices.Marshal` class. */
|
||||
deprecated
|
||||
SystemRuntimeInteropServicesMarshalClass getSystemRuntimeInteropServicesMarshalClass() { any() }
|
||||
|
||||
/** The `System.Runtime.InteropServices.ComImportAttribute` class. */
|
||||
class SystemRuntimeInteropServicesComImportAttributeClass extends SystemRuntimeInteropServicesClass {
|
||||
SystemRuntimeInteropServicesComImportAttributeClass() {
|
||||
this.hasName("ComImportAttribute")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Runtime.InteropServices.ComImportAttribute` class. */
|
||||
deprecated
|
||||
SystemRuntimeInteropServicesComImportAttributeClass getSystemRuntimeInteropServicesComImportAttributeClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemThreadingTasksNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Threading.Tasks` namespace. */
|
||||
deprecated
|
||||
SystemThreadingTasksNamespace getSystemThreadingTasksNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Threading.Tasks` namespace. */
|
||||
class SystemThreadingTasksClass extends Class {
|
||||
SystemThreadingTasksClass() {
|
||||
@@ -35,10 +31,6 @@ class SystemThreadingTasksTaskClass extends SystemThreadingTasksClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Threading.Tasks.Task` class. */
|
||||
deprecated
|
||||
SystemThreadingTasksTaskClass getSystemThreadingTasksTaskClass() { any() }
|
||||
|
||||
/** The `System.Threading.Tasks.Task<T>` class. */
|
||||
class SystemThreadingTasksTaskTClass extends SystemThreadingTasksUnboundGenericClass {
|
||||
SystemThreadingTasksTaskTClass() {
|
||||
@@ -54,7 +46,3 @@ class SystemThreadingTasksTaskTClass extends SystemThreadingTasksUnboundGenericC
|
||||
result.getType() = this.getTypeParameter(0)
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Threading.Tasks.Task<T>` class. */
|
||||
deprecated
|
||||
SystemThreadingTasksTaskTClass getSystemThreadingTasksTaskTClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemWebServicesNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.Services` namespace. */
|
||||
deprecated
|
||||
SystemWebServicesNamespace getSystemWebServicesNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Web.Services` namespace. */
|
||||
class SystemWebServicesClass extends Class {
|
||||
SystemWebServicesClass() {
|
||||
@@ -27,7 +23,3 @@ class SystemWebServicesWebMethodAttributeClass extends SystemWebServicesClass {
|
||||
this.hasName("WebMethodAttribute")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.Services.WebMethodAttribute` class. */
|
||||
deprecated
|
||||
SystemWebServicesWebMethodAttributeClass getSystemWebServicesWebMethodAttributeClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemWebUINamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.UI` namespace. */
|
||||
deprecated
|
||||
SystemWebUINamespace getSystemWebUINamespace() { any() }
|
||||
|
||||
/** A class in the `System.Web.UI` namespace. */
|
||||
class SystemWebUIClass extends Class {
|
||||
SystemWebUIClass() {
|
||||
@@ -28,10 +24,6 @@ class SystemWebUIControlClass extends SystemWebUIClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.UI.Control` class. */
|
||||
deprecated
|
||||
SystemWebUIControlClass getSystemWebUIControlClass() { any() }
|
||||
|
||||
/** The `System.Web.UI.Page` class. */
|
||||
class SystemWebUIPageClass extends SystemWebUIClass {
|
||||
SystemWebUIPageClass() {
|
||||
@@ -75,10 +67,6 @@ class SystemWebUIPageClass extends SystemWebUIClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.UI.Page` class. */
|
||||
deprecated
|
||||
SystemWebUIPageClass getSystemWebUIPageClass() { any() }
|
||||
|
||||
/** The `System.Web.UI.HtmlTextWriter` class. */
|
||||
class SystemWebUIHtmlTextWriterClass extends SystemWebUIClass {
|
||||
SystemWebUIHtmlTextWriterClass() {
|
||||
@@ -116,10 +104,6 @@ class SystemWebUIHtmlTextWriterClass extends SystemWebUIClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.UI.HtmlTextWriter` class. */
|
||||
deprecated
|
||||
SystemWebUIHtmlTextWriterClass getSystemWebUIHtmlTextWriterClass() { any() }
|
||||
|
||||
/** The `System.Web.UI.AttributeCollection` class. */
|
||||
class SystemWebUIAttributeCollectionClass extends SystemWebUIClass {
|
||||
SystemWebUIAttributeCollectionClass() {
|
||||
@@ -139,10 +123,6 @@ class SystemWebUIAttributeCollectionClass extends SystemWebUIClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.UI.AttributeCollection` class. */
|
||||
deprecated
|
||||
SystemWebUIAttributeCollectionClass getSystemWebUIAttributeCollectionClass() { any() }
|
||||
|
||||
/** The `System.Web.UI.ClientScriptManager` class. */
|
||||
class SystemWebUIClientScriptManagerClass extends SystemWebUIClass {
|
||||
SystemWebUIClientScriptManagerClass() {
|
||||
@@ -161,7 +141,3 @@ class SystemWebUIClientScriptManagerClass extends SystemWebUIClass {
|
||||
result.hasName("RegisterClientScriptBlock")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.UI.ClientScriptManager` class. */
|
||||
deprecated
|
||||
SystemWebUIClientScriptManagerClass getSystemWebUIClientScriptManagerClass() { any() }
|
||||
|
||||
@@ -10,10 +10,6 @@ class SystemWebUIWebControlsNamespace extends Namespace {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.UI.WebControls` namespace. */
|
||||
deprecated
|
||||
SystemWebUIWebControlsNamespace getSystemWebUIWebControlsNamespace() { any() }
|
||||
|
||||
/** A class in the `System.Web.UI.WebControls` namespace. */
|
||||
class SystemWebUIWebControlsClass extends Class {
|
||||
SystemWebUIWebControlsClass() {
|
||||
@@ -37,10 +33,6 @@ class SystemWebUIWebControlsTextBoxClass extends SystemWebUIWebControlsClass {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `System.Web.UI.WebControls.TextBox` class. */
|
||||
deprecated
|
||||
SystemWebUIWebControlsTextBoxClass getSystemWebUIWebControlsTextBoxClass() { any() }
|
||||
|
||||
/** The `System.Web.UI.WebControls.Label` class. */
|
||||
class SystemWebUIWebControlsLabelClass extends SystemWebUIWebControlsClass {
|
||||
SystemWebUIWebControlsLabelClass() {
|
||||
|
||||
@@ -114,7 +114,3 @@ class AssertFailedExceptionClass extends ExceptionClass {
|
||||
this.hasName("AssertFailedException")
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED. Gets the `Microsoft.VisualStudio.TestTools.UnitTesting.Assert` class. */
|
||||
deprecated
|
||||
VSTestAssertClass getVSTestAssertClass() { any() }
|
||||
|
||||
Reference in New Issue
Block a user