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