733 references to First
ILLink.CodeFixProvider (1)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.CodeStyle.Fixes (21)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ITypeInferenceServiceExtensions.cs (1)
80return types.First();
Microsoft.CodeAnalysis.CSharp (15)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (26)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (12)
CommandLineTests.cs (12)
823Assert.Equal((int)ErrorCode.ERR_CantHaveWin32ResAndIcon, parsedArgs.Errors.First().Code);
827Assert.Equal((int)ErrorCode.ERR_CantHaveWin32ResAndManifest, parsedArgs.Errors.First().Code);
831Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code);
832Assert.Equal(1, parsedArgs.Errors.First().Arguments.Count);
836Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code);
837Assert.Equal(1, parsedArgs.Errors.First().Arguments.Count);
841Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code);
842Assert.Equal(1, parsedArgs.Errors.First().Arguments.Count);
1921Assert.Equal((int)ErrorCode.WRN_DefineIdentifierRequired, parsedArgs.Errors.First().Code);
1922Assert.Equal("4X", parsedArgs.Errors.First().Arguments[0]);
16000symbolContext.ReportDiagnostic(Diagnostic.Create(Warning01, symbolContext.Symbol.Locations.First()));
16017symbolContext.ReportDiagnostic(Diagnostic.Create(Warning02, symbolContext.Symbol.Locations.First()));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (136)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (123)
Microsoft.CodeAnalysis.CSharp.Features (29)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (119)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (48)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (15)
Microsoft.CodeAnalysis.EditorFeatures (3)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Microsoft.CodeAnalysis.Features (39)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ITypeInferenceServiceExtensions.cs (1)
80return types.First();
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
Microsoft.Extensions.Options.SourceGeneration (4)
Microsoft.Interop.SourceGeneration (1)
Microsoft.ML.Tests (2)
Microsoft.VisualStudio.LanguageServices (1)
Mvc.Analyzers.Test (22)
Mvc.Api.Analyzers.Test (40)
System.Windows.Forms.Analyzers.CodeFixes.CSharp (1)