2 interfaces inheriting from ISignature
Microsoft.CodeAnalysis (2)
PEWriter\Members.cs (2)
737internal interface IPropertyDefinition : ISignature, ITypeDefinitionMember 926internal interface IMethodReference : ISignature, ITypeMemberReference
41 references to ISignature
Microsoft.CodeAnalysis (41)
CodeGen\ILBuilderEmit.cs (1)
59internal void EmitToken(Cci.ISignature value, SyntaxNode? syntaxNode, DiagnosticBag diagnostics)
CodeGen\ITokenDeferral.cs (2)
13uint GetFakeSymbolTokenForIL(Cci.ISignature value, SyntaxNode? syntaxNode, DiagnosticBag diagnostics); 28/// Gets the <see cref="Cci.IReference"/> or <see cref="Cci.ISignature"/> corresponding to this token.
CodeGen\ReferenceDependencyWalker.cs (1)
134internal static void VisitSignature(Cci.ISignature signature, EmitContext context)
CodeGen\TokenMap.cs (2)
21/// This map supports tokens of type <see cref="Cci.ISignature"/> and <see cref="Cci.IReference"/>. 42public uint GetOrAddTokenFor(ISignature item, out bool referenceAdded)
Emit\CommonPEModuleBuilder.cs (1)
405public uint GetFakeSymbolTokenForIL(Cci.ISignature symbol, SyntaxNode syntaxNode, DiagnosticBag diagnostics)
Emit\NoPia\CommonEmbeddedMethod.cs (8)
74protected abstract Cci.ISignature UnderlyingMethodSignature { get; } 283Cci.CallingConvention Cci.ISignature.CallingConvention => UnderlyingMethodSignature.CallingConvention; 285ushort Cci.ISignature.ParameterCount => (ushort)_parameters.Length; 287ImmutableArray<Cci.IParameterTypeInformation> Cci.ISignature.GetParameters(EmitContext context) 292ImmutableArray<Cci.ICustomModifier> Cci.ISignature.RefCustomModifiers => 295ImmutableArray<Cci.ICustomModifier> Cci.ISignature.ReturnValueCustomModifiers => 298bool Cci.ISignature.ReturnValueIsByRef => UnderlyingMethodSignature.ReturnValueIsByRef; 300Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
Emit\NoPia\CommonEmbeddedProperty.cs (8)
65protected abstract Cci.ISignature UnderlyingPropertySignature { get; } 129Cci.CallingConvention Cci.ISignature.CallingConvention 137ushort Cci.ISignature.ParameterCount 142ImmutableArray<Cci.IParameterTypeInformation> Cci.ISignature.GetParameters(EmitContext context) 147ImmutableArray<Cci.ICustomModifier> Cci.ISignature.ReturnValueCustomModifiers 155ImmutableArray<Cci.ICustomModifier> Cci.ISignature.RefCustomModifiers 163bool Cci.ISignature.ReturnValueIsByRef 171Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
Emit\NoPia\VtblGap.cs (7)
224Cci.CallingConvention Cci.ISignature.CallingConvention 229ushort Cci.ISignature.ParameterCount 234ImmutableArray<Cci.IParameterTypeInformation> Cci.ISignature.GetParameters(EmitContext context) 239ImmutableArray<Cci.ICustomModifier> Cci.ISignature.ReturnValueCustomModifiers 244ImmutableArray<Cci.ICustomModifier> Cci.ISignature.RefCustomModifiers 249bool Cci.ISignature.ReturnValueIsByRef 254Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
IReferenceOrISignature.cs (1)
25public IReferenceOrISignature(ISignature item) => _item = item;
PEWriter\MetadataWriter.cs (7)
114_signatureIndex = new Dictionary<ISignature, KeyValuePair<BlobHandle, ImmutableArray<byte>>>(module.HintNumberOfMethodDefinitions, ReferenceEqualityComparer.Instance); //ignores field signatures 446private readonly Dictionary<ISignature, KeyValuePair<BlobHandle, ImmutableArray<byte>>> _signatureIndex; 1189internal EntityHandle GetStandaloneSignatureHandle(ISignature signature) 3113ISignature signature => GetStandaloneSignatureHandle(signature), 3130else if (entity is ISignature signature) 3771private void SerializeReturnValueAndParameters(MethodSignatureEncoder encoder, ISignature signature, ImmutableArray<IParameterTypeInformation> varargParameters) 3856var signature = functionPointerTypeReference.Signature;
PEWriter\ReferenceIndexerBase.cs (1)
174public void VisitSignature(ISignature signature)
PEWriter\ReturnValueParameter.cs (1)
26public ISignature ContainingSignature
PEWriter\Types.cs (1)
409ISignature Signature { get; }