17 implementations of GetInternalSymbol
Microsoft.CodeAnalysis (17)
CodeGen\ArrayMembers.cs (1)
363Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
CodeGen\PrivateImplementationDetails.cs (1)
682Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
Emit\CommonPEModuleBuilder.cs (1)
311Symbols.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)
183Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null; 247Symbols.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)
561CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
219CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
Emit\NoPia\VtblGap.cs (1)
182Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\InheritedTypeParameter.cs (1)
201CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\ModifiedTypeReference.cs (1)
148CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\ReturnValueParameter.cs (1)
117CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleStaticConstructor.cs (1)
108CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.GetInternalSymbol() => null;
PEWriter\RootModuleType.cs (1)
327CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.GetInternalSymbol() => null;
28 references to GetInternalSymbol
Microsoft.CodeAnalysis (28)
CodeGen\ArrayMembers.cs (1)
361=> ((object?)arrayType.GetInternalSymbol() ?? arrayType).ToString() + "." + Name;
CodeGen\PermissionSetAttribute.cs (1)
84ISymbol iSymbol = _sourceAttribute.GetType(context).GetInternalSymbol()!.GetISymbol();
CodeGen\PrivateImplementationDetails.cs (2)
632public override string ToString() => $"{(object?)_type.GetInternalSymbol() ?? _type} {(object?)_containingType.GetInternalSymbol() ?? _containingType}.{this.Name}";
Emit\CommonPEModuleBuilder.cs (6)
349Debug.Assert(body == null || (object)methodSymbol == body.MethodDefinition.GetInternalSymbol()); 783Debug.Assert(((ISynthesizedGlobalMethodSymbol)cctor.GetInternalSymbol()).ContainingPrivateImplementationDetailsType == (object)details); 836builder.Add(field.GetInternalSymbol()); 844builder.Add(method.GetInternalSymbol()); 852builder.Add(property.GetInternalSymbol()); 860builder.Add(type.GetInternalSymbol());
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
44=> OldDefinition.GetInternalSymbol();
Emit\EditAndContinue\DeltaMetadataWriter.cs (4)
523if (typeDef.GetInternalSymbol() is INamedTypeSymbolInternal typeSymbol && 831ReportReferencesToAddedSymbol(typeRef.GetInternalSymbol()); 836ReportReferencesToAddedSymbol(memberRef.GetInternalSymbol()); 915if (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)
310return UnderlyingMethod.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\NoPia\CommonEmbeddedType.cs (1)
715return UnderlyingNamedType.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
PEWriter\MetadataWriter.cs (1)
1449symbol = (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();