26 implementations of GetInternalSymbol
Microsoft.CodeAnalysis (18)
CodeGen\ArrayMembers.cs (1)
364
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
CodeGen\PrivateImplementationDetails.cs (2)
852
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
1042
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
Emit\CommonPEModuleBuilder.cs (1)
397
Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
96
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)
569
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;
Microsoft.CodeAnalysis.CSharp (8)
Emitter\Model\AssemblyReference.cs (1)
59
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
151
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\ModuleReference.cs (1)
92
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\NamedTypeReference.cs (1)
167
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => UnderlyingNamedType;
Emitter\Model\SymbolAdapter.cs (1)
35
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => AdaptedSymbol;
Emitter\Model\TypeMemberReference.cs (1)
52
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => UnderlyingSymbol;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
587
ISymbolInternal? IReference.
GetInternalSymbol
() => null;
Symbols\Source\ExtensionGroupingInfo.cs (1)
633
ISymbolInternal? IReference.
GetInternalSymbol
()
49 references to GetInternalSymbol
Microsoft.CodeAnalysis (34)
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)
766
return $"string {(object?)ContainingTypeDefinition.
GetInternalSymbol
() ?? ContainingTypeDefinition}.{this.Name}";
785
public override string ToString() => $"{(object?)_type.
GetInternalSymbol
() ?? _type} {(object?)ContainingTypeDefinition.
GetInternalSymbol
() ?? ContainingTypeDefinition}.{this.Name}";
Emit\CommonPEModuleBuilder.cs (6)
435
Debug.Assert(body == null || (object)methodSymbol == body.MethodDefinition.
GetInternalSymbol
());
864
Debug.Assert(((ISynthesizedGlobalMethodSymbol)cctor.
GetInternalSymbol
()).ContainingPrivateImplementationDetailsType == (object)details);
917
builder.Add(field.
GetInternalSymbol
());
925
builder.Add(method.
GetInternalSymbol
());
933
builder.Add(property.
GetInternalSymbol
());
941
builder.Add(type.
GetInternalSymbol
());
Emit\EditAndContinue\DefinitionMap.cs (4)
126
=> MetadataTokens.EntityHandle(SourceToMetadataSymbolMatcher.MapDefinition(def)?.
GetInternalSymbol
()?.MetadataToken ?? 0);
186
peMethod = (IMethodSymbolInternal?)PreviousSourceToMetadataSymbolMatcher.MapDefinition(oldMethodDef)?.
GetInternalSymbol
();
212
peProperty = (IPropertySymbolInternal?)PreviousSourceToMetadataSymbolMatcher.MapDefinition(oldPropertyDef)?.
GetInternalSymbol
();
238
peEvent = (IEventSymbolInternal?)PreviousSourceToMetadataSymbolMatcher.MapDefinition(oldEventDef)?.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
44
=> OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeltaMetadataWriter.cs (4)
550
if (typeDef.
GetInternalSymbol
() is INamedTypeSymbolInternal typeSymbol &&
895
ReportReferencesToAddedSymbol(typeRef.
GetInternalSymbol
());
900
ReportReferencesToAddedSymbol(memberRef.
GetInternalSymbol
());
979
if (translatedType.
GetInternalSymbol
() is ITypeSymbolInternal typeSymbol)
Emit\EditAndContinue\SymbolChanges.cs (3)
61
=> definition.
GetInternalSymbol
() is { } internalSymbol && IsReplaced(internalSymbol, checkEnclosingTypes);
129
var symbol = def.
GetInternalSymbol
();
537
=> fieldDefinition.
GetInternalSymbol
() is { } fieldSymbol ? GetAssociatedSymbol(fieldSymbol)?.GetCciAdapter() as IDefinition : null;
Emit\EditAndContinue\SymbolMatcher.cs (2)
26
MapDefinition(definition)?.
GetInternalSymbol
() :
165
var template = (INamedTypeSymbolInternal?)previousValue.Type.
GetInternalSymbol
();
Emit\NoPia\CommonEmbeddedMethod.cs (1)
311
return UnderlyingMethod.
GetInternalSymbol
().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\NoPia\CommonEmbeddedType.cs (1)
723
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
();
Microsoft.CodeAnalysis.CSharp (15)
Compiler\MethodCompiler.cs (1)
698
var method = (MethodSymbol)definition.
GetInternalSymbol
();
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (6)
58
if (definition.
GetInternalSymbol
() is Symbol symbol)
90
if (reference.
GetInternalSymbol
() is Symbol symbol)
350
return (NamedTypeSymbol?)value.Type?.
GetInternalSymbol
();
358
return (NamedTypeSymbol?)value.Type?.
GetInternalSymbol
();
363
return (NamedTypeSymbol?)value.Delegate?.
GetInternalSymbol
();
508
var otherDelegateType = (NamedTypeSymbol?)otherTypeCandidate.Type.
GetInternalSymbol
();
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
179
Append(result, _underlyingMethod.
GetInternalSymbol
() ?? (object)_underlyingMethod);
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
409
var method = m.
GetInternalSymbol
() as MethodSymbol;
Emitter\Model\PEModuleBuilder.cs (5)
733
var type = (NamedTypeSymbol)exportedType.Type.
GetInternalSymbol
();
998
var namedType = typeRef.
GetInternalSymbol
() as NamedTypeSymbol;
2033
return (MethodSymbol)methodAdapter.
GetInternalSymbol
()!;
2041
return (MethodSymbol)privateImplClass.PrivateImplementationDetails.GetMethod(methodName)!.
GetInternalSymbol
()!;
2315
Debug.Assert(container is not NamedTypeSymbol { IsExtension: true } || nestedType.
GetInternalSymbol
() is FixedFieldImplementationType);
Emitter\Model\SynthesizedPrivateImplementationDetailsStaticConstructor.cs (1)
50
ArrayTypeSymbol payloadArrayType = (ArrayTypeSymbol)payloadRoot.Value.Type.
GetInternalSymbol
();