1 write to CurrentProperty
Microsoft.CodeAnalysis.CSharp (1)
Compilation\ForEachStatementInfo.cs (1)
77this.CurrentProperty = currentProperty;
28 references to CurrentProperty
Microsoft.CodeAnalysis.CSharp (5)
Compilation\ForEachStatementInfo.cs (5)
41/// The intermediate type to which the output of the <see cref="CurrentProperty"/> is converted 58/// The conversion from the type of the <see cref="CurrentProperty"/> to the <see cref="ElementType"/>. 94&& object.Equals(this.CurrentProperty, other.CurrentProperty) 106Hash.Combine(CurrentProperty,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSemanticFacts.cs (1)
175info.CurrentProperty,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenAwaitForeachTests.cs (14)
942Assert.Equal("System.Int32 C.Enumerator.Current { get; }", info.CurrentProperty.ToTestDisplayString()); 1666Assert.Equal("System.Int32 C.Enumerator.Current { get; }", info.CurrentProperty.ToTestDisplayString()); 2871info.CurrentProperty.ToTestDisplayString()); 3618info.CurrentProperty.ToTestDisplayString()); 3692info.CurrentProperty.ToTestDisplayString()); 3802info.CurrentProperty.ToTestDisplayString()); 3901info.CurrentProperty.ToTestDisplayString()); 4128info.CurrentProperty.ToTestDisplayString()); 4209info.CurrentProperty.ToTestDisplayString()); 5510Assert.Equal("System.Int32 C.Enumerator.Current { get; private set; }", info.CurrentProperty.ToTestDisplayString()); 8174info.CurrentProperty.ToTestDisplayString()); 8250info.CurrentProperty.ToTestDisplayString()); 8328info.CurrentProperty.ToTestDisplayString()); 8460info.CurrentProperty.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\ForEachTests.cs (6)
2133Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerator__Current).GetPublicSymbol(), loopInfo.CurrentProperty); 2139Assert.Equal(SpecialType.System_Object, loopInfo.CurrentProperty.Type.SpecialType); 2185Assert.Equal<ISymbol>(comp.GetSpecialTypeMember(SpecialMember.System_Collections_IEnumerator__Current).GetPublicSymbol(), loopInfo0.CurrentProperty); 2194Assert.Equal(loopInfo0.CurrentProperty, loopInfo1.CurrentProperty); 3276Assert.Equal(enumeratorInfo.CurrentPropertyGetter.GetPublicSymbol(), statementInfo.CurrentProperty.GetMethod);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelAPITests.cs (1)
2002Assert.Equal("System.Object System.Collections.IEnumerator.Current.get", info.CurrentProperty.GetMethod.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpSemanticFacts.cs (1)
175info.CurrentProperty,