1 write to _underlying
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
27_underlying = underlying;
48 references to _underlying
Microsoft.CodeAnalysis.CSharp (48)
Symbols\PublicModel\MethodSymbol.cs (48)
30internal override CSharp.Symbol UnderlyingSymbol => _underlying; 31internal Symbols.MethodSymbol UnderlyingMethodSymbol => _underlying; 37switch (_underlying.MethodKind) 74throw ExceptionUtilities.UnexpectedValue(_underlying.MethodKind); 85Interlocked.CompareExchange(ref _lazyReturnType, _underlying.ReturnTypeWithAnnotations.GetPublicSymbol(), null); 96return _underlying.ReturnTypeWithAnnotations.ToPublicAnnotation(); 107_underlying); 112_underlying.TypeArgumentsWithAnnotations.ToPublicAnnotations(); 118return _underlying.TypeParameters.GetPublicSymbols(); 129_underlying); 137return _underlying.ConstructedFrom.GetPublicSymbol(); 145return _underlying.IsEffectivelyReadOnly; 153return _underlying.IsInitOnly; 161return _underlying.OriginalDefinition.GetPublicSymbol(); 169return _underlying.OverriddenMethod.GetPublicSymbol(); 179Interlocked.CompareExchange(ref _lazyReceiverType, _underlying.ReceiverType?.GetITypeSymbol(_underlying.ReceiverNullableAnnotation), null); 186CodeAnalysis.NullableAnnotation IMethodSymbol.ReceiverNullableAnnotation => _underlying.ReceiverNullableAnnotation; 192return _underlying.ReducedFrom.GetPublicSymbol(); 198return _underlying.GetTypeInferredDuringReduction( 205return _underlying.ReduceExtensionMethod( 214return _underlying.ExplicitInterfaceImplementations.GetPublicSymbols(); 222return _underlying.AssociatedSymbol.GetPublicSymbol(); 230return _underlying.IsGenericMethod; 238return _underlying.IsAsync; 246return _underlying.HidesBaseMethodsByName; 254return _underlying.ReturnTypeWithAnnotations.CustomModifiers; 262return _underlying.RefCustomModifiers; 268return _underlying.GetReturnTypeAttributes().Cast<CSharpAttributeData, AttributeData>(); 271SignatureCallingConvention IMethodSymbol.CallingConvention => _underlying.CallingConvention.ToSignatureConvention(); 273ImmutableArray<INamedTypeSymbol> IMethodSymbol.UnmanagedCallingConventionTypes => _underlying.UnmanagedCallingConventionTypes.SelectAsArray(t => t.GetPublicSymbol()); 277return _underlying.Construct(ConstructTypeArguments(typeArguments)).GetPublicSymbol(); 282return _underlying.Construct(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations)).GetPublicSymbol(); 289return _underlying.PartialImplementationPart.GetPublicSymbol(); 297return _underlying.PartialDefinitionPart.GetPublicSymbol(); 301bool IMethodSymbol.IsPartialDefinition => _underlying.IsDefinition && _underlying.IsPartialDefinition(); 311int IMethodSymbol.Arity => _underlying.Arity; 313bool IMethodSymbol.IsExtensionMethod => _underlying.IsExtensionMethod; 315System.Reflection.MethodImplAttributes IMethodSymbol.MethodImplementationFlags => _underlying.ImplementationAttributes; 317bool IMethodSymbol.IsVararg => _underlying.IsVararg; 319bool IMethodSymbol.IsCheckedBuiltin => _underlying.IsCheckedBuiltin; 321bool IMethodSymbol.ReturnsVoid => _underlying.ReturnsVoid; 323bool IMethodSymbol.ReturnsByRef => _underlying.ReturnsByRef; 325bool IMethodSymbol.ReturnsByRefReadonly => _underlying.ReturnsByRefReadonly; 327RefKind IMethodSymbol.RefKind => _underlying.RefKind; 329bool IMethodSymbol.IsConditional => _underlying.IsConditional; 331DllImportData IMethodSymbol.GetDllImportData() => _underlying.GetDllImportData();