935 references to DataMember
Contract.Service.IntegrationTests (2)
ServiceKnownTypeTests.4.0.0.cs (2)
175[DataMember] 177[DataMember]
FormatterWebSite (7)
Models\BookModelWithNoValidation.cs (1)
16[DataMember(IsRequired = true)]
Models\Person.cs (1)
16[DataMember]
Models\User.cs (5)
12[DataMember(IsRequired = true)] 16[DataMember(IsRequired = true)] 20[DataMember] 24[DataMember] 28[DataMember]
illink (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Binding\FormDataMapperTests.cs (4)
2456[DataMember(Name = "mycustomkey")] 2459[DataMember(Name = "mycustomvalue")] 2474[DataMember(Name = "mycustomkey")] 2477[DataMember(Name = "mycustomvalue")]
Microsoft.AspNetCore.Components.Forms.Tests (1)
ExpressionFormatterTest.cs (1)
185[DataMember(Name = "Country")]
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1256[DataMember(IsRequired = true)]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1431[DataMember(IsRequired = true)]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (11)
DataMemberRequiredBindingMetadataProviderTest.cs (7)
20new DataMemberAttribute() { IsRequired = true, } 46new DataMemberAttribute() { IsRequired = false, } 74new DataMemberAttribute() { IsRequired = true, } 122new DataMemberAttribute() { IsRequired = true, } 148[DataMember(IsRequired = true)] 155[DataMember(IsRequired = false)] 161[DataMember(IsRequired = true)]
ModelMetadataProviderTest.cs (4)
900[DataMember(IsRequired = true)] 907[DataMember(IsRequired = false)] 910[DataMember(IsRequired = false)] 916[DataMember(IsRequired = true)]
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (16)
XmlDataContractSerializerInputFormatterTest.cs (6)
21[DataMember] 28[DataMember] 35[DataMember] 37[DataMember] 45[DataMember] 47[DataMember]
XmlDataContractSerializerOutputFormatterTest.cs (10)
25[DataMember] 32[DataMember] 39[DataMember] 41[DataMember] 48[DataMember] 50[DataMember] 57[DataMember] 59[DataMember] 66[DataMember] 68[DataMember]
Microsoft.Build.Tasks.Core (5)
AssemblyFolderCollection.cs (1)
17[DataMember]
AssemblyFolderItem.cs (4)
15[DataMember(IsRequired = false, Order = 1)] 18[DataMember(IsRequired = true, Order = 2)] 21[DataMember(IsRequired = true, Order = 3)] 24[DataMember(IsRequired = false, Order = 4)]
Microsoft.Build.Utilities.Core (5)
AssemblyFolderCollection.cs (1)
17[DataMember]
AssemblyFolderItem.cs (4)
15[DataMember(IsRequired = false, Order = 1)] 18[DataMember(IsRequired = true, Order = 2)] 21[DataMember(IsRequired = true, Order = 3)] 24[DataMember(IsRequired = false, Order = 4)]
Microsoft.CodeAnalysis (31)
Diagnostic\FileLinePositionSpan.cs (3)
25[DataMember(Order = 0)] 31[DataMember(Order = 1)] 40[DataMember(Order = 2)]
DiagnosticAnalyzer\AnalyzerTelemetry.cs (20)
19[DataMember(Order = 0)] 25[DataMember(Order = 1)] 31[DataMember(Order = 2)] 37[DataMember(Order = 3)] 43[DataMember(Order = 4)] 49[DataMember(Order = 5)] 55[DataMember(Order = 6)] 61[DataMember(Order = 7)] 67[DataMember(Order = 8)] 73[DataMember(Order = 9)] 79[DataMember(Order = 10)] 85[DataMember(Order = 11)] 91[DataMember(Order = 12)] 97[DataMember(Order = 13)] 103[DataMember(Order = 14)] 109[DataMember(Order = 15)] 115[DataMember(Order = 16)] 123[DataMember(Order = 17)] 129[DataMember(Order = 18)] 135[DataMember(Order = 19)]
Text\LinePosition.cs (2)
22[DataMember(Order = 0)] 25[DataMember(Order = 1)]
Text\LinePositionSpan.cs (2)
17[DataMember(Order = 0)] 20[DataMember(Order = 1)]
Text\TextChange.cs (2)
23[DataMember(Order = 0)] 29[DataMember(Order = 1)]
Text\TextSpan.cs (2)
41[DataMember(Order = 0)] 52[DataMember(Order = 1)]
Microsoft.CodeAnalysis.CodeStyle (64)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\AddImport\AddImportPlacementOptions.cs (3)
16[DataMember] 22[DataMember] 25[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (4)
16[DataMember] public required SyntaxFormattingOptions FormattingOptions { get; init; } 17[DataMember] public required SimplifierOptions SimplifierOptions { get; init; } 18[DataMember] public AddImportPlacementOptions AddImportOptions { get; init; } = AddImportPlacementOptions.Default; 19[DataMember] public DocumentFormattingOptions DocumentFormattingOptions { get; init; } = DocumentFormattingOptions.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeAndImportGenerationOptions.cs (2)
13[DataMember] 16[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeGenerationOptions.cs (1)
23[DataMember] public NamingStylePreferences NamingStyle { get; init; } = NamingStylePreferences.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (2)
87[DataMember(Order = 0)] 90[DataMember(Order = 1)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (2)
17[property: DataMember(Order = 0)] ReportDiagnostic Severity, [property: DataMember(Order = 1)] bool IsExplicitlySpecified)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (2)
22[DataMember(Order = 0)] 25[DataMember(Order = 1)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AutoFormattingOptions.cs (4)
15[DataMember] public bool FormatOnReturn { get; init; } = true; 16[DataMember] public bool FormatOnTyping { get; init; } = true; 17[DataMember] public bool FormatOnSemicolon { get; init; } = true; 18[DataMember] public bool FormatOnCloseBrace { get; init; } = true;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (2)
18[DataMember] public string FileHeaderTemplate { get; init; } = ""; 19[DataMember] public bool InsertFinalNewLine { get; init; } = false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (4)
16[DataMember] public bool UseTabs { get; init; } = false; 17[DataMember] public int TabSize { get; init; } = 4; 18[DataMember] public int IndentationSize { get; init; } = 4; 19[DataMember] public string NewLine { get; init; } = Environment.NewLine;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (5)
19[DataMember] public LineFormattingOptions LineFormatting { get; init; } = LineFormattingOptions.Default; 20[DataMember] public bool SeparateImportDirectiveGroups { get; init; } = false; 21[DataMember] public AccessibilityModifiersRequired AccessibilityModifiersRequired { get; init; } = AccessibilityModifiersRequired.ForNonInterfaceMembers; 22[DataMember] public int WrappingColumn { get; init; } = 120; 23[DataMember] public int ConditionalExpressionWrappingLength { get; init; } = 120;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\IndentationOptions.cs (3)
12[property: DataMember(Order = 0)] SyntaxFormattingOptions FormattingOptions) 14[DataMember(Order = 1)] public AutoFormattingOptions AutoFormattingOptions { get; init; } = AutoFormattingOptions.Default; 15[DataMember(Order = 2)] public FormattingOptions2.IndentStyle IndentStyle { get; init; } = DefaultIndentStyle;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
26[DataMember(Order = 0)] 29[DataMember(Order = 1)] 32[DataMember(Order = 2)] 35[DataMember(Order = 3)] 38[DataMember(Order = 4)] 41[DataMember(Order = 5)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (3)
277[DataMember(Order = 0)] 280[DataMember(Order = 1)] 283[DataMember(Order = 2)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (3)
15[DataMember(Order = 0)] 18[DataMember(Order = 1)] 21[DataMember(Order = 2)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (8)
37[DataMember(Order = 0)] 40[DataMember(Order = 1)] 43[DataMember(Order = 2)] 46[DataMember(Order = 3)] 49[DataMember(Order = 4)] 331[DataMember(Order = 0)] 334[DataMember(Order = 1)] 456[DataMember(Order = 0)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\OrganizeImports\OrganizeImportsOptions.cs (3)
14[DataMember] public bool PlaceSystemNamespaceFirst { get; init; } = AddImportPlacementOptions.Default.PlaceSystemNamespaceFirst; 15[DataMember] public bool SeparateImportDirectiveGroups { get; init; } = SyntaxFormattingOptions.CommonDefaults.SeparateImportDirectiveGroups; 16[DataMember] public string NewLine { get; init; } = LineFormattingOptions.Default.NewLine;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SimplifierOptions.cs (6)
21[DataMember] public CodeStyleOption2<bool> QualifyFieldAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 22[DataMember] public CodeStyleOption2<bool> QualifyPropertyAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 23[DataMember] public CodeStyleOption2<bool> QualifyMethodAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 24[DataMember] public CodeStyleOption2<bool> QualifyEventAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 25[DataMember] public CodeStyleOption2<bool> PreferPredefinedTypeKeywordInMemberAccess { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement; 26[DataMember] public CodeStyleOption2<bool> PreferPredefinedTypeKeywordInDeclaration { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
122[DataMember(Order = 0)]
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\ImplementType\ImplementTypeOptions.cs (2)
17[DataMember] 20[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CleanCodeGenerationOptions.cs (2)
16[DataMember] 19[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
19[DataMember]
Microsoft.CodeAnalysis.CSharp.CodeStyle (28)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (10)
27[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedMethods { get; init; } = s_neverWithSilentEnforcement; 28[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedAccessors { get; init; } = s_whenPossibleWithSilentEnforcement; 29[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedProperties { get; init; } = s_whenPossibleWithSilentEnforcement; 30[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedIndexers { get; init; } = s_whenPossibleWithSilentEnforcement; 31[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedConstructors { get; init; } = s_neverWithSilentEnforcement; 32[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedOperators { get; init; } = s_neverWithSilentEnforcement; 33[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedLocalFunctions { get; init; } = s_neverWithSilentEnforcement; 34[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedLambdas { get; init; } = s_whenPossibleWithSilentEnforcement; 35[DataMember] public CodeStyleOption2<bool> PreferStaticLocalFunction { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 36[DataMember] public CodeStyleOption2<NamespaceDeclarationPreference> NamespaceDeclarations { get; init; } = s_blockedScopedWithSilentEnforcement;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (10)
55[DataMember] public SpacePlacement Spacing { get; init; } = SpacingDefault; 56[DataMember] public BinaryOperatorSpacingOptions SpacingAroundBinaryOperator { get; init; } = BinaryOperatorSpacingOptions.Single; 57[DataMember] public NewLinePlacement NewLines { get; init; } = NewLinesDefault; 58[DataMember] public LabelPositionOptions LabelPositioning { get; init; } = LabelPositionOptions.OneLess; 59[DataMember] public IndentationPlacement Indentation { get; init; } = IndentationDefault; 60[DataMember] public bool WrappingKeepStatementsOnSingleLine { get; init; } = true; 61[DataMember] public bool WrappingPreserveSingleLine { get; init; } = true; 62[DataMember] public CodeStyleOption2<NamespaceDeclarationPreference> NamespaceDeclarations { get; init; } = s_defaultNamespaceDeclarations; 63[DataMember] public CodeStyleOption2<bool> PreferTopLevelStatements { get; init; } = s_trueWithSilentEnforcement; 64[DataMember] public int CollectionExpressionWrappingLength { get; init; } = 120;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (8)
23[DataMember] public CodeStyleOption2<bool> VarForBuiltInTypes { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 24[DataMember] public CodeStyleOption2<bool> VarWhenTypeIsApparent { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 25[DataMember] public CodeStyleOption2<bool> VarElsewhere { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 26[DataMember] public CodeStyleOption2<bool> PreferSimpleDefaultExpression { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 27[DataMember] public CodeStyleOption2<bool> PreferParameterNullChecking { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 28[DataMember] public CodeStyleOption2<bool> AllowEmbeddedStatementsOnSameLine { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement; 29[DataMember] public CodeStyleOption2<PreferBracesPreference> PreferBraces { get; init; } = s_defaultPreferBraces; 30[DataMember] public CodeStyleOption2<bool> PreferThrowExpression { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement;
Microsoft.CodeAnalysis.CSharp.Workspaces (28)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (10)
27[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedMethods { get; init; } = s_neverWithSilentEnforcement; 28[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedAccessors { get; init; } = s_whenPossibleWithSilentEnforcement; 29[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedProperties { get; init; } = s_whenPossibleWithSilentEnforcement; 30[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedIndexers { get; init; } = s_whenPossibleWithSilentEnforcement; 31[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedConstructors { get; init; } = s_neverWithSilentEnforcement; 32[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedOperators { get; init; } = s_neverWithSilentEnforcement; 33[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedLocalFunctions { get; init; } = s_neverWithSilentEnforcement; 34[DataMember] public CodeStyleOption2<ExpressionBodyPreference> PreferExpressionBodiedLambdas { get; init; } = s_whenPossibleWithSilentEnforcement; 35[DataMember] public CodeStyleOption2<bool> PreferStaticLocalFunction { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 36[DataMember] public CodeStyleOption2<NamespaceDeclarationPreference> NamespaceDeclarations { get; init; } = s_blockedScopedWithSilentEnforcement;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (10)
55[DataMember] public SpacePlacement Spacing { get; init; } = SpacingDefault; 56[DataMember] public BinaryOperatorSpacingOptions SpacingAroundBinaryOperator { get; init; } = BinaryOperatorSpacingOptions.Single; 57[DataMember] public NewLinePlacement NewLines { get; init; } = NewLinesDefault; 58[DataMember] public LabelPositionOptions LabelPositioning { get; init; } = LabelPositionOptions.OneLess; 59[DataMember] public IndentationPlacement Indentation { get; init; } = IndentationDefault; 60[DataMember] public bool WrappingKeepStatementsOnSingleLine { get; init; } = true; 61[DataMember] public bool WrappingPreserveSingleLine { get; init; } = true; 62[DataMember] public CodeStyleOption2<NamespaceDeclarationPreference> NamespaceDeclarations { get; init; } = s_defaultNamespaceDeclarations; 63[DataMember] public CodeStyleOption2<bool> PreferTopLevelStatements { get; init; } = s_trueWithSilentEnforcement; 64[DataMember] public int CollectionExpressionWrappingLength { get; init; } = 120;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (8)
23[DataMember] public CodeStyleOption2<bool> VarForBuiltInTypes { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 24[DataMember] public CodeStyleOption2<bool> VarWhenTypeIsApparent { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 25[DataMember] public CodeStyleOption2<bool> VarElsewhere { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 26[DataMember] public CodeStyleOption2<bool> PreferSimpleDefaultExpression { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 27[DataMember] public CodeStyleOption2<bool> PreferParameterNullChecking { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement; 28[DataMember] public CodeStyleOption2<bool> AllowEmbeddedStatementsOnSameLine { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement; 29[DataMember] public CodeStyleOption2<PreferBracesPreference> PreferBraces { get; init; } = s_defaultPreferBraces; 30[DataMember] public CodeStyleOption2<bool> PreferThrowExpression { get; init; } = CodeStyleOption2.TrueWithSuggestionEnforcement;
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (2)
EmbeddedLanguages\DocumentHighlighting\IEmbeddedLanguageDocumentHighlighter.cs (2)
35[DataMember(Order = 0)] 38[DataMember(Order = 1)]
Microsoft.CodeAnalysis.ExternalAccess.Razor (2)
Remote\RazorPinnedSolutionInfoWrapper.cs (1)
15[DataMember(Order = 0)]
Remote\RazorRemoteServiceCallbackIdWrapper.cs (1)
14[DataMember(Order = 0)]
Microsoft.CodeAnalysis.Features (296)
AddImport\AddImportFixData.cs (13)
31[DataMember(Order = 0)] 40[DataMember(Order = 1)] 46[DataMember(Order = 2)] 52[DataMember(Order = 3)] 58[DataMember(Order = 4)] 66[DataMember(Order = 5)] 78[DataMember(Order = 6)] 85[DataMember(Order = 7)] 92[DataMember(Order = 8)] 95[DataMember(Order = 9)] 102[DataMember(Order = 10)] 105[DataMember(Order = 11)] 108[DataMember(Order = 12)]
AddImport\AddImportOptions.cs (3)
17[property: DataMember(Order = 0)] SymbolSearchOptions SearchOptions, 18[property: DataMember(Order = 1)] CodeCleanupOptions CleanupOptions, 19[property: DataMember(Order = 2)] MemberDisplayOptions MemberDisplayOptions);
BraceMatching\BraceMatchingOptions.cs (1)
12[property: DataMember(Order = 0)] HighlightingOptions HighlightingOptions)
BraceMatching\IBraceMatchingService.cs (2)
19[property: DataMember(Order = 0)] TextSpan LeftSpan, 20[property: DataMember(Order = 1)] TextSpan RightSpan);
CodeLens\ReferenceCount.cs (3)
16[property: DataMember(Order = 0)] int Count, 17[property: DataMember(Order = 1)] bool IsCapped, 18[property: DataMember(Order = 2)] string Version)
CodeLens\ReferenceLocationDescriptor.cs (17)
38[DataMember(Order = 0)] 44[DataMember(Order = 1)] 50[DataMember(Order = 2)] 56[DataMember(Order = 3)] 62[DataMember(Order = 4)] 68[DataMember(Order = 5)] 74[DataMember(Order = 6)] 77[DataMember(Order = 7)] 80[DataMember(Order = 8)] 86[DataMember(Order = 9)] 92[DataMember(Order = 10)] 98[DataMember(Order = 11)] 104[DataMember(Order = 12)] 110[DataMember(Order = 13)] 116[DataMember(Order = 14)] 122[DataMember(Order = 15)] 128[DataMember(Order = 16)]
CodeLens\ReferenceMethodDescriptor.cs (3)
29[DataMember(Order = 0)] 35[DataMember(Order = 1)] 41[DataMember(Order = 2)]
Common\TaggedText.cs (5)
26[DataMember(Order = 0)] 32[DataMember(Order = 1)] 38[DataMember(Order = 2)] 45[DataMember(Order = 3)] 52[DataMember(Order = 4)]
Completion\Providers\ImportCompletionProvider\SerializableImportCompletionItem.cs (7)
12[DataMember(Order = 0)] 15[DataMember(Order = 1)] 18[DataMember(Order = 2)] 21[DataMember(Order = 3)] 24[DataMember(Order = 4)] 27[DataMember(Order = 5)] 30[DataMember(Order = 6)]
Completion\Providers\ImportCompletionProvider\SerializableUnimportedExtensionMethods.cs (5)
19[DataMember(Order = 0)] 22[DataMember(Order = 1)] 25[DataMember(Order = 2)] 28[DataMember(Order = 3)] 31[DataMember(Order = 4)]
Contracts\Client\ISolutionSnapshotProvider.cs (1)
12internal readonly record struct SolutionSnapshotId([property: DataMember] int Id);
Contracts\EditAndContinue\ManagedActiveStatementDebugInfo.cs (4)
29[DataMember(Name = "activeInstruction")] 35[DataMember(Name = "documentName")] 42[DataMember(Name = "sourceSpan")] 48[DataMember(Name = "flags")]
Contracts\EditAndContinue\ManagedActiveStatementUpdate.cs (3)
29[DataMember(Name = "method")] 35[DataMember(Name = "ilOffset")] 41[DataMember(Name = "newSpan")]
Contracts\EditAndContinue\ManagedExceptionRegionUpdate.cs (3)
28[DataMember(Name = "method")] 39[DataMember(Name = "delta")] 51[DataMember(Name = "newSpan")]
Contracts\EditAndContinue\ManagedHotReloadAvailability.cs (2)
21[DataMember(Name = "status")] 27[DataMember(Name = "localizedMessage")]
Contracts\EditAndContinue\ManagedHotReloadDiagnostic.cs (5)
32[DataMember(Name = "id")] 38[DataMember(Name = "message")] 44[DataMember(Name = "severity")] 50[DataMember(Name = "filePath")] 56[DataMember(Name = "span")]
Contracts\EditAndContinue\ManagedHotReloadUpdate.cs (12)
26[DataMember(Name = "module")] 29[DataMember(Name = "moduleName")] 32[DataMember(Name = "projectId")] 35[DataMember(Name = "ilDelta")] 38[DataMember(Name = "metadataDelta")] 41[DataMember(Name = "pdbDelta")] 44[DataMember(Name = "updatedTypes")] 47[DataMember(Name = "requiredCapabilities")] 50[DataMember(Name = "updatedMethods")] 53[DataMember(Name = "sequencePoints")] 56[DataMember(Name = "activeStatements")] 59[DataMember(Name = "exceptionRegions")]
Contracts\EditAndContinue\ManagedHotReloadUpdates.cs (2)
13[DataMember(Name = "updates")] 16[DataMember(Name = "diagnostics")]
Contracts\EditAndContinue\ManagedInstructionId.cs (2)
30[DataMember(Name = "method")] 36[DataMember(Name = "ilOffset")]
Contracts\EditAndContinue\ManagedMethodId.cs (2)
34[DataMember(Name = "module")] 40[DataMember(Name = "method")]
Contracts\EditAndContinue\ManagedModuleMethodId.cs (2)
46[DataMember(Name = "token")] 66[DataMember(Name = "version")]
Contracts\EditAndContinue\SequencePointUpdates.cs (2)
27[DataMember(Name = "fileName")] 33[DataMember(Name = "lineUpdates")]
Contracts\EditAndContinue\SourceLineUpdate.cs (2)
45[DataMember(Name = "oldLine")] 51[DataMember(Name = "newLine")]
Contracts\EditAndContinue\SourceSpan.cs (4)
58[DataMember(Name = "startLine")] 65[DataMember(Name = "startColumn")] 71[DataMember(Name = "endLine")] 78[DataMember(Name = "endColumn")]
ConvertTupleToStruct\IRemoteConvertTupleToStructCodeRefactoringService.cs (2)
29[DataMember(Order = 0)] 32[DataMember(Order = 1)]
DesignerAttribute\DesignerAttributeData.cs (3)
18[DataMember(Order = 0)] 24[DataMember(Order = 1)] 30[DataMember(Order = 2)]
Diagnostics\DiagnosticArguments.cs (10)
21[DataMember(Order = 0)] 28[DataMember(Order = 1)] 35[DataMember(Order = 2)] 42[DataMember(Order = 3)] 49[DataMember(Order = 4)] 57[DataMember(Order = 5)] 63[DataMember(Order = 6)] 69[DataMember(Order = 7)] 75[DataMember(Order = 8)] 82[DataMember(Order = 9)]
Diagnostics\IRemoteDiagnosticAnalyzerService.cs (3)
25[DataMember(Order = 0)] 28[DataMember(Order = 1)] 31[DataMember(Order = 2)]
DocumentationComments\DocumentationCommentOptions.cs (2)
15[DataMember] public LineFormattingOptions LineFormatting { get; init; } = LineFormattingOptions.Default; 16[DataMember] public bool AutoXmlDocCommentGeneration { get; init; } = true;
DocumentHighlighting\HighlightingOptions.cs (3)
12[DataMember] public bool HighlightRelatedRegexComponentsUnderCursor { get; init; } = true; 13[DataMember] public bool HighlightRelatedJsonComponentsUnderCursor { get; init; } = true; 14[DataMember] public bool FrozenPartialSemantics { get; init; }
DocumentHighlighting\IDocumentHighlightsService.cs (2)
25[DataMember(Order = 0)] 28[DataMember(Order = 1)]
DocumentHighlighting\IRemoteDocumentHighlightsService.cs (2)
22[DataMember(Order = 0)] 25[DataMember(Order = 1)]
DocumentIdSpan.cs (2)
20[DataMember(Order = 0)] 22[DataMember(Order = 1)]
EditAndContinue\ActiveStatementId.cs (1)
10internal readonly record struct ActiveStatementId([property: DataMember(Order = 0)] int Ordinal);
EditAndContinue\ActiveStatementLineSpan.cs (2)
17[property: DataMember(Order = 0)] ActiveStatementId Id, 18[property: DataMember(Order = 1)] LinePositionSpan LineSpan);
EditAndContinue\ActiveStatementSpan.cs (4)
23[property: DataMember(Order = 0)] ActiveStatementId Id, 24[property: DataMember(Order = 1)] LinePositionSpan LineSpan, 25[property: DataMember(Order = 2)] ActiveStatementFlags Flags, 26[property: DataMember(Order = 3)] DocumentId? UnmappedDocumentId = null);
EditAndContinue\DebuggingSessionId.cs (1)
10internal readonly record struct DebuggingSessionId([property: DataMember] int Ordinal)
EditAndContinue\EmitSolutionUpdateResults.cs (6)
23[DataMember] 26[DataMember] 29[DataMember] 32[DataMember] 35[DataMember] 38[DataMember]
EditAndContinue\ModuleUpdate.cs (2)
13[property: DataMember(Order = 0)] ModuleUpdateStatus Status, 14[property: DataMember(Order = 1)] ImmutableArray<ManagedHotReloadUpdate> Updates);
EditAndContinue\RudeEditDiagnostic.cs (4)
16[DataMember(Order = 0)] 19[DataMember(Order = 1)] 22[DataMember(Order = 2)] 25[DataMember(Order = 3)]
EditAndContinue\SourceFileSpan.cs (2)
31[DataMember(Order = 0)] 37[DataMember(Order = 1)]
ExternalAccess\UnitTesting\API\UnitTestingInvocationReasons.cs (1)
17[DataMember(Order = 0)]
ExternalAccess\UnitTesting\API\UnitTestingSearchQuery.cs (5)
17[DataMember(Order = 0)] 23[DataMember(Order = 1)] 29[DataMember(Order = 2)] 35[DataMember(Order = 3)] 44[DataMember(Order = 4)]
ExternalAccess\UnitTesting\IRemoteUnitTestingSearchService.cs (2)
24[DataMember(Order = 0)] 26[DataMember(Order = 1)]
FindUsages\AssemblyLocation.cs (3)
15[property: DataMember(Order = 0)] string Name, 16[property: DataMember(Order = 1)] Version Version, 17[property: DataMember(Order = 2)] string? FilePath);
FindUsages\DefinitionItem.DetachedDefinitionItem.cs (8)
29[DataMember(Order = 0)] 31[DataMember(Order = 1)] 33[DataMember(Order = 2)] 35[DataMember(Order = 3)] 37[DataMember(Order = 4)] 39[DataMember(Order = 5)] 41[DataMember(Order = 6)] 43[DataMember(Order = 7)]
FindUsages\FindUsagesOptions.cs (1)
13[DataMember] public ClassificationOptions ClassificationOptions { get; init; } = ClassificationOptions.Default;
FindUsages\IRemoteFindUsagesService.cs (18)
165[DataMember(Order = 0)] 168[DataMember(Order = 1)] 195[DataMember(Order = 0)] 198[DataMember(Order = 1)] 201[DataMember(Order = 2)] 204[DataMember(Order = 3)] 207[DataMember(Order = 4)] 210[DataMember(Order = 5)] 213[DataMember(Order = 6)] 216[DataMember(Order = 7)] 219[DataMember(Order = 8)] 255[DataMember(Order = 0)] 258[DataMember(Order = 1)] 283[DataMember(Order = 0)] 286[DataMember(Order = 1)] 289[DataMember(Order = 2)] 292[DataMember(Order = 3)] 295[DataMember(Order = 4)]
FullyQualify\IFullyQualifyService.cs (4)
17[DataMember(Order = 0)] 20[DataMember(Order = 1)] 27[DataMember(Order = 0)] 29[DataMember(Order = 1)]
InheritanceMargin\InheritanceMarginItem.cs (5)
24[DataMember(Order = 0)] 31[DataMember(Order = 1)] 37[DataMember(Order = 2)] 43[DataMember(Order = 3)] 49[DataMember(Order = 4)]
InheritanceMargin\InheritanceTargetItem.cs (6)
19[DataMember(Order = 0)] 25[DataMember(Order = 1)] 31[DataMember(Order = 2)] 37[DataMember(Order = 3)] 43[DataMember(Order = 4)] 50[DataMember(Order = 5)]
InlineHints\InlineHintsOptions.cs (3)
13[DataMember] public InlineParameterHintsOptions ParameterOptions { get; init; } = InlineParameterHintsOptions.Default; 14[DataMember] public InlineTypeHintsOptions TypeOptions { get; init; } = InlineTypeHintsOptions.Default; 15[DataMember] public SymbolDescriptionOptions DisplayOptions { get; init; } = SymbolDescriptionOptions.Default;
InlineHints\InlineParameterHintsOptions.cs (8)
12[DataMember] public bool EnabledForParameters { get; init; } = false; 13[DataMember] public bool ForLiteralParameters { get; init; } = true; 14[DataMember] public bool ForIndexerParameters { get; init; } = true; 15[DataMember] public bool ForObjectCreationParameters { get; init; } = true; 16[DataMember] public bool ForOtherParameters { get; init; } = false; 17[DataMember] public bool SuppressForParametersThatDifferOnlyBySuffix { get; init; } = true; 18[DataMember] public bool SuppressForParametersThatMatchMethodIntent { get; init; } = true; 19[DataMember] public bool SuppressForParametersThatMatchArgumentName { get; init; } = true;
InlineHints\InlineTypeHintsOptions.cs (5)
12[DataMember] public bool EnabledForTypes { get; init; } = false; 13[DataMember] public bool ForImplicitVariableTypes { get; init; } = true; 14[DataMember] public bool ForLambdaParameterTypes { get; init; } = true; 15[DataMember] public bool ForImplicitObjectCreation { get; init; } = true; 16[DataMember] public bool ForCollectionExpressions { get; init; } = true;
LanguageServices\SymbolDisplayService\SymbolDescriptionOptions.cs (2)
14[DataMember] public QuickInfoOptions QuickInfoOptions { get; init; } = QuickInfoOptions.Default; 15[DataMember] public ClassificationOptions ClassificationOptions { get; init; } = ClassificationOptions.Default;
MetadataAsSource\MetadataAsSourceOptions.cs (3)
21[DataMember] 28[DataMember] 35[DataMember]
NavigateTo\RoslynNavigateToItem.cs (9)
38[DataMember(Order = 0)] 41[DataMember(Order = 1)] 44[DataMember(Order = 2)] 47[DataMember(Order = 3)] 53[DataMember(Order = 4)] 56[DataMember(Order = 5)] 59[DataMember(Order = 6)] 62[DataMember(Order = 7)] 65[DataMember(Order = 8)]
NavigationBar\IRemoteNavigationBarItemService.cs (14)
23[DataMember(Order = 0)] 26[DataMember(Order = 1)] 28[DataMember(Order = 2)] 30[DataMember(Order = 3)] 32[DataMember(Order = 4)] 34[DataMember(Order = 5)] 36[DataMember(Order = 6)] 41[DataMember(Order = 7)] 43[DataMember(Order = 8)] 45[DataMember(Order = 9)] 50[DataMember(Order = 10)] 55[DataMember(Order = 11)] 57[DataMember(Order = 12)] 62[DataMember(Order = 13)]
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (2)
66[DataMember(Order = 0)] 76[DataMember(Order = 1)]
QuickInfo\QuickInfoOptions.cs (2)
12[DataMember] public bool ShowRemarksInQuickInfo { get; init; } = true; 13[DataMember] public bool IncludeNavigationHintsInQuickInfo { get; init; } = true;
SemanticSearch\ExecuteQueryResult.cs (4)
23[property: DataMember(Order = 0)] string? ErrorMessage, 24[property: DataMember(Order = 1)] string[]? ErrorMessageArgs = null, 25[property: DataMember(Order = 2)] TimeSpan EmitTime = default, 26[property: DataMember(Order = 3)] TimeSpan ExecutionTime = default);
SemanticSearch\ISemanticSearchResultsObserver.cs (8)
25[property: DataMember(Order = 0)] string ProjectDisplayName, 26[property: DataMember(Order = 1)] string Message, 27[property: DataMember(Order = 2)] ImmutableArray<TaggedText> TypeName, 28[property: DataMember(Order = 3)] ImmutableArray<TaggedText> StackTrace, 29[property: DataMember(Order = 4)] TextSpan Span); 33[property: DataMember(Order = 0)] string Id, 34[property: DataMember(Order = 1)] string Message, 35[property: DataMember(Order = 2)] TextSpan Span);
src\Analyzers\Core\CodeFixes\ImplementType\ImplementTypeOptions.cs (2)
17[DataMember] 20[DataMember]
Structure\BlockStructureOptions.cs (14)
12[DataMember] public bool ShowBlockStructureGuidesForCommentsAndPreprocessorRegions { get; init; } = false; 13[DataMember] public bool ShowBlockStructureGuidesForDeclarationLevelConstructs { get; init; } = true; 14[DataMember] public bool ShowBlockStructureGuidesForCodeLevelConstructs { get; init; } = true; 15[DataMember] public bool ShowOutliningForCommentsAndPreprocessorRegions { get; init; } = true; 16[DataMember] public bool ShowOutliningForDeclarationLevelConstructs { get; init; } = true; 17[DataMember] public bool ShowOutliningForCodeLevelConstructs { get; init; } = true; 18[DataMember] public bool CollapseRegionsWhenFirstOpened { get; init; } = true; 19[DataMember] public bool CollapseImportsWhenFirstOpened { get; init; } = false; 20[DataMember] public bool CollapseMetadataImplementationsWhenFirstOpened { get; init; } = false; 21[DataMember] public bool CollapseEmptyMetadataImplementationsWhenFirstOpened { get; init; } = true; 22[DataMember] public bool CollapseRegionsWhenCollapsingToDefinitions { get; init; } = false; 23[DataMember] public bool CollapseLocalFunctionsWhenCollapsingToDefinitions { get; init; } = false; 24[DataMember] public int MaximumBannerLength { get; init; } = 80; 25[DataMember] public bool IsMetadataAsSource { get; init; } = false;
SymbolSearch\SymbolSearchOptions.cs (2)
16[DataMember] 19[DataMember]
UnusedReferences\ReferenceInfo.cs (5)
17[DataMember(Order = 0)] 26[DataMember(Order = 1)] 32[DataMember(Order = 2)] 38[DataMember(Order = 3)] 44[DataMember(Order = 4)]
ValueTracking\SerializableValueTrackedItem.cs (4)
21[DataMember(Order = 0)] 24[DataMember(Order = 1)] 27[DataMember(Order = 2)] 30[DataMember(Order = 3)]
Microsoft.CodeAnalysis.LanguageServer (4)
BrokeredServices\Services\Definitions\ProjectInitializationCompleteState.cs (4)
14[DataMember(IsRequired = true, EmitDefaultValue = false, Name = "environmentStateVersion")] 17[DataMember(IsRequired = false, EmitDefaultValue = true, Name = "projectsLoadedCount")] 20[DataMember(IsRequired = false, EmitDefaultValue = true, Name = "projectsFailedCount")] 23[DataMember(IsRequired = true, EmitDefaultValue = false, Name = "stateUpdateVersion")]
Microsoft.CodeAnalysis.Remote.Workspaces (13)
ExternalAccess\Pythia\Api\PythiaPinnedSolutionInfoWrapper.cs (1)
12[DataMember(Order = 0)]
ExternalAccess\Pythia\Api\PythiaRemoteServiceCallbackIdWrapper.cs (1)
13[DataMember(Order = 0)]
ExternalAccess\UnitTesting\Api\UnitTestingPinnedSolutionInfoWrapper.cs (1)
12[DataMember(Order = 0)]
ExternalAccess\UnitTesting\Api\UnitTestingRemoteServiceCallbackIdWrapper.cs (1)
13[DataMember(Order = 0)]
ProjectSystem\MetadataReferenceInfo.cs (3)
12[property: DataMember(Order = 0)] string FilePath, 13[property: DataMember(Order = 1)] string? Aliases, 14[property: DataMember(Order = 2)] bool EmbedInteropTypes)
ProjectSystem\SourceFileInfo.cs (2)
12[property: DataMember(Order = 0)] string FilePath, 13[property: DataMember(Order = 1)] IReadOnlyList<string> FolderNames);
ProjectSystem\WorkspaceProjectCreationInfo.cs (4)
12[property: DataMember(Order = 0)] string Language, 13[property: DataMember(Order = 1)] string DisplayName, 14[property: DataMember(Order = 2)] string? FilePath, 15[property: DataMember(Order = 3)] IReadOnlyDictionary<string, string> BuildSystemProperties);
Microsoft.CodeAnalysis.Workspaces (234)
Classification\ClassificationOptions.cs (5)
12[DataMember] public bool ClassifyReassignedVariables { get; init; } = false; 13[DataMember] public bool ClassifyObsoleteSymbols { get; init; } = true; 14[DataMember] public bool ColorizeRegexPatterns { get; init; } = true; 15[DataMember] public bool ColorizeJsonPatterns { get; init; } = true; 16[DataMember] public bool FrozenPartialSemantics { get; init; } = false;
Classification\IRemoteSemanticClassificationService.cs (2)
66[DataMember(Order = 0)] 69[DataMember(Order = 1)]
Diagnostics\DiagnosticData.cs (17)
39[DataMember(Order = 0)] 42[DataMember(Order = 1)] 45[DataMember(Order = 2)] 48[DataMember(Order = 3)] 51[DataMember(Order = 4)] 54[DataMember(Order = 5)] 57[DataMember(Order = 6)] 60[DataMember(Order = 7)] 63[DataMember(Order = 8)] 66[DataMember(Order = 9)] 69[DataMember(Order = 10)] 72[DataMember(Order = 11)] 78[DataMember(Order = 12)] 81[DataMember(Order = 13)] 84[DataMember(Order = 14)] 87[DataMember(Order = 15)] 90[DataMember(Order = 16)]
Diagnostics\DiagnosticDataLocation.cs (3)
22[DataMember(Order = 0)] 28[DataMember(Order = 1)] 36[DataMember(Order = 2)]
Diagnostics\SerializableDiagnosticAnalysisResultMap.cs (6)
20[DataMember(Order = 0)] 23[DataMember(Order = 1)] 34[DataMember(Order = 0)] 37[DataMember(Order = 1)] 40[DataMember(Order = 2)] 43[DataMember(Order = 3)]
ExtractMethod\ExtractMethodOptions.cs (2)
24[DataMember] public required CodeGenerationOptions CodeGenerationOptions { get; init; } 25[DataMember] public required CodeCleanupOptions CodeCleanupOptions { get; init; }
FindSymbols\FindReferences\FindReferencesSearchOptions.cs (5)
62[property: DataMember(Order = 0)] bool AssociatePropertyReferencesWithSpecificAccessor = false, 63[property: DataMember(Order = 1)] bool Cascade = true, 64[property: DataMember(Order = 2)] bool Explicit = true, 65[property: DataMember(Order = 3)] bool UnidirectionalHierarchyCascade = false, 66[property: DataMember(Order = 4)] bool DisplayAllDefinitions = false)
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (7)
53[DataMember(Order = 0)] 59[DataMember(Order = 1)] 69[DataMember(Order = 2)] 79[DataMember(Order = 3)] 82[DataMember(Order = 4)] 88[DataMember(Order = 5)] 93[DataMember(Order = 6)]
Log\PiiValue.cs (1)
15[DataMember(Order = 0)]
Packaging\IPackageInstallerService.cs (2)
49[DataMember(Order = 0)] 52[DataMember(Order = 1)]
PatternMatching\PatternMatch.cs (4)
18[DataMember(Order = 0)] 21[DataMember(Order = 1)] 27[DataMember(Order = 2)] 34[DataMember(Order = 3)]
Recommendations\RecommendationOptions.cs (2)
34[DataMember] public bool HideAdvancedMembers { get; init; } = false; 35[DataMember] public bool FilterOutOfScopeLocals { get; init; } = true;
Remote\RemoteArguments.cs (10)
26[DataMember(Order = 0)] 29[DataMember(Order = 1)] 138[DataMember(Order = 0)] 141[DataMember(Order = 1)] 144[DataMember(Order = 2)] 147[DataMember(Order = 3)] 150[DataMember(Order = 4)] 153[DataMember(Order = 5)] 156[DataMember(Order = 6)] 203[DataMember(Order = 0)]
Remote\RemoteServiceCallbackId.cs (1)
11[property: DataMember(Order = 0)] int Id);
Rename\ConflictEngine\ComplexifiedSpan.cs (3)
14[DataMember(Order = 0)] 17[DataMember(Order = 1)] 20[DataMember(Order = 2)]
Rename\ConflictEngine\RelatedLocation.cs (5)
23[property: DataMember(Order = 0)] TextSpan ConflictCheckSpan, 24[property: DataMember(Order = 1)] DocumentId DocumentId, 25[property: DataMember(Order = 2)] RelatedLocationType Type, 26[property: DataMember(Order = 3)] bool IsReference = false, 27[property: DataMember(Order = 4)] TextSpan ComplexifiedTargetSpan = default)
Rename\IRemoteRenamerService.cs (21)
62[DataMember(Order = 0)] 65[DataMember(Order = 1)] 68[DataMember(Order = 2)] 71[DataMember(Order = 3)] 74[DataMember(Order = 4)] 77[DataMember(Order = 5)] 80[DataMember(Order = 6)] 153[DataMember(Order = 0)] 156[DataMember(Order = 1)] 159[DataMember(Order = 2)] 162[DataMember(Order = 3)] 179[DataMember(Order = 0)] 182[DataMember(Order = 1)] 219[DataMember(Order = 0)] 222[DataMember(Order = 1)] 225[DataMember(Order = 2)] 228[DataMember(Order = 3)] 231[DataMember(Order = 4)] 234[DataMember(Order = 5)] 237[DataMember(Order = 6)] 240[DataMember(Order = 7)]
Rename\RenameOptions.cs (6)
34[property: DataMember(Order = 0)] bool RenameOverloads = false, 35[property: DataMember(Order = 1)] bool RenameInStrings = false, 36[property: DataMember(Order = 2)] bool RenameInComments = false, 37[property: DataMember(Order = 3)] bool RenameFile = false); 46[property: DataMember(Order = 0)] bool RenameMatchingTypeInStrings = false, 47[property: DataMember(Order = 1)] bool RenameMatchingTypeInComments = false);
SolutionCrawler\InvocationReasons.cs (1)
17[DataMember(Order = 0)]
SourceGeneration\IRemoteSourceGenerationService.cs (6)
18[property: DataMember(Order = 0)] SourceGeneratedDocumentIdentity DocumentIdentity, 19[property: DataMember(Order = 1)] SourceGeneratedDocumentContentIdentity ContentIdentity, 20[property: DataMember(Order = 2)] DateTime GenerationDateTime); 81[property: DataMember(Order = 0)] Checksum OriginalSourceTextContentHash, 82[property: DataMember(Order = 1)] string? EncodingName, 83[property: DataMember(Order = 2)] SourceHashAlgorithm ChecksumAlgorithm);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\AddImport\AddImportPlacementOptions.cs (3)
16[DataMember] 22[DataMember] 25[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (4)
16[DataMember] public required SyntaxFormattingOptions FormattingOptions { get; init; } 17[DataMember] public required SimplifierOptions SimplifierOptions { get; init; } 18[DataMember] public AddImportPlacementOptions AddImportOptions { get; init; } = AddImportPlacementOptions.Default; 19[DataMember] public DocumentFormattingOptions DocumentFormattingOptions { get; init; } = DocumentFormattingOptions.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeAndImportGenerationOptions.cs (2)
13[DataMember] 16[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeGenerationOptions.cs (1)
23[DataMember] public NamingStylePreferences NamingStyle { get; init; } = NamingStylePreferences.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (2)
87[DataMember(Order = 0)] 90[DataMember(Order = 1)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (2)
17[property: DataMember(Order = 0)] ReportDiagnostic Severity, [property: DataMember(Order = 1)] bool IsExplicitlySpecified)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (2)
22[DataMember(Order = 0)] 25[DataMember(Order = 1)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AutoFormattingOptions.cs (4)
15[DataMember] public bool FormatOnReturn { get; init; } = true; 16[DataMember] public bool FormatOnTyping { get; init; } = true; 17[DataMember] public bool FormatOnSemicolon { get; init; } = true; 18[DataMember] public bool FormatOnCloseBrace { get; init; } = true;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (2)
18[DataMember] public string FileHeaderTemplate { get; init; } = ""; 19[DataMember] public bool InsertFinalNewLine { get; init; } = false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (4)
16[DataMember] public bool UseTabs { get; init; } = false; 17[DataMember] public int TabSize { get; init; } = 4; 18[DataMember] public int IndentationSize { get; init; } = 4; 19[DataMember] public string NewLine { get; init; } = Environment.NewLine;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (5)
19[DataMember] public LineFormattingOptions LineFormatting { get; init; } = LineFormattingOptions.Default; 20[DataMember] public bool SeparateImportDirectiveGroups { get; init; } = false; 21[DataMember] public AccessibilityModifiersRequired AccessibilityModifiersRequired { get; init; } = AccessibilityModifiersRequired.ForNonInterfaceMembers; 22[DataMember] public int WrappingColumn { get; init; } = 120; 23[DataMember] public int ConditionalExpressionWrappingLength { get; init; } = 120;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\IndentationOptions.cs (3)
12[property: DataMember(Order = 0)] SyntaxFormattingOptions FormattingOptions) 14[DataMember(Order = 1)] public AutoFormattingOptions AutoFormattingOptions { get; init; } = AutoFormattingOptions.Default; 15[DataMember(Order = 2)] public FormattingOptions2.IndentStyle IndentStyle { get; init; } = DefaultIndentStyle;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
26[DataMember(Order = 0)] 29[DataMember(Order = 1)] 32[DataMember(Order = 2)] 35[DataMember(Order = 3)] 38[DataMember(Order = 4)] 41[DataMember(Order = 5)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (3)
277[DataMember(Order = 0)] 280[DataMember(Order = 1)] 283[DataMember(Order = 2)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (3)
15[DataMember(Order = 0)] 18[DataMember(Order = 1)] 21[DataMember(Order = 2)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (8)
37[DataMember(Order = 0)] 40[DataMember(Order = 1)] 43[DataMember(Order = 2)] 46[DataMember(Order = 3)] 49[DataMember(Order = 4)] 331[DataMember(Order = 0)] 334[DataMember(Order = 1)] 456[DataMember(Order = 0)]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\OrganizeImports\OrganizeImportsOptions.cs (3)
14[DataMember] public bool PlaceSystemNamespaceFirst { get; init; } = AddImportPlacementOptions.Default.PlaceSystemNamespaceFirst; 15[DataMember] public bool SeparateImportDirectiveGroups { get; init; } = SyntaxFormattingOptions.CommonDefaults.SeparateImportDirectiveGroups; 16[DataMember] public string NewLine { get; init; } = LineFormattingOptions.Default.NewLine;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SimplifierOptions.cs (6)
21[DataMember] public CodeStyleOption2<bool> QualifyFieldAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 22[DataMember] public CodeStyleOption2<bool> QualifyPropertyAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 23[DataMember] public CodeStyleOption2<bool> QualifyMethodAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 24[DataMember] public CodeStyleOption2<bool> QualifyEventAccess { get; init; } = CodeStyleOption2.FalseWithSilentEnforcement; 25[DataMember] public CodeStyleOption2<bool> PreferPredefinedTypeKeywordInMemberAccess { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement; 26[DataMember] public CodeStyleOption2<bool> PreferPredefinedTypeKeywordInDeclaration { get; init; } = CodeStyleOption2.TrueWithSilentEnforcement;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
122[DataMember(Order = 0)]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CleanCodeGenerationOptions.cs (2)
16[DataMember] 19[DataMember]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
19[DataMember]
SymbolSearch\ISymbolSearchService.cs (12)
23[property: DataMember(Order = 0)] string Name, 24[property: DataMember(Order = 1)] int Arity) 35[property: DataMember(Order = 0)] ImmutableArray<string> Names) 82[DataMember(Order = 0)] 85[DataMember(Order = 1)] 97[DataMember(Order = 2)] 100[DataMember(Order = 3)] 103[DataMember(Order = 4)] 113[DataMember(Order = 2)] 143[DataMember(Order = 0)] 146[DataMember(Order = 1)] 149[DataMember(Order = 2)]
TaskList\TaskListItem.cs (5)
14[property: DataMember(Order = 0)] TaskListItemPriority Priority, 15[property: DataMember(Order = 1)] string Message, 16[property: DataMember(Order = 2)] DocumentId DocumentId, 17[property: DataMember(Order = 3)] FileLinePositionSpan Span, 18[property: DataMember(Order = 4)] FileLinePositionSpan MappedSpan);
TaskList\TaskListItemDescriptor.cs (2)
25[DataMember(Order = 0)] 27[DataMember(Order = 1)]
TaskList\TaskListOptions.cs (2)
15[DataMember] 18[DataMember]
Workspace\Host\PersistentStorage\DocumentKey.cs (4)
21[DataMember(Order = 0)] 24[DataMember(Order = 1)] 27[DataMember(Order = 2)] 30[DataMember(Order = 3)]
Workspace\Host\PersistentStorage\ProjectKey.cs (5)
19[DataMember(Order = 0)] 22[DataMember(Order = 1)] 25[DataMember(Order = 2)] 28[DataMember(Order = 3)] 31[DataMember(Order = 4)]
Workspace\Host\PersistentStorage\SolutionKey.cs (2)
18[property: DataMember(Order = 0)] SolutionId Id, 19[property: DataMember(Order = 1)] string? FilePath)
Workspace\IWorkspaceConfigurationService.cs (3)
36[property: DataMember(Order = 0)] SourceGeneratorExecutionPreference SourceGeneratorExecution = SourceGeneratorExecutionPreference.Automatic, 37[property: DataMember(Order = 1)] bool ReloadChangedAnalyzerReferences = true, 38[property: DataMember(Order = 2)] bool ValidateCompilationTrackerStates =
Workspace\Solution\AssetPath.cs (3)
24[DataMember(Order = 0)] 30[DataMember(Order = 1)] 36[DataMember(Order = 2)]
Workspace\Solution\Checksum.cs (2)
23[field: FieldOffset(0)][property: DataMember(Order = 0)] long Data1, 24[field: FieldOffset(8)][property: DataMember(Order = 1)] long Data2) : IComparable<Checksum>
Workspace\Solution\DocumentId.cs (4)
21[DataMember(Order = 0)] 23[DataMember(Order = 1)] 25[DataMember(Order = 2)] 27[DataMember(Order = 3)]
Workspace\Solution\ProjectId.cs (2)
35[DataMember(Order = 0)] 43[DataMember(Order = 1)]
Workspace\Solution\SolutionId.cs (2)
25[DataMember(Order = 0)] 28[DataMember(Order = 1)]
Workspace\Solution\SourceGeneratedDocumentIdentity.cs (4)
21[DataMember(Order = 0)] public DocumentId DocumentId { get; } 22[DataMember(Order = 1)] public string HintName { get; } 23[DataMember(Order = 2)] public SourceGeneratorIdentity Generator { get; } 24[DataMember(Order = 3)] public string FilePath { get; }
Workspace\Solution\SourceGeneratorExecutionVersion.cs (2)
29[property: DataMember(Order = 0)] int MajorVersion, 30[property: DataMember(Order = 1)] int MinorVersion)
Workspace\Solution\SourceGeneratorIdentity.cs (4)
25[property: DataMember(Order = 0)] string AssemblyName, 26[property: DataMember(Order = 1)] string? AssemblyPath, 27[property: DataMember(Order = 2)] Version AssemblyVersion, 28[property: DataMember(Order = 3)] string TypeName)
Microsoft.CodeAnalysis.Workspaces.MSBuild (37)
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\DiagnosticLogItem.cs (3)
18[DataMember(Order = 0)] 21[DataMember(Order = 1)] 24[DataMember(Order = 2)]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\DocumentFileInfo.cs (5)
19[DataMember(Order = 0)] 27[DataMember(Order = 1)] 34[DataMember(Order = 2)] 40[DataMember(Order = 3)] 46[DataMember(Order = 4)]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\FileGlobs.cs (3)
12[property: DataMember(Order = 0)] ImmutableArray<string> Includes, 13[property: DataMember(Order = 1)] ImmutableArray<string> Excludes, 14[property: DataMember(Order = 2)] ImmutableArray<string> Removes
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\PackageReference.cs (2)
11[property: DataMember(Order = 0)] string Name, 12[property: DataMember(Order = 1)] string VersionRange
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileInfo.cs (21)
19[DataMember] 25[DataMember] 31[DataMember] 37[DataMember] 43[DataMember] 49[DataMember] 52[DataMember] 66[DataMember] 73[DataMember] 80[DataMember] 86[DataMember] 92[DataMember] 98[DataMember] 104[DataMember] 110[DataMember] 116[DataMember] 122[DataMember] 128[DataMember] 134[DataMember] 140[DataMember] 143[DataMember]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileReference.cs (3)
21[DataMember(Order = 0)] 27[DataMember(Order = 1)] 33[DataMember(Order = 2)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (37)
Rpc\Contracts\DiagnosticLogItem.cs (3)
18[DataMember(Order = 0)] 21[DataMember(Order = 1)] 24[DataMember(Order = 2)]
Rpc\Contracts\DocumentFileInfo.cs (5)
19[DataMember(Order = 0)] 27[DataMember(Order = 1)] 34[DataMember(Order = 2)] 40[DataMember(Order = 3)] 46[DataMember(Order = 4)]
Rpc\Contracts\FileGlobs.cs (3)
12[property: DataMember(Order = 0)] ImmutableArray<string> Includes, 13[property: DataMember(Order = 1)] ImmutableArray<string> Excludes, 14[property: DataMember(Order = 2)] ImmutableArray<string> Removes
Rpc\Contracts\PackageReference.cs (2)
11[property: DataMember(Order = 0)] string Name, 12[property: DataMember(Order = 1)] string VersionRange
Rpc\Contracts\ProjectFileInfo.cs (21)
19[DataMember] 25[DataMember] 31[DataMember] 37[DataMember] 43[DataMember] 49[DataMember] 52[DataMember] 66[DataMember] 73[DataMember] 80[DataMember] 86[DataMember] 92[DataMember] 98[DataMember] 104[DataMember] 110[DataMember] 116[DataMember] 122[DataMember] 128[DataMember] 134[DataMember] 140[DataMember] 143[DataMember]
Rpc\Contracts\ProjectFileReference.cs (3)
21[DataMember(Order = 0)] 27[DataMember(Order = 1)] 33[DataMember(Order = 2)]
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
128[DataMember(Name = "capabilities")]
ScenarioTests.Common.Tests (45)
ScenarioTestTypes.cs (45)
46[DataMember(EmitDefaultValue = false, Order = 1)] 48[DataMember(EmitDefaultValue = false, Order = 0)] 50[DataMember(EmitDefaultValue = false, Order = 3)] 52[DataMember(EmitDefaultValue = false, Order = 2)] 89[DataMember(EmitDefaultValue = false, Order = 0)] 129[DataMember] 132[DataMember] 145[DataMember] 148[DataMember(Name = "Result")] 302[DataMember] 309[DataMember] 331[DataMember] 350[DataMember] 387[DataMember] 394[DataMember] 401[DataMember] 408[DataMember] 415[DataMember] 422[DataMember] 429[DataMember] 436[DataMember] 443[DataMember] 450[DataMember] 457[DataMember] 464[DataMember] 471[DataMember] 478[DataMember] 485[DataMember] 492[DataMember] 499[DataMember] 506[DataMember] 513[DataMember] 603[DataMember] 610[DataMember] 617[DataMember] 624[DataMember] 658[DataMember] 1513[DataMember] 1524[DataMember] 1526[DataMember] 1533[DataMember] 1541[DataMember] 1543[DataMember] 1558[DataMember] 1567[DataMember]
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\CollectionDataContract.cs (2)
34[DataMember(IsRequired = true)] 37[DataMember(IsRequired = true)]
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (2)
24[DataMember(Name = "DateTime", IsRequired = true)] 31[DataMember(Name = "OffsetMinutes", IsRequired = true)]
System\Runtime\Serialization\MemoryStreamAdapter.cs (10)
14[DataMember(Name = "__identity", Order = 0)] 25[DataMember(Name = "_buffer", Order = 1)] 28[DataMember(Name = "_capacity", Order = 2)] 31[DataMember(Name = "_expandable", Order = 3)] 34[DataMember(Name = "_exposable", Order = 4)] 37[DataMember(Name = "_isOpen", Order = 5)] 40[DataMember(Name = "_length", Order = 6)] 43[DataMember(Name = "_origin", Order = 7)] 46[DataMember(Name = "_position", Order = 8)] 49[DataMember(Name = "_writable", Order = 9)]
System.ServiceModel.Primitives.Tests (2)
TestTypes.4.4.0.cs (2)
142[DataMember] 144[DataMember]
UnitTests.Common (35)
TestTypes.cs (35)
41[DataMember(EmitDefaultValue = false, Order = 1)] 43[DataMember(EmitDefaultValue = false, Order = 0)] 45[DataMember(EmitDefaultValue = false, Order = 3)] 47[DataMember(EmitDefaultValue = false, Order = 2)] 84[DataMember(EmitDefaultValue = false, Order = 0)] 126[DataMember] 129[DataMember] 142[DataMember] 145[DataMember(Name = "Result")] 365[DataMember] 372[DataMember] 394[DataMember] 431[DataMember] 438[DataMember] 445[DataMember] 452[DataMember] 459[DataMember] 466[DataMember] 473[DataMember] 480[DataMember] 487[DataMember] 494[DataMember] 501[DataMember] 508[DataMember] 515[DataMember] 522[DataMember] 529[DataMember] 536[DataMember] 543[DataMember] 550[DataMember] 557[DataMember] 647[DataMember] 654[DataMember] 661[DataMember] 668[DataMember]