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