4 implementations of ReturnType
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
497 references to ReturnType
ConfigurationSchemaGenerator (2)
ILLink.RoslynAnalyzer (9)
Microsoft.Analyzers.Extra (2)
Microsoft.AspNetCore.App.Analyzers (7)
Microsoft.AspNetCore.App.CodeFixes (2)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (10)
Microsoft.CodeAnalysis (16)
Operations\ControlFlowGraphBuilder.cs (11)
2498(ITypeSymbolHelpers.IsBooleanType(unaryOperatorMethod.ReturnType) &&
2602if (unaryOperatorMethod != null && ITypeSymbolHelpers.IsBooleanType(unaryOperatorMethod.ReturnType))
2608semanticModel: null, condition.Syntax, unaryOperatorMethod.ReturnType, constantValue: null, isImplicit: true);
3345method.ReturnType, isImplicit: true);
4191method.ReturnType, isImplicit: true);
4353enterMethod.ReturnType, isImplicit: true));
4389enterMethod.ReturnType, isImplicit: true));
4436exitMethod.ReturnType, isImplicit: true));
4601result = new FlowCaptureReferenceOperation(enumeratorCaptureId, operation.Collection.Syntax, info.GetEnumeratorMethod.ReturnType, constantValue: null);
4707method.ReturnType, isImplicit: true);
4834semanticModel: null, operation.LimitValue.Syntax, method.ReturnType,
Microsoft.CodeAnalysis.CodeStyle (34)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.MethodSignatureInfo.cs (1)
25=> _methodSymbol.ReturnType;
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (22)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
CodeGen\CodeGenTupleTest.cs (13)
14247m1Tuple = (INamedTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
14263var m2Tuple = (INamedTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
14308m3TupleArray = (IArrayTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
14326m4TupleList = (INamedTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
14343var m6Tuple = m6Method.ReturnType;
14449m5TuplePointer = (IPointerTypeSymbol)((IMethodSymbol)symbolInfo.Symbol).ReturnType;
19662Assert.Equal("(System.Int32 a, System.Int32)", ((IMethodSymbol)invocation1.Symbol).ReturnType.ToTestDisplayString());
19665Assert.Equal("(System.Int32, System.Int32)", ((IMethodSymbol)invocation2.Symbol).ReturnType.ToTestDisplayString());
19668Assert.Equal("(System.Int32, System.Int32)[]", ((IMethodSymbol)invocation3.Symbol).ReturnType.ToTestDisplayString());
26298Assert.Equal("IResult<System.Int32>", doSymbol.ReturnType.ToTestDisplayString());
26331Assert.Equal("IResult<System.Int32>", doSymbol.ReturnType.ToTestDisplayString());
26364Assert.Equal("IResult<System.Int32>", doSymbol.ReturnType.ToTestDisplayString());
26397Assert.Equal("IResult<System.Int32>", doSymbol.ReturnType.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (41)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (36)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
Microsoft.CodeAnalysis.Features (34)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.MethodSignatureInfo.cs (1)
25=> _methodSymbol.ReturnType;
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (17)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (15)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (11)
Microsoft.CodeAnalysis.Workspaces (50)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Gen.Metrics (4)
Microsoft.Gen.MetricsReports (4)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.Interop.LibraryImportGenerator (21)
Microsoft.Interop.SourceGeneration (27)
MarshallerShape.cs (15)
294&& SymbolEqualityComparer.Default.Equals(managedType, m.ReturnType));
303&& SymbolEqualityComparer.Default.Equals(managedType, m.ReturnType));
346.FirstOrDefault(m => m is { IsStatic: true, Parameters.Length: 1, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
356.FirstOrDefault(m => m is { IsStatic: true, Parameters.Length: 2, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
368&& managedType.IsConstructedFromEqualTypes(m.ReturnType));
378&& managedType.IsConstructedFromEqualTypes(m.ReturnType));
386.FirstOrDefault(m => m is { IsStatic: true, Parameters.Length: 1, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
396.FirstOrDefault(m => m is { IsStatic: true, Parameters.Length: 2, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
472unmanagedType = toUnmanaged.ReturnType;
595&& SymbolEqualityComparer.Default.Equals(managedType, m.ReturnType));
603&& SymbolEqualityComparer.Default.Equals(managedType, m.ReturnType));
690.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 0, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
699.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 0, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
708.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 1, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
718.FirstOrDefault(m => m is { IsStatic: false, Parameters.Length: 1, ReturnsVoid: false, ReturnType: INamedTypeSymbol returnType }
Microsoft.ML.CodeAnalyzer.Tests (1)
Microsoft.VisualStudio.LanguageServices (2)
Microsoft.VisualStudio.LanguageServices.CSharp (7)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
System.Text.RegularExpressions.Generator (1)
System.Windows.Forms.Analyzers.CSharp (2)
System.Windows.Forms.Analyzers.VisualBasic (3)