11 overrides of IsExpressionBodied
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
230
internal override bool
IsExpressionBodied
Symbols\Source\SourceConstructorSymbol.cs (1)
166
internal override bool
IsExpressionBodied
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
179
internal override bool
IsExpressionBodied
Symbols\Source\SourceDestructorSymbol.cs (1)
145
internal override bool
IsExpressionBodied
Symbols\Source\SourceEventAccessorSymbol.cs (1)
250
internal override bool
IsExpressionBodied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
519
internal override bool
IsExpressionBodied
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
131
internal sealed override bool
IsExpressionBodied
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
806
internal sealed override bool
IsExpressionBodied
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
53
internal override bool
IsExpressionBodied
=> false;
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
32
internal sealed override bool
IsExpressionBodied
=> false;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
201
internal override bool
IsExpressionBodied
=> false;
3 references to IsExpressionBodied
Microsoft.CodeAnalysis.CSharp (2)
Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs (1)
48
(method as SourceMemberMethodSymbol)?.
IsExpressionBodied
??
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
412
else if (!hasBody && !IsExtern && !IsAbstract && !IsPartial && !
IsExpressionBodied
)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
206
Assert.True(m.
IsExpressionBodied
);