24 references to GetISymbol
Microsoft.CodeAnalysis (24)
CodeGen\CompilationTestData.cs (1)
127IMethodSymbol iMethod = (IMethodSymbol)methodSymbol.GetISymbol();
CodeGen\PermissionSetAttribute.cs (1)
84ISymbol iSymbol = _sourceAttribute.GetType(context).GetInternalSymbol()!.GetISymbol();
Diagnostic\DiagnosticInfo.cs (1)
343var symbol = _arguments[i] as ISymbol ?? (_arguments[i] as ISymbolInternal)?.GetISymbol();
Diagnostic\Location.cs (1)
51public IModuleSymbol? MetadataModule { get { return (IModuleSymbol?)MetadataModuleInternal?.GetISymbol(); } }
DiagnosticAnalyzer\SymbolDeclaredCompilationEvent.cs (1)
31public ISymbol Symbol => SymbolInternal.GetISymbol();
Emit\CommonPEModuleBuilder.cs (2)
331Debug.Assert(((IMethodSymbol)methodSymbol.GetISymbol()).PartialDefinitionPart == null); // Must be definition. 348Debug.Assert(((IMethodSymbol)methodSymbol.GetISymbol()).PartialDefinitionPart == null); // Must be definition.
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
842if (symbol != null && _changes.IsAdded(symbol.GetISymbol()))
Emit\NoPia\CommonEmbeddedMethod.cs (1)
310return UnderlyingMethod.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\NoPia\CommonEmbeddedType.cs (1)
715return UnderlyingNamedType.GetInternalSymbol().GetISymbol().ToDisplayString(SymbolDisplayFormat.ILVisualizationFormat);
Emit\SemanticEdit.cs (2)
216=> new SemanticEdit(kind, oldSymbol?.GetISymbol(), newSymbol?.GetISymbol(), syntaxMap, instrumentation: default);
Operations\ControlFlowGraphBuilder.cs (8)
3334var method = (IMethodSymbol?)_compilation.CommonGetSpecialTypeMember(nullableMember)?.GetISymbol(); 4172? (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_IAsyncDisposable__DisposeAsync)?.GetISymbol() 4173: (IMethodSymbol?)_compilation.CommonGetSpecialTypeMember(SpecialMember.System_IDisposable__Dispose)?.GetISymbol()); 4327var enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter2)?.GetISymbol(); 4333enterMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter)?.GetISymbol(); 4416var exitMethod = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Exit)?.GetISymbol(); 4788var method = (IMethodSymbol?)_compilation.CommonGetWellKnownTypeMember(helper)?.GetISymbol(); 7793_compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_InvalidOperationException__ctor))?.GetISymbol();
PEWriter\MetadataWriter.PortablePdb.cs (1)
968var peReader = pair.AssemblySymbol.GetISymbol() is IAssemblySymbol assemblySymbol
SymbolDisplay\FormattedSymbol.cs (1)
35return _symbol.GetISymbol().ToDisplayString(_symbolDisplayFormat);
Symbols\ITypeSymbolInternal.cs (1)
38/// This API and <see cref="ISymbolInternal.GetISymbol"/> should return the same object.
Symbols\TypedConstant.cs (1)
83return symbol.GetISymbol();