25 references to DelegateInvokeName
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamedTypeSymbol.cs (1)
101? this.GetMembers(WellKnownMemberNames.DelegateInvokeName).OfType<IMethodSymbol>().FirstOrDefault()
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
5416argument.Syntax, default, WellKnownMemberNames.DelegateInvokeName, ImmutableArray.Create(sourceDelegate.DelegateInvokeMethod),
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1270case WellKnownMemberNames.DelegateInvokeName:
Symbols\NamedTypeSymbol.cs (1)
184var methods = GetMembers(WellKnownMemberNames.DelegateInvokeName);
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
295get { return WellKnownMemberNames.DelegateInvokeName; }
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
72get { return WellKnownMemberNames.DelegateInvokeName; }
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
281memberAccessExpression.Name.Identifier.ValueText == WellKnownMemberNames.DelegateInvokeName)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\WinMdDelegateTests.cs (2)
64WellKnownMemberNames.DelegateInvokeName); 69WellKnownMemberNames.DelegateInvokeName,
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
281memberAccessExpression.Name.Identifier.ValueText == WellKnownMemberNames.DelegateInvokeName)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ColorColorTests.cs (1)
1258Assert.Equal(WellKnownMemberNames.DelegateInvokeName, parentInfo.Symbol.Name); // Succeeded even though the receiver has an error.
Microsoft.CodeAnalysis.Features (1)
Shared\Extensions\ISymbolExtensions_2.cs (1)
218if (symbolName is WellKnownMemberNames.DelegateInvokeName or WellKnownMemberNames.DelegateBeginInvokeName)
Microsoft.CodeAnalysis.VisualBasic (6)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
203Dim members = type.GetMembers(WellKnownMemberNames.DelegateInvokeName)
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (1)
38Dim delegateInvoke = New SynthesizedDelegateMethodSymbol(WellKnownMemberNames.DelegateInvokeName,
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (1)
45Dim delegateInvoke = New SynthesizedDelegateMethodSymbol(WellKnownMemberNames.DelegateInvokeName,
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
408If Not IsShared AndAlso String.Equals(name, WellKnownMemberNames.DelegateInvokeName, StringComparison.Ordinal) AndAlso _containingType.TypeKind = TypeKind.Delegate Then
Symbols\NamedTypeSymbol.vb (1)
236Dim methods As ImmutableArray(Of Symbol) = GetMembers(WellKnownMemberNames.DelegateInvokeName)
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
266Return WellKnownMemberNames.DelegateInvokeName
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
712Return lambdaTypes.Where(Function(t) t.InferredType.TypeKind = TypeKind.Delegate).SelectMany(Function(t) t.InferredType.GetMembers(WellKnownMemberNames.DelegateInvokeName).OfType(Of IMethodSymbol)().Select(Function(m) New TypeInferenceInfo(m.ReturnType)))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
CodeGen\CodeGenWinMdDelegates.vb (2)
58WellKnownMemberNames.DelegateInvokeName}) 63WellKnownMemberNames.DelegateInvokeName,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
712Return lambdaTypes.Where(Function(t) t.InferredType.TypeKind = TypeKind.Delegate).SelectMany(Function(t) t.InferredType.GetMembers(WellKnownMemberNames.DelegateInvokeName).OfType(Of IMethodSymbol)().Select(Function(m) New TypeInferenceInfo(m.ReturnType)))
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
791TypeKind.Delegate => type.GetMembers(WellKnownMemberNames.DelegateInvokeName) is [IMethodSymbol invoke, ..]
Recommendations\AbstractRecommendationServiceRunner.cs (1)
218var methods = type.GetMembers(WellKnownMemberNames.DelegateInvokeName);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamedTypeSymbol.cs (1)
101? this.GetMembers(WellKnownMemberNames.DelegateInvokeName).OfType<IMethodSymbol>().FirstOrDefault()