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