17 references to RawValue
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
693signatureBuilder.WriteByte(new SignatureHeader(SignatureKind.Method, sigCallingConvention, attributes).RawValue);
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
693signatureBuilder.WriteByte(new SignatureHeader(SignatureKind.Method, sigCallingConvention, attributes).RawValue);
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (2)
145switch (signatureHeader.RawValue & SignatureHeader.CallingConventionOrKindMask) 203((byte)method.CallingConvention == targetMemberSignatureHeader.RawValue) &&
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1368internal override Cci.CallingConvention CallingConvention => (Cci.CallingConvention)Signature.Header.RawValue;
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
772return (Microsoft.Cci.CallingConvention)(metadataDecoder.GetSignatureHeaderForProperty(_handle).RawValue);
Microsoft.CodeAnalysis.VisualBasic (4)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (2)
121Select Case signatureHeader.RawValue And SignatureHeader.CallingConventionOrKindMask 171(CType(method.CallingConvention, Byte) = targetMemberSignatureHeader.RawValue) AndAlso
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
1165Return CType(Signature.Header.RawValue, Cci.CallingConvention)
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
327Return CType(_signatureHeader.RawValue, CallingConvention)
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\Signature\RuntimeSignatureDecoder.cs (2)
314throw new BadImageFormatException($"Expected signature header {expectedKind}, got {header.Kind} (raw 0x{header.RawValue:X2})"); 323throw new BadImageFormatException($"Expected Method or Property signature header, got {kind} (raw 0x{header.RawValue:X2})");
System.Reflection.Metadata (5)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (3)
88Builder.WriteByte(new SignatureHeader(SignatureKind.Method, convention, attributes).RawValue); 105Builder.WriteByte(new SignatureHeader(SignatureKind.Property, SignatureCallingConvention.Default, (isInstanceProperty ? SignatureAttributes.Instance : 0)).RawValue); 1109Builder.WriteByte(new SignatureHeader(SignatureKind.Method, convention, (SignatureAttributes)attributes).RawValue);
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (2)
335throw new BadImageFormatException(SR.Format(SR.UnexpectedSignatureHeader, expectedKind, header.Kind, header.RawValue)); 344throw new BadImageFormatException(SR.Format(SR.UnexpectedSignatureHeader2, SignatureKind.Property, SignatureKind.Method, header.Kind, header.RawValue));