10 overrides of MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp (10)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
86
internal override bool
MustCallMethodsDirectly
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
184
internal override bool
MustCallMethodsDirectly
Symbols\ErrorPropertySymbol.cs (1)
90
internal override bool
MustCallMethodsDirectly
{ get { return false; } }
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
823
internal override bool
MustCallMethodsDirectly
Symbols\NativeIntegerTypeSymbol.cs (1)
494
internal override bool
MustCallMethodsDirectly
=> _underlyingProperty.MustCallMethodsDirectly;
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
226
internal override bool
MustCallMethodsDirectly
Symbols\SignatureOnlyPropertySymbol.cs (1)
98
internal override bool
MustCallMethodsDirectly
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourcePropertySymbolBase.cs (1)
842
internal override bool
MustCallMethodsDirectly
Symbols\SubstitutedPropertySymbol.cs (1)
129
internal override bool
MustCallMethodsDirectly
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
75
internal override bool
MustCallMethodsDirectly
=> false;
23 references to MustCallMethodsDirectly
Microsoft.CodeAnalysis.CSharp (7)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
318
propertyAccess.
MustCallMethodsDirectly
);
Symbols\NativeIntegerTypeSymbol.cs (1)
494
internal override bool MustCallMethodsDirectly => _underlyingProperty.
MustCallMethodsDirectly
;
Symbols\PropertySymbolExtensions.cs (1)
60
if (property.
MustCallMethodsDirectly
)
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
230
return _underlyingProperty.
MustCallMethodsDirectly
;
Symbols\SubstitutedPropertySymbol.cs (1)
131
get { return OriginalDefinition.
MustCallMethodsDirectly
; }
Symbols\Symbol.cs (1)
660
if (property.IsIndexer || property.
MustCallMethodsDirectly
)
Symbols\SymbolExtensions.cs (1)
322
return ((PropertySymbol)symbol).
MustCallMethodsDirectly
;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\IndexerTests.cs (2)
157
Assert.True(indexer.
MustCallMethodsDirectly
); //since has parameters, but isn't an indexer
259
Assert.False(indexer.
MustCallMethodsDirectly
);
Emit\EmitMetadataTests.cs (4)
1110
Assert.False(propertyP.
MustCallMethodsDirectly
);
1111
Assert.False(propertyQ.
MustCallMethodsDirectly
);
1129
Assert.False(propertyP.
MustCallMethodsDirectly
);
1130
Assert.False(propertyQ.
MustCallMethodsDirectly
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\IndexedPropertyTests.cs (5)
989
Assert.False(property.
MustCallMethodsDirectly
);
997
Assert.True(property.
MustCallMethodsDirectly
);
1005
Assert.False(property.
MustCallMethodsDirectly
);
1091
Assert.False(property.
MustCallMethodsDirectly
);
1097
Assert.False(property.
MustCallMethodsDirectly
);
Symbols\InterfaceImplementationTests.cs (1)
1769
Assert.True(interfaceProperty.
MustCallMethodsDirectly
);
Symbols\Metadata\MetadataMemberTests.cs (2)
498
Assert.False(propWithoutGetter.
MustCallMethodsDirectly
);
504
Assert.False(propWithoutSetter.
MustCallMethodsDirectly
);
Symbols\Metadata\PE\LoadingIndexers.cs (2)
606
Assert.True(indexer.
MustCallMethodsDirectly
);
1037
Assert.NotEqual(expectIndexer, property.
MustCallMethodsDirectly
);