11 overrides of IsExpressionBodied
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
230internal override bool IsExpressionBodied
Symbols\Source\SourceConstructorSymbol.cs (1)
166internal override bool IsExpressionBodied
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
179internal override bool IsExpressionBodied
Symbols\Source\SourceDestructorSymbol.cs (1)
145internal override bool IsExpressionBodied
Symbols\Source\SourceEventAccessorSymbol.cs (1)
250internal override bool IsExpressionBodied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
519internal override bool IsExpressionBodied
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
131internal sealed override bool IsExpressionBodied
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
806internal sealed override bool IsExpressionBodied
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
53internal override bool IsExpressionBodied => false;
Symbols\Synthesized\Records\SynthesizedRecordOrdinaryMethod.cs (1)
32internal sealed override bool IsExpressionBodied => false;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
201internal 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)
412else if (!hasBody && !IsExtern && !IsAbstract && !IsPartial && !IsExpressionBodied)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\ExpressionBodiedMethodTests.cs (1)
206Assert.True(m.IsExpressionBodied);