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 @@ -358,7 +358,7 @@ module Ssa {
358358 */
359359 private Definition getAPhiInputOrPriorDefinition ( ) {
360360 result = this .( SsaPhiDefinition ) .getAnInput ( ) or
361- result = this .( UncertainDefinition ) .getPriorDefinition ( )
361+ result = this .( SsaUncertainWrite ) .getPriorDefinition ( )
362362 }
363363
364364 /**
@@ -686,12 +686,14 @@ module Ssa {
686686 }
687687
688688 /**
689+ * DEPRECATED: Use `SsaUncertainWrite` instead.
690+ *
689691 * An SSA definition that represents an uncertain update of the underlying
690692 * assignable. Either an explicit update that is uncertain (`ref` assignments
691693 * need not be certain), an implicit non-local update via a call, or an
692694 * uncertain update of the qualifier.
693695 */
694- class UncertainDefinition extends Definition , SsaImpl:: UncertainWriteDefinition {
696+ deprecated class UncertainDefinition extends Definition , SsaImpl:: UncertainWriteDefinition {
695697 /**
696698 * Gets the immediately preceding definition. Since this update is uncertain,
697699 * the value from the preceding definition might still be valid.
Original file line number Diff line number Diff line change @@ -912,7 +912,7 @@ private module Cached {
912912 }
913913
914914 cached
915- Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
915+ deprecated Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
916916 Impl:: uncertainWriteDefinitionInput ( def , result )
917917 }
918918
You can’t perform that action at this time.
0 commit comments