4 implementations of IMethodSymbol_ConstructedFrom
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
50public abstract IMethodSymbol ConstructedFrom { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
133IMethodSymbol IMethodSymbol.ConstructedFrom
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
899Private ReadOnly Property IMethodSymbol_ConstructedFrom As IMethodSymbol Implements IMethodSymbol.ConstructedFrom
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
50public abstract IMethodSymbol ConstructedFrom { get; }
26 references to IMethodSymbol_ConstructedFrom
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (4)
18Debug.Assert(symbol.Equals(symbol.ConstructedFrom)); 62visitor.WriteSymbolKey(symbol.ConstructedFrom); 69var constructedFrom = reader.ReadSymbolKey(contextualMethod?.ConstructedFrom, out var constructedFromFailureReason); 130Debug.Assert(symbol.Equals(symbol.ConstructedFrom));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
361if (!methodSymbol.Equals(methodSymbol.ConstructedFrom))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (1)
193=> symbol.Equals(symbol.ConstructedFrom);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
621method = method.ConstructedFrom; 641var typeArguments = method.ConstructedFrom.TypeParameters 643return method.ConstructedFrom.Construct(typeArguments);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CompilationTestUtils.cs (3)
143Assert.Same(constructedFrom, constructedMethod.ConstructedFrom); 146Assert.Same(constructedFrom, constructedFrom.ConstructedFrom); 160var constructedFrom = method.ConstructedFrom;
Extensions.cs (1)
852return ((IMethodSymbol)symbol).ConstructedFrom;
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
621method = method.ConstructedFrom; 641var typeArguments = method.ConstructedFrom.TypeParameters 643return method.ConstructedFrom.Construct(typeArguments);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\SymbolEquivalenceComparerTests.cs (2)
1878var cfmethod1 = method1.ConstructedFrom; 1879var cfmethod2 = method2.ConstructedFrom;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
899Private ReadOnly Property IMethodSymbol_ConstructedFrom As IMethodSymbol Implements IMethodSymbol.ConstructedFrom
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (4)
18Debug.Assert(symbol.Equals(symbol.ConstructedFrom)); 62visitor.WriteSymbolKey(symbol.ConstructedFrom); 69var constructedFrom = reader.ReadSymbolKey(contextualMethod?.ConstructedFrom, out var constructedFromFailureReason); 130Debug.Assert(symbol.Equals(symbol.ConstructedFrom));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
361if (!methodSymbol.Equals(methodSymbol.ConstructedFrom))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (1)
193=> symbol.Equals(symbol.ConstructedFrom);
Microsoft.VisualStudio.LanguageServices (1)
CallHierarchy\CallHierarchyProvider.cs (1)
88methodSymbol = methodSymbol.ConstructedFrom ?? methodSymbol;