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