1 write to Indexer
System.Linq.Expressions (1)
System\Linq\Expressions\IndexExpression.cs (1)
35Indexer = indexer;
33 references to Indexer
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
224If node.Indexer IsNot Nothing Then 225_s.AppendLine(indent + "indexer: " + node.Indexer.ToString())
System.Linq.Expressions (31)
System\Dynamic\Utils\ExpressionUtils.cs (2)
200if (index.Indexer != null && !index.Indexer.CanRead)
System\Linq\Expressions\BinaryExpression.cs (1)
252IndexExpression tempIndex = Expression.MakeIndex(tempObj, index.Indexer, tempArgs.ToReadOnly());
System\Linq\Expressions\Compiler\LambdaCompiler.Address.cs (3)
188if (!TypeUtils.AreEquivalent(type, node.Type) || node.Indexer != null) 311if (node.Indexer == null || !node.Indexer.CanWrite)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (4)
295if (node.Indexer != null) 298MethodInfo method = node.Indexer.GetGetMethod(nonPublic: true)!; 323if (node.Indexer != null) 326MethodInfo method = node.Indexer.GetSetMethod(nonPublic: true)!;
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
201index.Indexer, 424node.Indexer,
System\Linq\Expressions\DebugViewWriter.cs (2)
1114if (node.Indexer != null) 1116OutMember(node, node.Object, node.Indexer);
System\Linq\Expressions\Expression.cs (1)
255PropertyInfo? indexer = ((IndexExpression)expression).Indexer;
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
175public PropertyInfo? Indexer => _node.Indexer;
System\Linq\Expressions\ExpressionStringBuilder.cs (4)
757Debug.Assert(node.Indexer != null); 758Out(node.Indexer.DeclaringType!.Name); 760if (node.Indexer != null) 763Out(node.Indexer.Name);
System\Linq\Expressions\IndexExpression.cs (4)
53if (Indexer != null) 55return Indexer.PropertyType; 97return MakeIndex(@object, Indexer, arguments); 125return Expression.MakeIndex(instance, Indexer, arguments ?? _arguments);
System\Linq\Expressions\Interpreter\LightCompiler.cs (6)
591if (index.Indexer != null) 593_instructions.EmitCall(index.Indexer.GetGetMethod(nonPublic: true)!); 630if (index.Indexer != null) 632_instructions.EmitCall(index.Indexer.GetSetMethod(nonPublic: true)!); 2265if (/*!TypeUtils.AreEquivalent(type, node.Type) || */indexNode.Indexer != null) 2292return new IndexMethodByRefUpdater(objTmp, indexLocals, indexNode.Indexer.GetSetMethod()!, index);
System\Linq\Expressions\UnaryExpression.cs (1)
256index = MakeIndex(temps[0], index.Indexer, new TrueReadOnlyCollection<Expression>(args));