@@ -546,49 +546,6 @@ class SystemTextStringBuilderFlow extends LibraryTypeDataFlow, SystemTextStringB
546546 }
547547}
548548
549- /** Data flow for `System.Nullable<>`. */
550- class SystemNullableFlow extends LibraryTypeDataFlow , SystemNullableStruct {
551- override predicate callableFlow (
552- CallableFlowSource source , AccessPath sourceAp , CallableFlowSink sink , AccessPath sinkAp ,
553- SourceDeclarationCallable c , boolean preservesValue
554- ) {
555- preservesValue = true and
556- c .( Constructor ) .getDeclaringType ( ) = this and
557- source = getFlowSourceArg ( c , 0 , sourceAp ) and
558- sourceAp = AccessPath:: empty ( ) and
559- sink = TCallableFlowSinkReturn ( ) and
560- sinkAp = AccessPath:: property ( this .getValueProperty ( ) )
561- or
562- preservesValue = true and
563- c = this .getAGetValueOrDefaultMethod ( ) and
564- source = TCallableFlowSourceQualifier ( ) and
565- sourceAp = AccessPath:: property ( this .getValueProperty ( ) ) and
566- sink = TCallableFlowSinkReturn ( ) and
567- sinkAp = AccessPath:: empty ( )
568- or
569- preservesValue = false and
570- c = this .getHasValueProperty ( ) .getGetter ( ) and
571- source = TCallableFlowSourceQualifier ( ) and
572- sourceAp = AccessPath:: property ( this .getValueProperty ( ) ) and
573- sink = TCallableFlowSinkReturn ( ) and
574- sinkAp = AccessPath:: empty ( )
575- or
576- preservesValue = true and
577- c = this .getAGetValueOrDefaultMethod ( ) and
578- source = getFlowSourceArg ( c , 0 , _) and
579- sourceAp = AccessPath:: empty ( ) and
580- sink = TCallableFlowSinkReturn ( ) and
581- sinkAp = AccessPath:: empty ( )
582- or
583- preservesValue = false and
584- c = this .getValueProperty ( ) .getGetter ( ) and
585- source = TCallableFlowSourceQualifier ( ) and
586- sourceAp = AccessPath:: empty ( ) and
587- sink = TCallableFlowSinkReturn ( ) and
588- sinkAp = AccessPath:: empty ( )
589- }
590- }
591-
592549/** Data flow for `System.Collections.IEnumerable` (and sub types). */
593550class IEnumerableFlow extends LibraryTypeDataFlow , RefType {
594551 IEnumerableFlow ( ) { this .getABaseType * ( ) instanceof SystemCollectionsIEnumerableInterface }
0 commit comments