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