Base:
property
MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp.Symbols.PropertySymbol.MustCallMethodsDirectly
26 references to MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\InitOnlyMemberTests.cs (7)
3273
Assert.False(property0.
MustCallMethodsDirectly
);
3362
Assert.True(property0.
MustCallMethodsDirectly
);
3479
Assert.True(property0.
MustCallMethodsDirectly
);
3572
Assert.False(property0.
MustCallMethodsDirectly
);
3810
Assert.True(property0.
MustCallMethodsDirectly
);
3891
Assert.True(property0.
MustCallMethodsDirectly
);
3979
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
);
924
Assert.False(readOnly.
MustCallMethodsDirectly
);
929
Assert.False(writeOnly.
MustCallMethodsDirectly
);
1003
Assert.True(readWrite.
MustCallMethodsDirectly
);
1008
Assert.True(readOnly.
MustCallMethodsDirectly
);
Symbols\Source\PropertyTests.cs (9)
720
Assert.False(goodStatic.
MustCallMethodsDirectly
);
721
Assert.True(badStatic.
MustCallMethodsDirectly
);
722
Assert.True(mismatchedStatic.
MustCallMethodsDirectly
);
737
Assert.False(goodInstance.
MustCallMethodsDirectly
);
738
Assert.True(badInstance.
MustCallMethodsDirectly
);
739
Assert.True(mismatchedInstance.
MustCallMethodsDirectly
);
752
Assert.True(staticAndInstance.
MustCallMethodsDirectly
);
758
Assert.True(getUsedAsSet.
MustCallMethodsDirectly
);
2561
Assert.False(property.
MustCallMethodsDirectly
);