1 write to OldDefinition
Microsoft.CodeAnalysis (1)
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
31
OldDefinition
= oldDefinition;
104 references to OldDefinition
Microsoft.CodeAnalysis (104)
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
44
=>
OldDefinition
.GetInternalSymbol();
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (25)
25
public bool MustBeReferenceType =>
OldDefinition
.MustBeReferenceType;
27
public bool MustBeValueType =>
OldDefinition
.MustBeValueType;
29
public bool AllowsRefLikeType =>
OldDefinition
.AllowsRefLikeType;
31
public bool MustHaveDefaultConstructor =>
OldDefinition
.MustHaveDefaultConstructor;
33
public TypeParameterVariance Variance =>
OldDefinition
.Variance;
35
public IGenericMethodParameter? AsGenericMethodParameter =>
OldDefinition
.AsGenericMethodParameter;
37
public IGenericTypeParameter? AsGenericTypeParameter =>
OldDefinition
.AsGenericTypeParameter;
39
public bool IsEnum =>
OldDefinition
.IsEnum;
41
public bool IsValueType =>
OldDefinition
.IsValueType;
43
public Cci.PrimitiveTypeCode TypeCode =>
OldDefinition
.TypeCode;
45
public TypeDefinitionHandle TypeDef =>
OldDefinition
.TypeDef;
47
public IGenericMethodParameterReference? AsGenericMethodParameterReference =>
OldDefinition
.AsGenericMethodParameterReference;
49
public IGenericTypeInstanceReference? AsGenericTypeInstanceReference =>
OldDefinition
.AsGenericTypeInstanceReference;
51
public IGenericTypeParameterReference? AsGenericTypeParameterReference =>
OldDefinition
.AsGenericTypeParameterReference;
53
public INamespaceTypeReference? AsNamespaceTypeReference =>
OldDefinition
.AsNamespaceTypeReference;
55
public INestedTypeReference? AsNestedTypeReference =>
OldDefinition
.AsNestedTypeReference;
57
public ISpecializedNestedTypeReference? AsSpecializedNestedTypeReference =>
OldDefinition
.AsSpecializedNestedTypeReference;
59
public string? Name =>
OldDefinition
.Name;
61
public ushort Index =>
OldDefinition
.Index;
63
IMethodReference IGenericMethodParameterReference.DefiningMethod => ((IGenericMethodParameterReference)
OldDefinition
).DefiningMethod;
67
return
OldDefinition
.AsNamespaceTypeDefinition(context);
72
return
OldDefinition
.AsNestedTypeDefinition(context);
77
return
OldDefinition
.AsTypeDefinition(context);
82
OldDefinition
.Dispatch(visitor);
90
return (ITypeDefinition?)WrapType(
OldDefinition
.GetResolvedType(context));
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (33)
35
public bool HasDeclarativeSecurity =>
OldDefinition
.HasDeclarativeSecurity;
37
public bool IsAbstract =>
OldDefinition
.IsAbstract;
39
public bool IsAccessCheckedOnOverride =>
OldDefinition
.IsAccessCheckedOnOverride;
41
public bool IsConstructor =>
OldDefinition
.IsConstructor;
43
public bool IsExternal =>
OldDefinition
.IsExternal;
45
public bool IsHiddenBySignature =>
OldDefinition
.IsHiddenBySignature;
47
public bool IsNewSlot =>
OldDefinition
.IsNewSlot;
49
public bool IsPlatformInvoke =>
OldDefinition
.IsPlatformInvoke;
51
public bool IsRuntimeSpecial =>
OldDefinition
.IsRuntimeSpecial;
53
public bool IsSealed =>
OldDefinition
.IsSealed;
55
public bool IsSpecialName =>
OldDefinition
.IsSpecialName;
57
public bool IsStatic =>
OldDefinition
.IsStatic;
59
public bool IsVirtual =>
OldDefinition
.IsVirtual;
63
public IPlatformInvokeInformation PlatformInvokeData =>
OldDefinition
.PlatformInvokeData;
65
public bool RequiresSecurityObject =>
OldDefinition
.RequiresSecurityObject;
67
public bool ReturnValueIsMarshalledExplicitly =>
OldDefinition
.ReturnValueIsMarshalledExplicitly;
69
public IMarshallingInformation ReturnValueMarshallingInformation =>
OldDefinition
.ReturnValueMarshallingInformation;
71
public ImmutableArray<byte> ReturnValueMarshallingDescriptor =>
OldDefinition
.ReturnValueMarshallingDescriptor;
73
public IEnumerable<SecurityAttribute> SecurityAttributes =>
OldDefinition
.SecurityAttributes;
75
public INamespace ContainingNamespace =>
OldDefinition
.ContainingNamespace;
79
public TypeMemberVisibility Visibility =>
OldDefinition
.Visibility;
81
public bool AcceptsExtraArguments =>
OldDefinition
.AcceptsExtraArguments;
83
public ushort GenericParameterCount =>
OldDefinition
.GenericParameterCount;
85
public ImmutableArray<IParameterTypeInformation> ExtraParameters =>
OldDefinition
.ExtraParameters;
87
public IGenericMethodInstanceReference? AsGenericMethodInstanceReference =>
OldDefinition
.AsGenericMethodInstanceReference;
89
public ISpecializedMethodReference? AsSpecializedMethodReference =>
OldDefinition
.AsSpecializedMethodReference;
91
public CallingConvention CallingConvention =>
OldDefinition
.CallingConvention;
95
public ImmutableArray<ICustomModifier> ReturnValueCustomModifiers =>
OldDefinition
.ReturnValueCustomModifiers;
97
public ImmutableArray<ICustomModifier> RefCustomModifiers =>
OldDefinition
.RefCustomModifiers;
99
public bool ReturnValueIsByRef =>
OldDefinition
.ReturnValueIsByRef;
101
public string? Name =>
OldDefinition
.Name;
119
return
OldDefinition
.GetImplementationAttributes(context);
138
return WrapType(
OldDefinition
.GetType(context));
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (14)
21
public bool HasDefaultValue =>
OldDefinition
.HasDefaultValue;
23
public bool IsIn =>
OldDefinition
.IsIn;
25
public bool IsMarshalledExplicitly =>
OldDefinition
.IsMarshalledExplicitly;
27
public bool IsOptional =>
OldDefinition
.IsOptional;
29
public bool IsOut =>
OldDefinition
.IsOut;
31
public IMarshallingInformation? MarshallingInformation =>
OldDefinition
.MarshallingInformation;
33
public ImmutableArray<byte> MarshallingDescriptor =>
OldDefinition
.MarshallingDescriptor;
35
public string? Name =>
OldDefinition
.Name;
37
public ImmutableArray<ICustomModifier> CustomModifiers =>
OldDefinition
.CustomModifiers;
39
public ImmutableArray<ICustomModifier> RefCustomModifiers =>
OldDefinition
.RefCustomModifiers;
41
public bool IsByReference =>
OldDefinition
.IsByReference;
43
public ushort Index =>
OldDefinition
.Index;
47
return
OldDefinition
.GetDefaultValue(context);
52
return WrapType(
OldDefinition
.GetType(context));
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (31)
28
public ushort Alignment =>
OldDefinition
.Alignment;
30
public IEnumerable<IGenericTypeParameter> GenericParameters =>
OldDefinition
.GenericParameters;
32
public ushort GenericParameterCount =>
OldDefinition
.GenericParameterCount;
34
public bool HasDeclarativeSecurity =>
OldDefinition
.HasDeclarativeSecurity;
36
public bool IsAbstract =>
OldDefinition
.IsAbstract;
38
public bool IsBeforeFieldInit =>
OldDefinition
.IsBeforeFieldInit;
40
public bool IsComObject =>
OldDefinition
.IsComObject;
42
public bool IsGeneric =>
OldDefinition
.IsGeneric;
44
public bool IsInterface =>
OldDefinition
.IsInterface;
46
public bool IsDelegate =>
OldDefinition
.IsDelegate;
48
public bool IsRuntimeSpecial =>
OldDefinition
.IsRuntimeSpecial;
50
public bool IsSerializable =>
OldDefinition
.IsSerializable;
52
public bool IsSpecialName =>
OldDefinition
.IsSpecialName;
54
public bool IsWindowsRuntimeImport =>
OldDefinition
.IsWindowsRuntimeImport;
56
public bool IsSealed =>
OldDefinition
.IsSealed;
58
public LayoutKind Layout =>
OldDefinition
.Layout;
63
public uint SizeOf =>
OldDefinition
.SizeOf;
65
public CharSet StringFormat =>
OldDefinition
.StringFormat;
67
public bool IsEnum =>
OldDefinition
.IsEnum;
69
public bool IsValueType =>
OldDefinition
.IsValueType;
71
public Cci.PrimitiveTypeCode TypeCode =>
OldDefinition
.TypeCode;
73
public TypeDefinitionHandle TypeDef =>
OldDefinition
.TypeDef;
75
public IGenericMethodParameterReference? AsGenericMethodParameterReference =>
OldDefinition
.AsGenericMethodParameterReference;
77
public IGenericTypeInstanceReference? AsGenericTypeInstanceReference =>
OldDefinition
.AsGenericTypeInstanceReference;
79
public IGenericTypeParameterReference? AsGenericTypeParameterReference =>
OldDefinition
.AsGenericTypeParameterReference;
81
public INamespaceTypeReference? AsNamespaceTypeReference =>
OldDefinition
.AsNamespaceTypeReference;
83
public INestedTypeReference? AsNestedTypeReference =>
OldDefinition
.AsNestedTypeReference;
85
public ISpecializedNestedTypeReference? AsSpecializedNestedTypeReference =>
OldDefinition
.AsSpecializedNestedTypeReference;
89
return
OldDefinition
.AsNamespaceTypeDefinition(context);
94
return
OldDefinition
.AsNestedTypeDefinition(context);
104
return
OldDefinition
.GetResolvedType(context);