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