28 references to LocalSlotConstraints
Microsoft.CodeAnalysis (28)
CodeGen\LocalConstantDefinition.cs (2)
55public LocalSlotConstraints Constraints => LocalSlotConstraints.None;
CodeGen\LocalDefinition.cs (5)
33private readonly LocalSlotConstraints _constraints; 69LocalSlotConstraints constraints, 122public LocalSlotConstraints Constraints => _constraints; 125=> (_constraints & LocalSlotConstraints.Pinned) != 0; 128=> (_constraints & LocalSlotConstraints.ByRef) != 0;
CodeGen\LocalSlotManager.cs (5)
40private readonly LocalSlotConstraints _constraints; 42internal LocalSignature(Cci.ITypeReference valType, LocalSlotConstraints constraints) 127LocalSlotConstraints constraints, 167LocalSlotConstraints constraints, 195LocalSlotConstraints constraints,
CodeGen\SignatureOnlyLocalDefinition.cs (1)
65public LocalSlotConstraints Constraints
CodeGen\VariableSlotAllocator.cs (1)
25LocalSlotConstraints constraints,
Emit\EditAndContinue\EncLocalInfo.cs (3)
17public readonly LocalSlotConstraints Constraints; 27Constraints = LocalSlotConstraints.None; 32public EncLocalInfo(LocalSlotDebugInfo slotInfo, Cci.ITypeReference type, LocalSlotConstraints constraints, byte[]? signature)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
150LocalSlotConstraints constraints,
MetadataReader\MetadataDecoder.cs (9)
83internal readonly LocalSlotConstraints Constraints; 85internal LocalInfo(TypeSymbol type, ImmutableArray<ModifierInfo<TypeSymbol>> customModifiers, LocalSlotConstraints constraints, byte[] signatureOpt) 100public bool IsByRef => (Constraints & LocalSlotConstraints.ByRef) != 0; 102public bool IsPinned => (Constraints & LocalSlotConstraints.Pinned) != 0; 951var constraints = LocalSlotConstraints.None; 956constraints |= LocalSlotConstraints.Pinned; 962constraints |= LocalSlotConstraints.ByRef; 967if (typeCode == SignatureTypeCode.TypedReference && constraints != LocalSlotConstraints.None)
PEWriter\Members.cs (1)
324LocalSlotConstraints Constraints { get; }