1 instantiation of NullValue
illink (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullValue.cs (1)
17
public static NullValue Instance { get; } = new
NullValue
();
26 references to NullValue
illink (26)
Linker.Dataflow\AttributeDataFlow.cs (2)
54
return
NullValue
.Instance;
63
return argument.Value is null ?
NullValue
.Instance : new KnownStringValue ((string) argument.Value);
Linker.Dataflow\MethodBodyScanner.cs (1)
341
currentStack.Push (new StackSlot (
NullValue
.Instance));
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (21)
57
} else if (uniqueValue ==
NullValue
.Instance) {
148
if (value !=
NullValue
.Instance)
222
if (interfaceName ==
NullValue
.Instance) {
226
AddReturnValue (
NullValue
.Instance);
265
} else if (value ==
NullValue
.Instance) {
493
} else if (stringParam is
NullValue
) {
502
} else if (value is
NullValue
) {
541
} else if (stringParam is
NullValue
) {
552
} else if (value is
NullValue
) {
622
} else if (stringParam is
NullValue
) {
630
} else if (value is
NullValue
) {
676
} else if (value ==
NullValue
.Instance) {
710
BindingFlags bindingFlags = argumentValues[0].AsSingleValue () is
NullValue
? BindingFlags.Static : BindingFlags.Default;
716
} else if (stringParam is
NullValue
) {
831
} else if (typeNameValue ==
NullValue
.Instance) {
909
} else if (value ==
NullValue
.Instance) {
967
} else if (value ==
NullValue
.Instance) {
1043
} else if (methodValue ==
NullValue
.Instance) {
1088
else if (argumentValues[argsParam].AsSingleValue () is
NullValue
)
1235
yield return
NullValue
.Instance;
1349
if (typeNameValue is
NullValue
) {
src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullValue.cs (1)
17
public static
NullValue
Instance { get; } = new NullValue ();
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
55
} else if (uniqueValue ==
NullValue
.Instance) {