12 references to Method
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
4067
DefineInvalidSignatureAttributeIL(metadataBuilder, ilBuilder, headerToUseForM: new SignatureHeader(SignatureKind.
Method
, SignatureCallingConvention.Default, ((SignatureAttributes)0x80)));
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
313
if (header.Kind == SignatureKind.
Method
&& // attr ctor must be a method
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
59
if (header.Kind != SignatureKind.
Method
|| header.IsGeneric)
System\Reflection\Metadata\Ecma335\Encoding\BlobEncoders.cs (2)
88
Builder.WriteByte(new SignatureHeader(SignatureKind.
Method
, convention, attributes).RawValue);
1105
Builder.WriteByte(new SignatureHeader(SignatureKind.
Method
, convention, (SignatureAttributes)attributes).RawValue);
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (2)
342
if (kind != SignatureKind.
Method
&& kind != SignatureKind.Property)
344
throw new BadImageFormatException(SR.Format(SR.UnexpectedSignatureHeader2, SignatureKind.Property, SignatureKind.
Method
, header.Kind, header.RawValue));
System\Reflection\Metadata\Signatures\SignatureHeader.cs (2)
62
return SignatureKind.
Method
;
119
if (Kind == SignatureKind.
Method
)
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
110
SignatureKind.
Method
=> MemberReferenceKind.Method,
System\Reflection\Metadata\TypeSystem\StandaloneSignature.cs (2)
59
/// Determines the kind of signature, which can be <see cref="SignatureKind.
Method
"/> or <see cref="SignatureKind.LocalVariables"/>
69
SignatureKind.
Method
=> StandaloneSignatureKind.Method,