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