13 references to Single
ILAssembler (2)
GrammarVisitor.cs (2)
2517SerializationTypeCode.Single => valueBytes.Length >= 4 ? BitConverter.ToSingle(valueBytes) : 0f, 4863CILParser.FLOAT32 => SerializationTypeCode.Single,
ILCompiler.MetadataTransform (4)
ILCompiler\Metadata\Transform.CustomAttribute.cs (4)
91case Cts.TypeFlags.Single: return Ecma.SerializationTypeCode.Single; 120case Ecma.SerializationTypeCode.Single: return module.Context.GetWellKnownType(Cts.WellKnownType.Single); 170Ecma.SerializationTypeCode.Single => new ConstantSingleValue { Value = valueReader.ReadSingle() }, 231Ecma.SerializationTypeCode.Single => new ConstantSingleArray { Value = GetCustomAttributeConstantArrayElements<float>(ref valueReader, count) },
Microsoft.CodeAnalysis (3)
MetadataReader\MetadataDecoder.cs (2)
1391case SerializationTypeCode.Single: 1517case SerializationTypeCode.Single:
MetadataReader\MetadataTypeCodeExtensions.cs (1)
173return SerializationTypeCode.Single;
System.Reflection.Emit (1)
System\Reflection\Emit\CustomAttributeWrapper.cs (1)
170SerializationTypeCode.Single => typeof(float),
System.Reflection.Metadata (3)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (2)
258case SerializationTypeCode.Single: 344case SerializationTypeCode.Single:
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (1)
843public void Single() => WriteTypeCode(SerializationTypeCode.Single);