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