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