4 overrides of UnderlyingMethod
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Extensions\RewrittenMethodSymbol.cs (1)
30public sealed override MethodSymbol UnderlyingMethod => _originalMethod;
Symbols\NativeIntegerTypeSymbol.cs (1)
355public override MethodSymbol UnderlyingMethod { get; }
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
85public override MethodSymbol UnderlyingMethod
Symbols\SubstitutedMethodSymbol.cs (1)
68public override MethodSymbol UnderlyingMethod
55 references to UnderlyingMethod
Microsoft.CodeAnalysis.CSharp (54)
Symbols\Wrapped\WrappedMethodSymbol.cs (54)
38return UnderlyingMethod.IsVararg; 46return UnderlyingMethod.IsGenericMethod; 54return UnderlyingMethod.Arity; 62return UnderlyingMethod.RefKind; 68get { return UnderlyingMethod.ParameterCount; } 75return UnderlyingMethod.IsExtensionMethod; 83return UnderlyingMethod.HidesBaseMethodsByName; 91return UnderlyingMethod.AreLocalsZeroed; 99return UnderlyingMethod.Locations; 107return UnderlyingMethod.DeclaringSyntaxReferences; 115return UnderlyingMethod.DeclaredAccessibility; 123return UnderlyingMethod.IsStatic; 131return UnderlyingMethod.RequiresInstanceReceiver; 139return UnderlyingMethod.IsVirtual; 147return UnderlyingMethod.IsAsync; 155return UnderlyingMethod.IsOverride; 163return UnderlyingMethod.IsAbstract; 171return UnderlyingMethod.IsSealed; 179return UnderlyingMethod.IsExtern; 187return UnderlyingMethod.IsImplicitlyDeclared; 193return UnderlyingMethod.IsMetadataVirtual(option); 200return UnderlyingMethod.IsMetadataFinal; 206return UnderlyingMethod.IsMetadataNewSlot(ignoreInterfaceImplementationChanges); 213return UnderlyingMethod.RequiresSecurityObject; 219return UnderlyingMethod.GetDllImportData(); 226return UnderlyingMethod.ReturnValueMarshallingInformation; 232get { return UnderlyingMethod.HasDeclarativeSecurity; } 237return UnderlyingMethod.GetSecurityInformation(); 242return UnderlyingMethod.GetAppliedConditionalSymbols(); 249return UnderlyingMethod.ObsoleteAttributeData; 257return UnderlyingMethod.Name; 265return UnderlyingMethod.HasSpecialName; 271return UnderlyingMethod.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken); 278return UnderlyingMethod.ImplementationAttributes; 286return UnderlyingMethod.MethodKind; 294return UnderlyingMethod.CallingConvention; 302return UnderlyingMethod.IsAccessCheckedOnOverride; 310return UnderlyingMethod.IsExternal; 318return UnderlyingMethod.HasRuntimeSpecialName; 322public sealed override bool ReturnsVoid => UnderlyingMethod.ReturnsVoid; 324public sealed override FlowAnalysisAnnotations ReturnTypeFlowAnalysisAnnotations => UnderlyingMethod.ReturnTypeFlowAnalysisAnnotations; 326public sealed override ImmutableHashSet<string> ReturnNotNullIfParameterNotNull => UnderlyingMethod.ReturnNotNullIfParameterNotNull; 328public sealed override FlowAnalysisAnnotations FlowAnalysisAnnotations => UnderlyingMethod.FlowAnalysisAnnotations; 330internal sealed override ImmutableArray<string> NotNullMembers => UnderlyingMethod.NotNullMembers; 332internal sealed override ImmutableArray<string> NotNullWhenTrueMembers => UnderlyingMethod.NotNullWhenTrueMembers; 334internal sealed override ImmutableArray<string> NotNullWhenFalseMembers => UnderlyingMethod.NotNullWhenFalseMembers; 340return UnderlyingMethod.ReturnValueIsMarshalledExplicitly; 348return UnderlyingMethod.ReturnValueMarshallingDescriptor; 356return UnderlyingMethod.GenerateDebugInfo; 360internal override bool IsDeclaredReadOnly => UnderlyingMethod.IsDeclaredReadOnly; 362internal override bool IsInitOnly => UnderlyingMethod.IsInitOnly; 364protected sealed override bool HasSetsRequiredMembersImpl => UnderlyingMethod.HasSetsRequiredMembers; 366internal sealed override bool HasUnscopedRefAttribute => UnderlyingMethod.HasUnscopedRefAttribute; 368internal sealed override bool UseUpdatedEscapeRules => UnderlyingMethod.UseUpdatedEscapeRules;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NativeIntegerTests.cs (1)
618return ((WrappedMethodSymbol)nativeIntegerMember).UnderlyingMethod;