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