4 implementations of IsGenericMethod
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
81public virtual bool IsGenericMethod => this.Arity > 0;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
226bool IMethodSymbol.IsGenericMethod
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1104Private ReadOnly Property IMethodSymbol_IsGenericMethod As Boolean Implements IMethodSymbol.IsGenericMethod
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
81public virtual bool IsGenericMethod => this.Arity > 0;
29 references to IsGenericMethod
ConfigurationSchemaGenerator (5)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
942_emitGenericParseEnum = _typeSymbols.Enum.GetMembers("Parse").Any(m => m is IMethodSymbol methodSymbol && methodSymbol.IsGenericMethod);
RuntimeSource\Configuration.Binder\Parser\ConfigurationBinder.cs (2)
148if (targetMethod.IsGenericMethod) 198if (targetMethod.IsGenericMethod)
RuntimeSource\Configuration.Binder\Parser\OptionsBuilderConfigurationExtensions.cs (1)
20if (!targetMethod.IsGenericMethod ||
RuntimeSource\Configuration.Binder\Parser\OptionsConfigurationServiceCollectionExtensions.cs (1)
22if (!targetMethod.IsGenericMethod ||
ILLink.RoslynAnalyzer (3)
TrimAnalysis\GenericArgumentDataFlow.cs (1)
74 if (method.IsGenericMethod) {
TrimAnalysis\MethodProxy.cs (1)
32 internal partial bool HasGenericParameters () => Method.IsGenericMethod;
TrimAnalysis\TrimAnalysisVisitor.cs (1)
397 if (!method.IsStatic && !method.IsGenericMethod && !method.IsConstructor ())
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
93if (method.IsGenericMethod)
Microsoft.AspNetCore.Mvc.Analyzers (2)
AttributesShouldNotBeAppliedToPageModelAnalyzer.cs (1)
71!method.IsGenericMethod &&
src\Shared\Roslyn\MvcFacts.cs (1)
93if (method.IsGenericMethod)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
src\Shared\Roslyn\MvcFacts.cs (1)
93if (method.IsGenericMethod)
Microsoft.CodeAnalysis (1)
Symbols\ISymbolExtensions.cs (1)
27if (!reducedFrom.IsGenericMethod)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
107method.IsGenericMethod
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NativeIntegerTests.cs (1)
321if (method.IsGenericMethod)
Semantics\OperatorTests.cs (2)
7650Assert.False(symbol1.IsGenericMethod); 8424Assert.False(symbol1.IsGenericMethod);
Microsoft.CodeAnalysis.Features (4)
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
427var memberName = _methodSymbol.IsGenericMethod
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
113!getMethod.IsGenericMethod && 145!setMethod.IsGenericMethod &&
SignatureHelp\AbstractSignatureHelpProvider.cs (1)
275if (symbol is IMethodSymbol methodSymbol && methodSymbol.IsGenericMethod && methodSymbol != methodSymbol.OriginalDefinition)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1104Private ReadOnly Property IMethodSymbol_IsGenericMethod As Boolean Implements IMethodSymbol.IsGenericMethod
Microsoft.CodeAnalysis.VisualBasic.Features (1)
SignatureHelp\InvocationExpressionSignatureHelpProvider.vb (1)
92If matchedMethodSymbol IsNot Nothing AndAlso matchedMethodSymbol.IsGenericMethod Then
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
107method.IsGenericMethod
Microsoft.Gen.Logging (1)
Parsing\Parser.TagProvider.cs (1)
97&& !method.IsGenericMethod
Microsoft.Interop.ComInterfaceGenerator (3)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (3)
66if (createAggregatedObject is IMethodSymbol { IsGenericMethod: true }) 78if (createWrapperOfType is IMethodSymbol { IsGenericMethod: true }) 94if (getComInterfaceForObject is IMethodSymbol { IsGenericMethod: true })
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ObjectBrowser\DescriptionBuilder.cs (1)
236if (methodSymbol.IsGenericMethod)