8 references to ConstructIfGeneric
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (1)
109
ConstructIfGeneric
(method.ContainingType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Concat(method.TypeArgumentsWithAnnotations));
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
282
.
ConstructIfGeneric
(TypeMap.SubstituteTypes(method.TypeArgumentsWithAnnotations));
Lowering\ExtensionMethodBodyRewriter.cs (1)
162
return ((MethodSymbol)_symbolMap[symbol.OriginalDefinition]).
ConstructIfGeneric
(TypeMap.SubstituteTypes(symbol.TypeArgumentsWithAnnotations));
Lowering\ExtensionMethodReferenceRewriter.cs (1)
159
ConstructIfGeneric
(method.ContainingType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Concat(method.TypeArgumentsWithAnnotations));
Symbols\ReducedExtensionMethodSymbol.cs (1)
244
get { return _reducedFrom.
ConstructIfGeneric
(_typeArguments); }
Symbols\Source\CustomModifierUtils.cs (1)
40
MethodSymbol constructedSourceMethod = sourceMethod.
ConstructIfGeneric
(destinationMethod.TypeArgumentsWithAnnotations);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
490
MethodSymbol constructedDefinition = definition.
ConstructIfGeneric
(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(implementation.TypeParameters));
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
48
_interfaceMethod = interfaceMethod.
ConstructIfGeneric
(TypeArgumentsWithAnnotations);