12 references to getProperty
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\ReadOnlyStructsTests.cs (12)
1196Assert.True(getProperty(s1, "P1").GetMethod.IsReadOnly); 1197Assert.False(getProperty(s1, "P1").SetMethod.IsReadOnly); 1199Assert.True(getProperty(s1, "P2").GetMethod.IsReadOnly); 1201Assert.True(getProperty(s1, "P3").GetMethod.IsReadOnly); 1203Assert.True(getProperty(s1, "P4").SetMethod.IsReadOnly); 1205Assert.False(getProperty(s1, "P5").GetMethod.IsReadOnly); 1206Assert.False(getProperty(s1, "P5").SetMethod.IsReadOnly); 1215Assert.True(getProperty(s2, "P1").GetMethod.IsReadOnly); 1217Assert.True(getProperty(s2, "P2").GetMethod.IsReadOnly); 1219Assert.True(getProperty(s2, "P3").SetMethod.IsReadOnly); 1221Assert.False(getProperty(s2, "P4").GetMethod.IsReadOnly); 1222Assert.False(getProperty(s2, "P4").SetMethod.IsReadOnly);