Base:
property
MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp.Symbols.PropertySymbol.MustCallMethodsDirectly
26 references to MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\InitOnlyMemberTests.cs (7)
3278Assert.False(property0.MustCallMethodsDirectly); 3367Assert.True(property0.MustCallMethodsDirectly); 3487Assert.True(property0.MustCallMethodsDirectly); 3583Assert.False(property0.MustCallMethodsDirectly); 3821Assert.True(property0.MustCallMethodsDirectly); 3902Assert.True(property0.MustCallMethodsDirectly); 3990Assert.True(property0.MustCallMethodsDirectly);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (19)
Symbols\Metadata\PE\LoadingIndexers.cs (10)
711Assert.True(parameterCountIndexer.MustCallMethodsDirectly); 716Assert.True(parameterTypesIndexer.MustCallMethodsDirectly); 721Assert.True(returnTypeIndexer.MustCallMethodsDirectly); 726Assert.False(parameterModoptIndexer.MustCallMethodsDirectly); //NB: we allow this amount of variation (modopt is on, rather than in parameter type) 731Assert.False(returnTypeModoptIndexer.MustCallMethodsDirectly); //NB: we allow this amount of variation (modopt is on, rather than in return type) 919Assert.False(readWrite.MustCallMethodsDirectly); 926Assert.False(readOnly.MustCallMethodsDirectly); 933Assert.False(writeOnly.MustCallMethodsDirectly); 1009Assert.True(readWrite.MustCallMethodsDirectly); 1016Assert.True(readOnly.MustCallMethodsDirectly);
Symbols\Source\PropertyTests.cs (9)
721Assert.False(goodStatic.MustCallMethodsDirectly); 722Assert.True(badStatic.MustCallMethodsDirectly); 723Assert.True(mismatchedStatic.MustCallMethodsDirectly); 738Assert.False(goodInstance.MustCallMethodsDirectly); 739Assert.True(badInstance.MustCallMethodsDirectly); 740Assert.True(mismatchedInstance.MustCallMethodsDirectly); 753Assert.True(staticAndInstance.MustCallMethodsDirectly); 759Assert.True(getUsedAsSet.MustCallMethodsDirectly); 2562Assert.False(property.MustCallMethodsDirectly);