1 write to CurrentProperty
Microsoft.CodeAnalysis (1)
Operations\Loops\ForEachLoopOperationInfo.cs (1)
65
CurrentProperty
= currentProperty;
22 references to CurrentProperty
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (4)
4635
if (info?.
CurrentProperty
!= null)
4637
var instance = info.
CurrentProperty
.IsStatic ? null : enumeratorRef;
4639
return new PropertyReferenceOperation(info.
CurrentProperty
,
4645
info.
CurrentProperty
.Type, isImplicit: true);
Operations\Loops\ForEachLoopOperationInfo.cs (1)
29
/// The conversion from the type of the <see cref="
CurrentProperty
"/> to the <see cref="ElementType"/>.
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
RefStructInterfacesTests.cs (17)
9033
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
9237
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
9601
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
9825
AssertEx.Equal("System.Int32 System.Collections.Generic.IEnumerator<System.Int32>.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
10034
AssertEx.Equal("System.Int32 System.Collections.Generic.IEnumerator<System.Int32>.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
10261
AssertEx.Equal("System.Int32 IMyEnumerator<System.Int32>.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
10644
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
10841
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
11082
AssertEx.Equal("System.Int32 S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
11309
AssertEx.Equal("System.Int32 ICustomEnumerator.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
11521
AssertEx.Equal("System.Int32 ICustomEnumerator.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
11621
AssertEx.Equal("System.Int32 ICustomEnumerator.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
11716
AssertEx.Equal("System.Int32 ICustomEnumerator.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
19214
AssertEx.Equal("System.Object S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
19385
AssertEx.Equal("System.Object S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
19710
AssertEx.Equal("System.Object S2.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());
19878
AssertEx.Equal("System.Object System.Collections.IEnumerator.Current { get; }", op.Info.
CurrentProperty
.ToTestDisplayString());