File tree Expand file tree Collapse file tree
csharp/ql/lib/semmle/code/csharp/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ module Ssa {
368368 */
369369 private Definition getAPhiInputOrPriorDefinition ( ) {
370370 result = this .( SsaPhiDefinition ) .getAnInput ( ) or
371- result = this .( UncertainDefinition ) .getPriorDefinition ( )
371+ result = this .( SsaUncertainWrite ) .getPriorDefinition ( )
372372 }
373373
374374 /**
@@ -691,12 +691,14 @@ module Ssa {
691691 }
692692
693693 /**
694+ * DEPRECATED: Use `SsaUncertainWrite` instead.
695+ *
694696 * An SSA definition that represents an uncertain update of the underlying
695697 * assignable. Either an explicit update that is uncertain (`ref` assignments
696698 * need not be certain), an implicit non-local update via a call, or an
697699 * uncertain update of the qualifier.
698700 */
699- class UncertainDefinition extends Definition , SsaImpl:: UncertainWriteDefinition {
701+ deprecated class UncertainDefinition extends Definition , SsaImpl:: UncertainWriteDefinition {
700702 /**
701703 * Gets the immediately preceding definition. Since this update is uncertain,
702704 * the value from the preceding definition might still be valid.
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ private module Cached {
897897 }
898898
899899 cached
900- Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
900+ deprecated Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
901901 Impl:: uncertainWriteDefinitionInput ( def , result )
902902 }
903903
You can’t perform that action at this time.
0 commit comments