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