1 write to _underlying
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
26
_underlying
= underlying;
47 references to _underlying
Microsoft.CodeAnalysis.CSharp (47)
Symbols\PublicModel\MethodSymbol.cs (47)
29
internal override CSharp.Symbol UnderlyingSymbol =>
_underlying
;
30
internal Symbols.MethodSymbol UnderlyingMethodSymbol =>
_underlying
;
36
switch (
_underlying
.MethodKind)
73
throw ExceptionUtilities.UnexpectedValue(
_underlying
.MethodKind);
84
Interlocked.CompareExchange(ref _lazyReturnType,
_underlying
.ReturnTypeWithAnnotations.GetPublicSymbol(), null);
95
return
_underlying
.ReturnTypeWithAnnotations.ToPublicAnnotation();
106
ImmutableInterlocked.InterlockedCompareExchange(ref _lazyTypeArguments,
_underlying
.TypeArgumentsWithAnnotations.GetPublicSymbols(), default);
114
_underlying
.TypeArgumentsWithAnnotations.ToPublicAnnotations();
120
return
_underlying
.TypeParameters.GetPublicSymbols();
128
return
_underlying
.Parameters.GetPublicSymbols();
136
return
_underlying
.ConstructedFrom.GetPublicSymbol();
144
return
_underlying
.IsEffectivelyReadOnly;
152
return
_underlying
.IsInitOnly;
160
return
_underlying
.OriginalDefinition.GetPublicSymbol();
168
return
_underlying
.OverriddenMethod.GetPublicSymbol();
178
Interlocked.CompareExchange(ref _lazyReceiverType,
_underlying
.ReceiverType?.GetITypeSymbol(
_underlying
.ReceiverNullableAnnotation), null);
185
CodeAnalysis.NullableAnnotation IMethodSymbol.ReceiverNullableAnnotation =>
_underlying
.ReceiverNullableAnnotation;
191
return
_underlying
.ReducedFrom.GetPublicSymbol();
197
return
_underlying
.GetTypeInferredDuringReduction(
204
return
_underlying
.ReduceExtensionMethod(
213
return
_underlying
.ExplicitInterfaceImplementations.GetPublicSymbols();
221
return
_underlying
.AssociatedSymbol.GetPublicSymbol();
229
return
_underlying
.IsGenericMethod;
237
return
_underlying
.IsAsync;
245
return
_underlying
.HidesBaseMethodsByName;
253
return
_underlying
.ReturnTypeWithAnnotations.CustomModifiers;
261
return
_underlying
.RefCustomModifiers;
267
return
_underlying
.GetReturnTypeAttributes().Cast<CSharpAttributeData, AttributeData>();
270
SignatureCallingConvention IMethodSymbol.CallingConvention =>
_underlying
.CallingConvention.ToSignatureConvention();
272
ImmutableArray<INamedTypeSymbol> IMethodSymbol.UnmanagedCallingConventionTypes =>
_underlying
.UnmanagedCallingConventionTypes.SelectAsArray(t => t.GetPublicSymbol());
276
return
_underlying
.Construct(ConstructTypeArguments(typeArguments)).GetPublicSymbol();
281
return
_underlying
.Construct(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations)).GetPublicSymbol();
288
return
_underlying
.PartialImplementationPart.GetPublicSymbol();
296
return
_underlying
.PartialDefinitionPart.GetPublicSymbol();
300
bool IMethodSymbol.IsPartialDefinition =>
_underlying
.IsPartialDefinition();
310
int IMethodSymbol.Arity =>
_underlying
.Arity;
312
bool IMethodSymbol.IsExtensionMethod =>
_underlying
.IsExtensionMethod;
314
System.Reflection.MethodImplAttributes IMethodSymbol.MethodImplementationFlags =>
_underlying
.ImplementationAttributes;
316
bool IMethodSymbol.IsVararg =>
_underlying
.IsVararg;
318
bool IMethodSymbol.IsCheckedBuiltin =>
_underlying
.IsCheckedBuiltin;
320
bool IMethodSymbol.ReturnsVoid =>
_underlying
.ReturnsVoid;
322
bool IMethodSymbol.ReturnsByRef =>
_underlying
.ReturnsByRef;
324
bool IMethodSymbol.ReturnsByRefReadonly =>
_underlying
.ReturnsByRefReadonly;
326
RefKind IMethodSymbol.RefKind =>
_underlying
.RefKind;
328
bool IMethodSymbol.IsConditional =>
_underlying
.IsConditional;
330
DllImportData IMethodSymbol.GetDllImportData() =>
_underlying
.GetDllImportData();