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