18 references to IsLongLived
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\EncHoistedLocalMetadata.cs (1)
19
Debug.Assert(synthesizedKind.
IsLongLived
());
Emit\EditAndContinueMethodDebugInformation.cs (1)
167
if (!kind.
IsLongLived
())
SynthesizedLocalKind.cs (3)
56
/// see <see cref="SynthesizedLocalKindExtensions.
IsLongLived
"/>.
265
return
IsLongLived
(kind) && kind != SynthesizedLocalKind.ConditionalBranchDiscriminator;
279
return !
IsLongLived
(kind);
Microsoft.CodeAnalysis.CSharp (13)
CodeGen\EmitExpression.cs (1)
3034
if (lhs.Kind == BoundKind.Local && ((BoundLocal)lhs).LocalSymbol.SynthesizedKind.
IsLongLived
())
CodeGen\EmitStatement.cs (2)
749
Debug.Assert(local.RefKind == RefKind.None || local.SynthesizedKind.
IsLongLived
(),
1867
if (!localKind.
IsLongLived
() || localKind == SynthesizedLocalKind.InstrumentationPayload)
CodeGen\Optimizer.cs (1)
1995
(!_debugFriendly || !local.SynthesizedKind.
IsLongLived
());
Compiler\MethodCompiler.cs (1)
1793
Debug.Assert(index >= 0 && field.SlotDebugInfo.SynthesizedKind.
IsLongLived
());
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
160
if (slot.SynthesizedKind.
IsLongLived
())
Lowering\SpillSequenceSpiller.cs (2)
212
if (!node.LocalSymbol.SynthesizedKind.
IsLongLived
())
1491
if (local.SynthesizedKind.
IsLongLived
())
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
52
Debug.Assert(slotDebugInfo.SynthesizedKind.
IsLongLived
() == (slotIndex >= 0));
Lowering\SyntheticBoundNodeFactory.cs (1)
1706
syntaxOpt: syntaxOpt ?? (kind.
IsLongLived
() ? syntax : null),
Symbols\Synthesized\GeneratedNames.cs (2)
213
Debug.Assert(kind.
IsLongLived
());
266
Debug.Assert(kind.
IsLongLived
());
Symbols\Synthesized\SynthesizedLocal.cs (1)
50
Debug.Assert(!kind.
IsLongLived
() || syntaxOpt != null);