5 references to TryGetValueByIndex
ILLink.RoslynAnalyzer (5)
RequiresDynamicCodeAnalyzer.cs (1)
107 if (!array.TryGetValueByIndex (i, out MultiValue value)) {
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (3)
888 if ((argumentValue as ArrayValue)?.TryGetValueByIndex (0, out var underlyingMultiValue) == true) { 1306 if (!array.TryGetValueByIndex (i, out MultiValue value) || value.AsSingleValue () is UnknownValue) { 1317 if (array.TryGetValueByIndex (i, out MultiValue value)) {
TrimAnalysis\TrimAnalysisVisitor.cs (1)
251 if (value is ArrayValue arr && arr.TryGetValueByIndex (index, out var elementValue))