18 implementations of GetInternalSymbol
Microsoft.CodeAnalysis (18)
CodeGen\ArrayMembers.cs (1)
364Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
CodeGen\PrivateImplementationDetails.cs (2)
897Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null; 1085Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
Emit\CommonPEModuleBuilder.cs (1)
380Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
95public ISymbolInternal? GetInternalSymbol()
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
43public ISymbolInternal? GetInternalSymbol()
Emit\ErrorType.cs (2)
184Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 248Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedMember.cs (1)
120Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedParameter.cs (1)
222CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedType.cs (1)
562CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
220CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\VtblGap.cs (1)
183Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\InheritedTypeParameter.cs (1)
200CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\MethodDefinitionBase.cs (1)
107CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\ModifiedTypeReference.cs (1)
150CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\ParameterDefinitionBase.cs (1)
34public ISymbolInternal? GetInternalSymbol() => null;
PEWriter\RootModuleType.cs (1)
329CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
31 references to GetInternalSymbol
Microsoft.CodeAnalysis (31)
CodeGen\ArrayMembers.cs (1)
362=> ((object?)arrayType.GetInternalSymbol() ?? arrayType).ToString() + "." + Name;
CodeGen\PermissionSetAttribute.cs (1)
84ISymbol iSymbol = _sourceAttribute.GetType(context).GetInternalSymbol()!.GetISymbol();
CodeGen\PrivateImplementationDetails.cs (3)
811return $"string {(object?)ContainingTypeDefinition.GetInternalSymbol() ?? ContainingTypeDefinition}.{this.Name}"; 830public override string ToString() => $"{(object?)_type.GetInternalSymbol() ?? _type} {(object?)ContainingTypeDefinition.GetInternalSymbol() ?? ContainingTypeDefinition}.{this.Name}";
Emit\CommonPEModuleBuilder.cs (6)
418Debug.Assert(body == null || (object)methodSymbol == body.MethodDefinition.GetInternalSymbol()); 847Debug.Assert(((ISynthesizedGlobalMethodSymbol)cctor.GetInternalSymbol()).ContainingPrivateImplementationDetailsType == (object)details); 900builder.Add(field.GetInternalSymbol()); 908builder.Add(method.GetInternalSymbol()); 916builder.Add(property.GetInternalSymbol()); 924builder.Add(type.GetInternalSymbol());
Emit\EditAndContinue\DefinitionMap.cs (2)
126=> MetadataTokens.EntityHandle(SourceToMetadataSymbolMatcher.MapDefinition(def)?.GetInternalSymbol()?.MetadataToken ?? 0); 180peMethod = (IMethodSymbolInternal?)PreviousSourceToMetadataSymbolMatcher.MapDefinition(oldMethodDef)?.GetInternalSymbol();
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
44=> OldDefinition.GetInternalSymbol();
Emit\EditAndContinue\DeltaMetadataWriter.cs (4)
535if (typeDef.GetInternalSymbol() is INamedTypeSymbolInternal typeSymbol && 843ReportReferencesToAddedSymbol(typeRef.GetInternalSymbol()); 848ReportReferencesToAddedSymbol(memberRef.GetInternalSymbol()); 927if (translatedType.GetInternalSymbol() is ITypeSymbolInternal typeSymbol)
Emit\EditAndContinue\SymbolChanges.cs (3)
60=> definition.GetInternalSymbol() is { } internalSymbol && IsReplaced(internalSymbol, checkEnclosingTypes); 128var symbol = def.GetInternalSymbol(); 536=> fieldDefinition.GetInternalSymbol() is { } fieldSymbol ? GetAssociatedSymbol(fieldSymbol)?.GetCciAdapter() as IDefinition : null;
Emit\EditAndContinue\SymbolMatcher.cs (1)
25MapDefinition(definition)?.GetInternalSymbol() :
Emit\NoPia\CommonEmbeddedMethod.cs (1)
311return UnderlyingMethod.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\NoPia\CommonEmbeddedType.cs (1)
716return UnderlyingNamedType.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
PEWriter\MetadataWriter.cs (1)
1448symbol = (errorEntity as Cci.IReference)?.GetInternalSymbol();
PEWriter\SymbolEquivalentEqualityComparer.cs (3)
34var xSymbol = x.GetInternalSymbol(); 35var ySymbol = y.GetInternalSymbol(); 47var objSymbol = obj?.GetInternalSymbol();
PEWriter\UsedNamespaceOrType.cs (3)
96var xSymbol = x.GetInternalSymbol(); 97var ySymbol = y.GetInternalSymbol(); 113var objSymbol = obj?.GetInternalSymbol();