26 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)
2788if (lhs.Kind == BoundKind.Local && ((BoundLocal)lhs).LocalSymbol.SynthesizedKind.IsLongLived())
CodeGen\EmitStatement.cs (2)
724Debug.Assert(local.RefKind == RefKind.None || local.SynthesizedKind.IsLongLived(), 1837if (!localKind.IsLongLived() || localKind == SynthesizedLocalKind.InstrumentationPayload)
CodeGen\Optimizer.cs (1)
1919(!_debugFriendly || !local.SynthesizedKind.IsLongLived());
Compiler\MethodCompiler.cs (1)
1718Debug.Assert(index >= 0 && field.SlotDebugInfo.SynthesizedKind.IsLongLived());
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
222if (slot.SynthesizedKind.IsLongLived())
Lowering\SpillSequenceSpiller.cs (2)
213if (!node.LocalSymbol.SynthesizedKind.IsLongLived()) 1399if (local.SynthesizedKind.IsLongLived())
Lowering\StateMachineRewriter\StateMachineFieldSymbol.cs (1)
50Debug.Assert(slotDebugInfo.SynthesizedKind.IsLongLived() == (slotIndex >= 0));
Lowering\SyntheticBoundNodeFactory.cs (1)
1564syntaxOpt: syntaxOpt ?? (kind.IsLongLived() ? syntax : null),
Symbols\Synthesized\GeneratedNames.cs (2)
209Debug.Assert(kind.IsLongLived()); 262Debug.Assert(kind.IsLongLived());
Symbols\Synthesized\SynthesizedLocal.cs (1)
50Debug.Assert(!kind.IsLongLived() || syntaxOpt != null);
Microsoft.CodeAnalysis.VisualBasic (8)
CodeGen\EmitStatement.vb (1)
1334If Not localKind.IsLongLived() Then
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1311(Not _debugFriendly OrElse Not local.SynthesizedKind.IsLongLived())
Compilation\MethodCompiler.vb (1)
1722Debug.Assert(index >= 0 AndAlso field.SlotDebugInfo.SynthesizedKind.IsLongLived())
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (1)
227If slot.SynthesizedKind.IsLongLived() Then
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
359Debug.Assert(kind.IsLongLived())
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
263Debug.Assert(local.SynthesizedKind.IsLongLived())
Symbols\SynthesizedSymbols\GeneratedNames.vb (1)
215Debug.Assert(kind.IsLongLived())
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
27Debug.Assert(Not kind.IsLongLived OrElse syntaxOpt IsNot Nothing)