35 implementations of GetInternalSymbol
Microsoft.CodeAnalysis (22)
CodeGen\ArrayMembers.cs (1)
365
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
CodeGen\PrivateImplementationDetails.cs (2)
531
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
682
Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
Emit\CommonPEModuleBuilder.cs (1)
272
Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\EditAndContinue\DeletedEventDefinition.cs (1)
76
public ISymbolInternal?
GetInternalSymbol
()
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
97
public ISymbolInternal?
GetInternalSymbol
()
Emit\EditAndContinue\DeletedMethodDefinition.cs (1)
136
public ISymbolInternal?
GetInternalSymbol
()
Emit\EditAndContinue\DeletedParameterDefinition.cs (1)
64
public ISymbolInternal?
GetInternalSymbol
()
Emit\EditAndContinue\DeletedPropertyDefinition.cs (1)
90
public ISymbolInternal?
GetInternalSymbol
()
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
134
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)
117
Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\NoPia\CommonEmbeddedParameter.cs (1)
221
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\NoPia\CommonEmbeddedType.cs (1)
560
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
207
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emit\NoPia\VtblGap.cs (1)
178
Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
PEWriter\InheritedTypeParameter.cs (1)
193
CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
PEWriter\ModifiedTypeReference.cs (1)
148
CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
PEWriter\ReturnValueParameter.cs (1)
115
CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
PEWriter\RootModuleStaticConstructor.cs (1)
106
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
PEWriter\RootModuleType.cs (1)
325
CodeAnalysis.Symbols.ISymbolInternal? Cci.IReference.
GetInternalSymbol
() => null;
Microsoft.CodeAnalysis.CSharp (6)
Emitter\Model\AssemblyReference.cs (1)
58
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
156
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\ModuleReference.cs (1)
91
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => null;
Emitter\Model\NamedTypeReference.cs (1)
166
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => UnderlyingNamedType;
Emitter\Model\SymbolAdapter.cs (1)
34
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => AdaptedSymbol;
Emitter\Model\TypeMemberReference.cs (1)
51
CodeAnalysis.Symbols.ISymbolInternal Cci.IReference.
GetInternalSymbol
() => UnderlyingSymbol;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
AssemblyReference.cs (1)
46
Symbols.ISymbolInternal? IReference.
GetInternalSymbol
() => null;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
128
Symbols.ISymbolInternal IReference.
GetInternalSymbol
() => null;
Microsoft.CodeAnalysis.VisualBasic (5)
Emit\AssemblyReference.vb (1)
60
Private Function
IReferenceGetInternalSymbol
() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.GetInternalSymbol
Emit\ModuleReference.vb (1)
73
Private Function
IReferenceGetInternalSymbol
() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.GetInternalSymbol
Emit\NamedTypeReference.vb (1)
120
Private Function
IReferenceGetInternalSymbol
() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.GetInternalSymbol
Emit\SymbolAdapter.vb (1)
26
Private Function
IReferenceGetInternalSymbol
() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.GetInternalSymbol
Emit\TypeMemberReference.vb (1)
39
Private Function
IReferenceGetInternalSymbol
() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.GetInternalSymbol
156 references to GetInternalSymbol
Microsoft.CodeAnalysis (32)
CodeGen\ArrayMembers.cs (1)
363
=> ((object?)arrayType.
GetInternalSymbol
() ?? arrayType).ToString() + "." + Name;
CodeGen\PermissionSetAttribute.cs (1)
84
ISymbol iSymbol = _sourceAttribute.GetType(context).
GetInternalSymbol
()!.GetISymbol();
CodeGen\PrivateImplementationDetails.cs (2)
483
public override string ToString() => $"{(object?)_type.
GetInternalSymbol
() ?? _type} {(object?)_containingType.
GetInternalSymbol
() ?? _containingType}.{this.Name}";
Emit\CommonPEModuleBuilder.cs (5)
308
Debug.Assert(body == null || (object)methodSymbol == body.MethodDefinition.
GetInternalSymbol
());
804
builder.Add(field.
GetInternalSymbol
());
812
builder.Add(method.
GetInternalSymbol
());
820
builder.Add(property.
GetInternalSymbol
());
828
builder.Add(type.
GetInternalSymbol
());
Emit\EditAndContinue\DeletedEventDefinition.cs (1)
78
return OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedGenericParameter.cs (1)
99
return OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedMethodDefinition.cs (1)
138
return OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedParameterDefinition.cs (1)
66
return OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedPropertyDefinition.cs (1)
92
return OldDefinition.
GetInternalSymbol
();
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
136
return _oldTypeReference.
GetInternalSymbol
();
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
786
ReportReferencesToAddedSymbol(typeRef.
GetInternalSymbol
());
791
ReportReferencesToAddedSymbol(memberRef.
GetInternalSymbol
());
870
if (translatedType.
GetInternalSymbol
() is ITypeSymbolInternal typeSymbol)
Emit\EditAndContinue\SymbolChanges.cs (4)
75
var containingSymbol = containingType.
GetInternalSymbol
()?.GetISymbol();
140
=> definition.
GetInternalSymbol
() is { } internalSymbol && IsReplaced(internalSymbol.GetISymbol(), checkEnclosingTypes);
210
var symbol = def.
GetInternalSymbol
();
588
var field = fieldDefinition.
GetInternalSymbol
()?.GetISymbol();
Emit\EditAndContinue\SymbolMatcher.cs (1)
24
MapDefinition(definition)?.
GetInternalSymbol
() :
Emit\NoPia\CommonEmbeddedMethod.cs (1)
306
return UnderlyingMethod.
GetInternalSymbol
().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\NoPia\CommonEmbeddedType.cs (1)
714
return UnderlyingNamedType.
GetInternalSymbol
().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
PEWriter\MetadataWriter.cs (1)
1449
symbol = (errorEntity as Cci.IReference)?.
GetInternalSymbol
();
PEWriter\SymbolEquivalentEqualityComparer.cs (3)
37
var xSymbol = x.
GetInternalSymbol
();
38
var ySymbol = y.
GetInternalSymbol
();
50
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 (26)
Compiler\MethodCompiler.cs (1)
676
var method = (MethodSymbol)definition.
GetInternalSymbol
();
Emitter\EditAndContinue\CSharpDefinitionMap.cs (5)
61
if (_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
() is PENamedTypeSymbol other)
73
if (_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
() is PEEventSymbol other)
85
if (_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
() is PEFieldSymbol other)
97
if (_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
() is PEMethodSymbol other)
109
if (_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
() is PEPropertySymbol other)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (6)
66
if (definition.
GetInternalSymbol
() is Symbol symbol)
87
if (reference.
GetInternalSymbol
() is Symbol symbol)
548
return (NamedTypeSymbol?)value.Type?.
GetInternalSymbol
();
556
return (NamedTypeSymbol?)value.Type?.
GetInternalSymbol
();
561
return (NamedTypeSymbol?)value.Delegate?.
GetInternalSymbol
();
705
otherType.Type.
GetInternalSymbol
() is NamedTypeSymbol otherDelegateType &&
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
184
Append(result, _underlyingMethod.
GetInternalSymbol
() ?? (object)_underlyingMethod);
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
394
var method = m.
GetInternalSymbol
() as MethodSymbol;
Emitter\Model\PEModuleBuilder.cs (11)
657
var type = (NamedTypeSymbol)exportedType.Type.
GetInternalSymbol
();
827
var namedType = typeRef.
GetInternalSymbol
() as NamedTypeSymbol;
1846
var actuallyAddedThrowMethod = (SynthesizedThrowMethod)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowFunctionName)!.
GetInternalSymbol
()!;
1851
var internalSymbol = (SynthesizedThrowIfNullMethod)throwIfNullAdapter.
GetInternalSymbol
()!;
1853
Debug.Assert((object?)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowFunctionName)!.
GetInternalSymbol
() == internalSymbol.ThrowMethod);
1866
return (MethodSymbol)throwSwitchExpressionAdapter.
GetInternalSymbol
()!;
1875
return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionFunctionName)!.
GetInternalSymbol
()!;
1887
return (MethodSymbol)throwSwitchExpressionAdapter.
GetInternalSymbol
()!;
1900
return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowSwitchExpressionExceptionParameterlessFunctionName)!.
GetInternalSymbol
()!;
1912
return (MethodSymbol)throwAdapter.
GetInternalSymbol
()!;
1925
return (MethodSymbol)privateImplClass.GetMethod(PrivateImplementationDetails.SynthesizedThrowInvalidOperationExceptionFunctionName)!.
GetInternalSymbol
()!;
Emitter\Model\SynthesizedPrivateImplementationDetailsStaticConstructor.cs (1)
50
ArrayTypeSymbol payloadArrayType = (ArrayTypeSymbol)payloadRoot.Value.Type.
GetInternalSymbol
();
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (28)
Emit\CompilationEmitTests.cs (1)
2732
var cciMethods = class1TypeDef.GetMethods(context).Where(m => ((MethodSymbol)m.
GetInternalSymbol
()).MethodKind != MethodKind.Constructor);
Emit\EditAndContinue\SymbolMatcherTests.cs (26)
215
var other = (MethodSymbol)matcher.MapDefinition(member1.GetCciAdapter()).
GetInternalSymbol
();
267
Assert.Same(f0, (MethodSymbol)matcher.MapDefinition(f1.GetCciAdapter()).
GetInternalSymbol
());
268
Assert.Same(g0, (MethodSymbol)matcher.MapDefinition(g1.GetCciAdapter()).
GetInternalSymbol
());
317
Assert.Equal(f0, (MethodSymbol)matcher.MapDefinition(f1.GetCciAdapter()).
GetInternalSymbol
());
318
Assert.Equal(g0, (MethodSymbol)matcher.MapDefinition(g1.GetCciAdapter()).
GetInternalSymbol
());
356
Assert.Equal(f0, mf1.
GetInternalSymbol
());
1044
Assert.Same(s0, matcher.MapDefinition(s1.GetCciAdapter()).
GetInternalSymbol
());
1045
Assert.Same(t0, matcher.MapDefinition(t1.GetCciAdapter()).
GetInternalSymbol
());
1101
Assert.Same(s0, matcher.MapDefinition(s1.GetCciAdapter()).
GetInternalSymbol
());
1102
Assert.Same(t0, matcher.MapDefinition(t1.GetCciAdapter()).
GetInternalSymbol
());
1147
Assert.Equal("I<System.Int32,System.Boolean>.Item", ((PropertySymbol)mappedProperty.
GetInternalSymbol
()).MetadataName);
1413
Assert.Same(x0, matcher.MapDefinition(x1.GetCciAdapter()).
GetInternalSymbol
());
1414
Assert.Same(y0, matcher.MapDefinition(y1.GetCciAdapter()).
GetInternalSymbol
());
1415
Assert.Same(m0, matcher.MapDefinition(m1.GetCciAdapter()).
GetInternalSymbol
());
1416
Assert.Same(n0, matcher.MapDefinition(n1.GetCciAdapter()).
GetInternalSymbol
());
1417
Assert.Same(p0, matcher.MapDefinition(p1.GetCciAdapter()).
GetInternalSymbol
());
1418
Assert.Same(q0, matcher.MapDefinition(q1.GetCciAdapter()).
GetInternalSymbol
());
1419
Assert.Same(e0, matcher.MapDefinition(e1.GetCciAdapter()).
GetInternalSymbol
());
1420
Assert.Same(f0, matcher.MapDefinition(f1.GetCciAdapter()).
GetInternalSymbol
());
1458
Assert.Same(f_0, matcher.MapDefinition(f_1.GetCciAdapter()).
GetInternalSymbol
());
1622
Assert.Equal(member0, (MethodSymbol)matcher.MapDefinition(member1.GetCciAdapter()).
GetInternalSymbol
());
1654
Assert.Equal(member0, (MethodSymbol)matcher.MapDefinition(member1.GetCciAdapter()).
GetInternalSymbol
());
1684
Assert.Equal(member0, (PropertySymbol)matcher.MapDefinition(member1.GetCciAdapter()).
GetInternalSymbol
());
2027
Assert.Same(members0[i], matcher.MapDefinition(members1[i].GetCciAdapter()).
GetInternalSymbol
());
2078
Assert.Same(members0[i], matcher.MapDefinition(members1[i * 2].GetCciAdapter()).
GetInternalSymbol
());
2139
Assert.Same(members0[i * 2], matcher.MapDefinition(members1[i].GetCciAdapter()).
GetInternalSymbol
());
Emit\EmitMetadataTests.cs (1)
1420
Assert.Same(fieldDefinition.
GetInternalSymbol
(), field); // Dev10: value__ field is the first field.
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
ExpressionCompilerTests.cs (2)
2095
var localType = (NamedTypeSymbol)local.Type.
GetInternalSymbol
();
2164
var localType = (TypeSymbol)local.Type.
GetInternalSymbol
();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Symbols\Source\BaseClassTests.cs (1)
1578
.Select(impl => impl.TypeRef.
GetInternalSymbol
()).Cast<NamedTypeSymbol>().AsImmutable();
Symbols\Source\MethodTests.cs (18)
1686
Assert.Equal(@class, explicitOverride.ContainingType.
GetInternalSymbol
());
1687
Assert.Equal(classMethod, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
1688
Assert.Equal(interfaceMethod, explicitOverride.ImplementedMethod.
GetInternalSymbol
());
1730
Assert.Equal(@class, explicitOverride.ContainingType.
GetInternalSymbol
());
1731
Assert.Equal(classMethod, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
1732
Assert.Equal(interfaceMethod, explicitOverride.ImplementedMethod.
GetInternalSymbol
());
1777
Assert.Equal(@class, explicitOverride.ContainingType.
GetInternalSymbol
());
1778
Assert.Equal(classMethod, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
1779
Assert.Equal(interfaceMethod, explicitOverride.ImplementedMethod.
GetInternalSymbol
());
1831
Assert.Equal(@class, explicitOverride.ContainingType.
GetInternalSymbol
());
1832
Assert.Equal(classMethod, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
1835
Assert.Equal(substitutedInterface, explicitOverrideImplementedMethod.GetContainingType(context).
GetInternalSymbol
());
1972
Assert.Equal(classC, explicitOverride.ContainingType.
GetInternalSymbol
());
1973
Assert.Equal(methodC, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
1974
Assert.Equal(methodA, explicitOverride.ImplementedMethod.
GetInternalSymbol
());
2016
Assert.Equal(classC, explicitOverride.ContainingType.
GetInternalSymbol
());
2017
Assert.Equal(methodC, explicitOverride.ImplementingMethod.
GetInternalSymbol
());
2018
Assert.Equal(methodA, explicitOverride.ImplementedMethod.
GetInternalSymbol
());
Symbols\Source\PropertyTests.cs (8)
2511
Assert.True(explicitOverrides.All(@override => ReferenceEquals(@class, @override.ContainingType.
GetInternalSymbol
())));
2515
Assert.Equal(classPropertyGetter, getterOverride.ImplementingMethod.
GetInternalSymbol
());
2516
Assert.Equal(interfacePropertyGetter.ContainingType, getterOverride.ImplementedMethod.GetContainingType(context).
GetInternalSymbol
());
2520
Assert.Equal(classPropertySetter, setterOverride.ImplementingMethod.
GetInternalSymbol
());
2521
Assert.Equal(interfacePropertySetter.ContainingType, setterOverride.ImplementedMethod.GetContainingType(context).
GetInternalSymbol
());
2549
Assert.True(explicitOverrides.All(@override => ReferenceEquals(@class, @override.ContainingType.
GetInternalSymbol
())));
2553
Assert.Equal(classPropertyGetter, getterOverride.ImplementingMethod.
GetInternalSymbol
());
2554
Assert.Equal(interfacePropertyGetter.ContainingType, getterOverride.ImplementedMethod.GetContainingType(context).
GetInternalSymbol
());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1924
symbol = (type as Cci.IReference)?.
GetInternalSymbol
() as Symbol;
Microsoft.CodeAnalysis.Test.Utilities (2)
Metadata\ILBuilderVisualizer.cs (2)
62
ISymbol symbol = ((reference as ISymbolInternal) ?? (reference as Cci.IReference)?.
GetInternalSymbol
())?.GetISymbol();
68
return (((type as ISymbolInternal) ?? (type as Cci.IReference)?.
GetInternalSymbol
()) is ISymbolInternal symbol) ? symbol.GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat) : type.ToString();
Microsoft.CodeAnalysis.VisualBasic (20)
CodeGen\EmitStatement.vb (1)
1105
Dim UInt32Type = DirectCast(_module.GetSpecialType(SpecialType.System_UInt32, syntaxNode, _diagnostics).
GetInternalSymbol
(), TypeSymbol)
Compilation\MethodCompiler.vb (2)
876
Dim method = DirectCast(methodDef.
GetInternalSymbol
(), MethodSymbol)
1710
Dim field = DirectCast(def.
GetInternalSymbol
(), StateMachineFieldSymbol)
Emit\AssemblyReference.vb (1)
60
Private Function IReferenceGetInternalSymbol() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.
GetInternalSymbol
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (5)
73
Dim other = TryCast(_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
(), PENamedTypeSymbol)
84
Dim other = TryCast(_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
(), PEEventSymbol)
95
Dim other = TryCast(_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
(), PEFieldSymbol)
106
Dim other = TryCast(_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
(), PEMethodSymbol)
117
Dim other = TryCast(_mapToMetadata.MapDefinition(def)?.
GetInternalSymbol
(), PEPropertySymbol)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (3)
47
Dim symbol As Symbol = TryCast(definition.
GetInternalSymbol
(), Symbol)
62
Dim symbol As Symbol = TryCast(reference.
GetInternalSymbol
(), Symbol)
448
Return DirectCast(value.Type?.
GetInternalSymbol
(), NamedTypeSymbol)
Emit\ModuleReference.vb (1)
73
Private Function IReferenceGetInternalSymbol() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.
GetInternalSymbol
Emit\NamedTypeReference.vb (1)
120
Private Function IReferenceGetInternalSymbol() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.
GetInternalSymbol
Emit\NamedTypeSymbolAdapter.vb (1)
284
Dim method = TryCast(synthetic.
GetInternalSymbol
(), MethodSymbol)
Emit\PEModuleBuilder.vb (2)
440
Dim type = DirectCast(typeReference.
GetInternalSymbol
(), NamedTypeSymbol)
615
Dim namedType = TryCast(typeRef.
GetInternalSymbol
(), NamedTypeSymbol)
Emit\SymbolAdapter.vb (1)
26
Private Function IReferenceGetInternalSymbol() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.
GetInternalSymbol
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
81
Dim payloadArrayType As ArrayTypeSymbol = DirectCast(payloadRoot.Value.Type.
GetInternalSymbol
(), ArrayTypeSymbol)
Emit\TypeMemberReference.vb (1)
39
Private Function IReferenceGetInternalSymbol() As CodeAnalysis.Symbols.ISymbolInternal Implements Cci.IReference.
GetInternalSymbol
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
Emit\EditAndContinue\EditAndContinueTests.vb (3)
1026
Dim other = DirectCast(matcher.MapDefinition(DirectCast(member.GetCciAdapter(), Cci.IMethodDefinition)).
GetInternalSymbol
(), MethodSymbol)
1050
Dim other = DirectCast(matcher.MapDefinition(DirectCast(member.GetCciAdapter(), Cci.IMethodDefinition)).
GetInternalSymbol
(), MethodSymbol)
1084
Dim other = DirectCast(matcher.MapDefinition(DirectCast(member1.GetCciAdapter(), Cci.IMethodDefinition)).
GetInternalSymbol
(), MethodSymbol)
Emit\EditAndContinue\SymbolMatcherTests.vb (8)
167
Dim other = DirectCast(matcher.MapDefinition(member1.GetCciAdapter()).
GetInternalSymbol
(), MethodSymbol)
195
Dim mf1 = matcher.MapDefinition(f1.GetCciAdapter()).
GetInternalSymbol
()
609
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourceFieldSymbol)
747
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourceMemberMethodSymbol)
825
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourcePropertySymbol)
887
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourceFieldSymbol)
919
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourceNamedTypeSymbol)
950
Dim otherSymbol = DirectCast(other.
GetInternalSymbol
(), SourceNamedTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
ExpressionCompilerTests.vb (2)
2028
Dim localType = DirectCast(local.Type.
GetInternalSymbol
(), NamedTypeSymbol)
2082
Assert.Equal(method, DirectCast(locals.Single().Type.
GetInternalSymbol
(), TypeSymbol).ContainingSymbol)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (5)
SymbolsTests\Source\PropertyTests.vb (5)
8204
Assert.True(explicitOverrides.All(Function(override) [class] Is override.ContainingType.
GetInternalSymbol
()))
8208
Assert.Equal(classPropertyGetter, getterOverride.ImplementingMethod.
GetInternalSymbol
())
8209
Assert.Equal(interfacePropertyGetter.ContainingType, getterOverride.ImplementedMethod.GetContainingType(context).
GetInternalSymbol
())
8213
Assert.Equal(classPropertySetter, setterOverride.ImplementingMethod.
GetInternalSymbol
())
8214
Assert.Equal(interfacePropertySetter.ContainingType, setterOverride.ImplementedMethod.GetContainingType(context).
GetInternalSymbol
())