Base:
property
ContainingSymbol
Microsoft.CodeAnalysis.CSharp.Symbol.ContainingSymbol
4 references to ContainingSymbol
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\NullabilityRewriter.cs (2)
195
if (!_remappedSymbols.TryGetValue(local.
ContainingSymbol
, out Symbol? updatedContaining) && !updatedType.HasValue)
202
updatedLocal = new UpdatedContainingSymbolAndNullableAnnotationLocal(local, updatedContaining ?? local.
ContainingSymbol
, updatedType ?? local.TypeWithAnnotations);
BoundTree\VariablePendingInference.cs (1)
65
Binder.CheckRestrictedTypeInAsyncMethod(localSymbol.
ContainingSymbol
, type.Type, diagnosticsOpt, typeOrDesignationSyntax);
Symbols\UpdatedContainingSymbolLocal.cs (1)
28
Debug.Assert(!assertContaining || updatedContainingSymbol.Equals(underlyingLocal.
ContainingSymbol
, TypeCompareKind.AllNullableIgnoreOptions));