Implemented interface member:
method
DeepCopy
ILLink.Shared.DataFlow.IDeepCopyValue<TSingleValue>.DeepCopy()
31 references to DeepCopy
ILLink.RoslynAnalyzer (31)
DataFlow\FeatureChecksValue.cs (12)
40
ValueSet<string>.Union(EnabledFeatures.
DeepCopy
(), other.EnabledFeatures.
DeepCopy
()),
41
ValueSet<string>.Union(DisabledFeatures.
DeepCopy
(), other.DisabledFeatures.
DeepCopy
()));
47
ValueSet<string>.Intersection(EnabledFeatures.
DeepCopy
(), other.EnabledFeatures.
DeepCopy
()),
48
ValueSet<string>.Intersection(DisabledFeatures.
DeepCopy
(), other.DisabledFeatures.
DeepCopy
()));
53
return new FeatureChecksValue(DisabledFeatures.
DeepCopy
(), EnabledFeatures.
DeepCopy
());
58
return new FeatureChecksValue(EnabledFeatures.
DeepCopy
(), DisabledFeatures.
DeepCopy
());
DataFlow\FeatureContextLattice.cs (1)
43
return new FeatureContext(EnabledFeatures.
DeepCopy
());
DataFlow\InterproceduralState.cs (1)
49
=> new(Methods.
DeepCopy
(),
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (11)
249
return right.
DeepCopy
();
251
return left.
DeepCopy
();
257
return right.
DeepCopy
();
260
return left.
DeepCopy
();
262
var values = new EnumerableValues(left.
DeepCopy
().GetKnownValues());
263
values.UnionWith(right.
DeepCopy
().GetKnownValues());
277
return right.
DeepCopy
();
280
return left.
DeepCopy
();
283
return right.Contains((TValue)left._values) ? left.
DeepCopy
() : Empty;
286
return left.Contains((TValue)right._values) ? right.
DeepCopy
() : Empty;
288
var values = new EnumerableValues(left.
DeepCopy
().GetKnownValues());
TrimAnalysis\ArrayValue.cs (1)
84
newArray.IndexValues.Add(kvp.Key, kvp.Value.
DeepCopy
());
TrimAnalysis\FeatureCheckReturnValuePattern.cs (1)
28
FeatureCheckAnnotations = featureCheckAnnotations.
DeepCopy
();
TrimAnalysis\TrimAnalysisAssignmentPattern.cs (2)
32
Source = source.
DeepCopy
();
33
Target = target.
DeepCopy
();
TrimAnalysis\TrimAnalysisMethodCallPattern.cs (2)
34
Instance = instance.
DeepCopy
();
44
builder.Add(argument.
DeepCopy
());