1 implementation of ContainingType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol.cs (1)
322INamedTypeSymbolInternal ISymbolInternal.ContainingType
10 references to ContainingType
Microsoft.CodeAnalysis (8)
Emit\EditAndContinue\DefinitionMap.cs (3)
504var map = GetMetadataLambdaAndClosureMap(method.ContainingType, methodId); 736Baseline.SynthesizedMembers.TryGetValue(oldMethod.ContainingType, out var synthesizedSiblingSymbols)) 764GetMetadataLambdaAndClosureMap(peMethod.ContainingType, methodId: new DebugId(provider.MethodOrdinal, generation: 0)),
Emit\EditAndContinue\SymbolChanges.cs (5)
79currentSymbol = currentSymbol.ContainingType; 120current = current.ContainingType; 149if (!DefinitionExistsInPreviousGeneration(synthesizedSymbol.ContainingType)) 432if (!updatedMethodsBuilder.TryGetValue(newMember.ContainingType, out var updatedMethodsPerType)) 435updatedMethodsBuilder.Add(newMember.ContainingType, updatedMethodsPerType);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2486var type = method.ContainingType; 2495while ((type = type.ContainingType) != null)