1 write to _containingMethod
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\ThisParameterSymbol.cs (1)
136
_containingMethod
= forMethod;
7 references to _containingMethod
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Source\ThisParameterSymbol.cs (7)
152
if (
_containingMethod
?.MethodKind == MethodKind.Constructor)
157
if (
_containingMethod
?.IsEffectivelyReadOnly == true)
168
get { return
_containingMethod
is not null ?
_containingMethod
.Locations : ImmutableArray<Location>.Empty; }
173
get { return (Symbol?)
_containingMethod
?? _containingType; }
191
=>
_containingMethod
.HasUnscopedRefAttributeOnMethodOrProperty();
194
=>
_containingMethod
?.UseUpdatedEscapeRules ?? _containingType.ContainingModule.UseUpdatedEscapeRules;