6 references to ConstructIfGeneric
Microsoft.CodeAnalysis.CSharp (6)
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
176
.
ConstructIfGeneric
(TypeMap.SubstituteTypes(method.TypeArgumentsWithAnnotations));
Lowering\ExtensionMethodBodyRewriter.cs (1)
157
return ((MethodSymbol)_symbolMap[symbol.OriginalDefinition]).
ConstructIfGeneric
(TypeMap.SubstituteTypes(symbol.TypeArgumentsWithAnnotations));
Symbols\ReducedExtensionMethodSymbol.cs (1)
243
get { return _reducedFrom.
ConstructIfGeneric
(_typeArguments); }
Symbols\Source\CustomModifierUtils.cs (1)
40
MethodSymbol constructedSourceMethod = sourceMethod.
ConstructIfGeneric
(destinationMethod.TypeArgumentsWithAnnotations);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
483
MethodSymbol constructedDefinition = definition.
ConstructIfGeneric
(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(implementation.TypeParameters));
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
48
_interfaceMethod = interfaceMethod.
ConstructIfGeneric
(TypeArgumentsWithAnnotations);