40 references to SynthesizedLocalKind
Microsoft.CodeAnalysis (38)
CodeGen\LocalConstantDefinition.cs (1)
68=> new LocalSlotDebugInfo(SynthesizedLocalKind.UserDefined, LocalDebugId.None);
CodeGen\LocalDefinition.cs (1)
66SynthesizedLocalKind synthesizedKind,
CodeGen\LocalSlotDebugInfo.cs (2)
12public readonly SynthesizedLocalKind SynthesizedKind; 15public LocalSlotDebugInfo(SynthesizedLocalKind synthesizedKind, LocalDebugId id)
CodeGen\LocalSlotManager.cs (3)
124SynthesizedLocalKind kind, 177kind: SynthesizedLocalKind.EmitterTemp, 192SynthesizedLocalKind kind,
CodeGen\SignatureOnlyLocalDefinition.cs (1)
84=> new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
CodeGen\SynthesizedLocalOrdinalsDispenser.cs (3)
19private static long MakeKey(SynthesizedLocalKind localKind, int syntaxOffset) 33public int AssignLocalOrdinal(SynthesizedLocalKind localKind, int syntaxOffset) 59Debug.Assert(ordinal == 0 || localKind != SynthesizedLocalKind.UserDefined);
CodeGen\VariableSlotAllocator.cs (2)
22SynthesizedLocalKind kind, 37SynthesizedLocalKind synthesizedKind,
Emit\EditAndContinue\EncHoistedLocalInfo.cs (1)
20SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
Emit\EditAndContinue\EncHoistedLocalMetadata.cs (2)
13public readonly SynthesizedLocalKind SynthesizedKind; 15public EncHoistedLocalMetadata(string name, Cci.ITypeReference type, SynthesizedLocalKind synthesizedKind)
Emit\EditAndContinue\EncLocalInfo.cs (1)
25SlotInfo = new LocalSlotDebugInfo(SynthesizedLocalKind.EmitterTemp, LocalDebugId.None);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
147SynthesizedLocalKind kind, 197SynthesizedLocalKind synthesizedKind,
Emit\EditAndContinueMethodDebugInformation.cs (5)
122mapBuilder.Add(new LocalSlotDebugInfo(SynthesizedLocalKind.LoweringTemp, default)); 126var kind = (SynthesizedLocalKind)((b & 0x3f) - 1); 164SynthesizedLocalKind kind = localSlot.SynthesizedKind; 165Debug.Assert(kind <= SynthesizedLocalKind.MaxValidValueForLocalVariableSerializedToDebugInformation);
Symbols\ILocalSymbolInternal.cs (1)
11SynthesizedLocalKind SynthesizedKind { get; }
SynthesizedLocalKind.cs (13)
246public static bool IsLongLived(this SynthesizedLocalKind kind) 248return kind >= SynthesizedLocalKind.UserDefined; 251public static bool MustSurviveStateMachineSuspension(this SynthesizedLocalKind kind) 265return IsLongLived(kind) && kind != SynthesizedLocalKind.ConditionalBranchDiscriminator; 268public static bool IsSlotReusable(this SynthesizedLocalKind kind, OptimizationLevel optimizations) 273public static bool IsSlotReusable(this SynthesizedLocalKind kind, bool isDebug) 285case SynthesizedLocalKind.UserDefined: 286case SynthesizedLocalKind.LambdaDisplayClass: 287case SynthesizedLocalKind.With: 295public static LocalVariableAttributes PdbAttributes(this SynthesizedLocalKind kind) 300return (kind != SynthesizedLocalKind.LambdaDisplayClass && kind != SynthesizedLocalKind.UserDefined && kind != SynthesizedLocalKind.With)
Microsoft.CodeAnalysis.CSharp (2)
CodeGen\EmitStatement.cs (1)
1852var localKind = local.SynthesizedKind;
Lowering\SpillSequenceSpiller.cs (1)
1485/// <see cref="SynthesizedLocalKind.Spill"/>.