263 instantiations of DataContract
Contract.Service.IntegrationTests (5)
ServiceKnownTypeTests.4.0.0.cs (5)
172[DataContract()] 181[DataContract()] 186[DataContract()] 191[DataContract()] 196[DataContract()]
FormatterWebSite (2)
Models\Person.cs (1)
8[DataContract]
Models\User.cs (1)
9[DataContract]
illink (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1251[DataContract]
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1426[DataContract]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DataMemberRequiredBindingMetadataProviderTest.cs (2)
145[DataContract] 152[DataContract]
ModelMetadataProviderTest.cs (2)
897[DataContract] 904[DataContract]
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (10)
XmlDataContractSerializerInputFormatterTest.cs (4)
18[DataContract(Name = "DummyClass", Namespace = "")] 25[DataContract(Name = "SomeDummyClass", Namespace = "")] 32[DataContract(Name = "TestLevelOne", Namespace = "")] 42[DataContract(Name = "TestLevelTwo", Namespace = "")]
XmlDataContractSerializerOutputFormatterTest.cs (6)
22[DataContract(Name = "DummyClass", Namespace = "")] 29[DataContract(Name = "SomeDummyClass", Namespace = "")] 36[DataContract(Name = "TestLevelOne", Namespace = "")] 45[DataContract(Name = "TestLevelTwo", Namespace = "")] 54[DataContract(Name = "Child", Namespace = "")] 63[DataContract(Name = "Parent", Namespace = "")]
Microsoft.Build.Tasks.Core (2)
AssemblyFolderCollection.cs (1)
14[DataContract(Name = "AssemblyFoldersConfig", Namespace = "")]
AssemblyFolderItem.cs (1)
11[DataContract(Name = "AssemblyFolder", Namespace = "")]
Microsoft.Build.Utilities.Core (2)
AssemblyFolderCollection.cs (1)
14[DataContract(Name = "AssemblyFoldersConfig", Namespace = "")]
AssemblyFolderItem.cs (1)
11[DataContract(Name = "AssemblyFolder", Namespace = "")]
Microsoft.CodeAnalysis (6)
Diagnostic\FileLinePositionSpan.cs (1)
16[DataContract]
DiagnosticAnalyzer\AnalyzerTelemetry.cs (1)
13[DataContract]
Text\LinePosition.cs (1)
14[DataContract]
Text\LinePositionSpan.cs (1)
14[DataContract]
Text\TextChange.cs (1)
16[DataContract]
Text\TextSpan.cs (1)
15[DataContract]
Microsoft.CodeAnalysis.CodeStyle (20)
src\Workspaces\Core\Portable\Formatting\VisualBasic\VisualBasicSyntaxFormattingOptions.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\AddImport\AddImportPlacementOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeAndImportGenerationOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
74[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (1)
15[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (1)
17[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AutoFormattingOptions.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\IndentationOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
23[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
25[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (3)
26[DataContract] 320[DataContract] 453[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\OrganizeImports\OrganizeImportsOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\VisualBasic\VisualBasicSimplifierOptions.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
111[DataContract]
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\ImplementType\ImplementTypeOptions.cs (1)
14[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CleanCodeGenerationOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
14[DataContract]
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
14[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (1)
15[DataContract]
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
14[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (1)
15[DataContract]
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\DocumentHighlighting\IEmbeddedLanguageDocumentHighlighter.cs (1)
32[DataContract]
Microsoft.CodeAnalysis.ExternalAccess.Razor (2)
Remote\RazorPinnedSolutionInfoWrapper.cs (1)
12[DataContract]
Remote\RazorRemoteServiceCallbackIdWrapper.cs (1)
11[DataContract]
Microsoft.CodeAnalysis.Features (72)
AddImport\AddImportFixData.cs (1)
15[DataContract]
AddImport\AddImportOptions.cs (1)
15[DataContract]
BraceMatching\BraceMatchingOptions.cs (1)
10[DataContract]
BraceMatching\IBraceMatchingService.cs (1)
17[DataContract]
CodeLens\ReferenceCount.cs (1)
14[DataContract]
CodeLens\ReferenceLocationDescriptor.cs (1)
15[DataContract]
CodeLens\ReferenceMethodDescriptor.cs (1)
23[DataContract]
Common\TaggedText.cs (1)
20[DataContract]
Completion\Providers\ImportCompletionProvider\SerializableImportCompletionItem.cs (1)
9[DataContract]
Completion\Providers\ImportCompletionProvider\SerializableUnimportedExtensionMethods.cs (1)
11[DataContract]
Contracts\Client\ISolutionSnapshotProvider.cs (1)
11[DataContract]
Contracts\EditAndContinue\ManagedActiveStatementDebugInfo.cs (1)
18[DataContract]
Contracts\EditAndContinue\ManagedActiveStatementUpdate.cs (1)
18[DataContract]
Contracts\EditAndContinue\ManagedExceptionRegionUpdate.cs (1)
17[DataContract]
Contracts\EditAndContinue\ManagedHotReloadAvailability.cs (1)
12[DataContract]
Contracts\EditAndContinue\ManagedHotReloadDiagnostic.cs (1)
20[DataContract]
Contracts\EditAndContinue\ManagedHotReloadUpdate.cs (1)
11[DataContract]
Contracts\EditAndContinue\ManagedHotReloadUpdates.cs (1)
10[DataContract]
Contracts\EditAndContinue\ManagedInstructionId.cs (1)
20[DataContract]
Contracts\EditAndContinue\ManagedMethodId.cs (1)
20[DataContract]
Contracts\EditAndContinue\ManagedModuleMethodId.cs (1)
16[DataContract]
Contracts\EditAndContinue\SequencePointUpdates.cs (1)
18[DataContract]
Contracts\EditAndContinue\SourceLineUpdate.cs (1)
14[DataContract]
Contracts\EditAndContinue\SourceSpan.cs (1)
15[DataContract]
ConvertTupleToStruct\IRemoteConvertTupleToStructCodeRefactoringService.cs (1)
24[DataContract]
DesignerAttribute\DesignerAttributeData.cs (1)
12[DataContract]
Diagnostics\DiagnosticArguments.cs (1)
15[DataContract]
Diagnostics\IRemoteDiagnosticAnalyzerService.cs (1)
22[DataContract]
DocumentationComments\DocumentationCommentOptions.cs (1)
10[DataContract]
DocumentHighlighting\HighlightingOptions.cs (1)
9[DataContract]
DocumentHighlighting\IDocumentHighlightsService.cs (1)
22[DataContract]
DocumentHighlighting\IRemoteDocumentHighlightsService.cs (1)
19[DataContract]
DocumentIdSpan.cs (1)
17[DataContract]
EditAndContinue\ActiveStatementId.cs (1)
9[DataContract]
EditAndContinue\ActiveStatementLineSpan.cs (1)
15[DataContract]
EditAndContinue\ActiveStatementSpan.cs (1)
21[DataContract]
EditAndContinue\DebuggingSessionId.cs (1)
9[DataContract]
EditAndContinue\EmitSolutionUpdateResults.cs (1)
20[DataContract]
EditAndContinue\ModuleUpdate.cs (1)
11[DataContract]
EditAndContinue\RudeEditDiagnostic.cs (1)
13[DataContract]
EditAndContinue\SourceFileSpan.cs (1)
22[DataContract]
ExternalAccess\UnitTesting\API\UnitTestingInvocationReasons.cs (1)
12[DataContract]
ExternalAccess\UnitTesting\API\UnitTestingSearchQuery.cs (1)
9[DataContract]
ExternalAccess\UnitTesting\IRemoteUnitTestingSearchService.cs (1)
21[DataContract]
FindUsages\AssemblyLocation.cs (1)
13[DataContract]
FindUsages\DefinitionItem.DetachedDefinitionItem.cs (1)
18[DataContract]
FindUsages\FindUsagesOptions.cs (1)
10[DataContract]
FindUsages\IRemoteFindUsagesService.cs (4)
162[DataContract] 183[DataContract] 251[DataContract] 275[DataContract]
FullyQualify\IFullyQualifyService.cs (2)
14[DataContract] 24[DataContract]
InheritanceMargin\InheritanceMarginItem.cs (1)
13[DataContract]
InheritanceMargin\InheritanceTargetItem.cs (1)
13[DataContract]
InlineHints\InlineHintsOptions.cs (1)
10[DataContract]
InlineHints\InlineParameterHintsOptions.cs (1)
9[DataContract]
InlineHints\InlineTypeHintsOptions.cs (1)
9[DataContract]
LanguageServices\SymbolDisplayService\SymbolDescriptionOptions.cs (1)
11[DataContract]
MetadataAsSource\MetadataAsSourceOptions.cs (1)
12[DataContract]
NavigateTo\RoslynNavigateToItem.cs (1)
26[DataContract]
NavigationBar\IRemoteNavigationBarItemService.cs (1)
20[DataContract]
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
54[DataContract]
QuickInfo\QuickInfoOptions.cs (1)
9[DataContract]
SemanticSearch\ExecuteQueryResult.cs (1)
21[DataContract]
SemanticSearch\ISemanticSearchResultsObserver.cs (2)
23[DataContract] 31[DataContract]
src\Analyzers\Core\CodeFixes\ImplementType\ImplementTypeOptions.cs (1)
14[DataContract]
Structure\BlockStructureOptions.cs (1)
9[DataContract]
SymbolSearch\SymbolSearchOptions.cs (1)
13[DataContract]
UnusedReferences\ReferenceInfo.cs (1)
11[DataContract]
ValueTracking\SerializableValueTrackedItem.cs (1)
14[DataContract]
Microsoft.CodeAnalysis.LanguageServer (1)
BrokeredServices\Services\Definitions\ProjectInitializationCompleteState.cs (1)
11[DataContract]
Microsoft.CodeAnalysis.Remote.Workspaces (7)
ExternalAccess\Pythia\Api\PythiaPinnedSolutionInfoWrapper.cs (1)
9[DataContract]
ExternalAccess\Pythia\Api\PythiaRemoteServiceCallbackIdWrapper.cs (1)
10[DataContract]
ExternalAccess\UnitTesting\Api\UnitTestingPinnedSolutionInfoWrapper.cs (1)
9[DataContract]
ExternalAccess\UnitTesting\Api\UnitTestingRemoteServiceCallbackIdWrapper.cs (1)
10[DataContract]
ProjectSystem\MetadataReferenceInfo.cs (1)
10[DataContract]
ProjectSystem\SourceFileInfo.cs (1)
10[DataContract]
ProjectSystem\WorkspaceProjectCreationInfo.cs (1)
10[DataContract]
Microsoft.CodeAnalysis.Workspaces (72)
Classification\ClassificationOptions.cs (1)
9[DataContract]
Classification\IRemoteSemanticClassificationService.cs (1)
63[DataContract]
Diagnostics\DiagnosticData.cs (1)
19[DataContract]
Diagnostics\DiagnosticDataLocation.cs (1)
12[DataContract]
Diagnostics\SerializableDiagnosticAnalysisResultMap.cs (2)
11[DataContract] 27[DataContract]
ExtractMethod\ExtractMethodOptions.cs (1)
21[DataContract]
FindSymbols\FindReferences\FindReferencesSearchOptions.cs (1)
60[DataContract]
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (1)
39[DataContract]
Formatting\VisualBasic\VisualBasicSyntaxFormattingOptions.cs (1)
12[DataContract]
Log\PiiValue.cs (1)
12[DataContract]
Packaging\IPackageInstallerService.cs (1)
46[DataContract]
PatternMatching\PatternMatch.cs (1)
12[DataContract]
Recommendations\RecommendationOptions.cs (1)
29[DataContract]
Remote\RemoteArguments.cs (3)
23[DataContract] 128[DataContract] 200[DataContract]
Remote\RemoteServiceCallbackId.cs (1)
9[DataContract]
Rename\ConflictEngine\ComplexifiedSpan.cs (1)
11[DataContract]
Rename\ConflictEngine\RelatedLocation.cs (1)
21[DataContract]
Rename\IRemoteRenamerService.cs (4)
52[DataContract] 146[DataContract] 176[DataContract] 208[DataContract]
Rename\RenameOptions.cs (2)
32[DataContract] 44[DataContract]
SolutionCrawler\InvocationReasons.cs (1)
12[DataContract]
SourceGeneration\IRemoteSourceGenerationService.cs (2)
16[DataContract] 79[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\AddImport\AddImportPlacementOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeAndImportGenerationOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
74[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (1)
15[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (1)
17[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AutoFormattingOptions.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\DocumentFormattingOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\IndentationOptions.cs (1)
10[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
23[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
25[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (3)
26[DataContract] 320[DataContract] 453[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\OrganizeImports\OrganizeImportsOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\VisualBasic\VisualBasicSimplifierOptions.cs (1)
12[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
111[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CleanCodeGenerationOptions.cs (1)
13[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
11[DataContract]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
14[DataContract]
SymbolSearch\ISymbolSearchService.cs (6)
21[DataContract] 33[DataContract] 79[DataContract] 89[DataContract] 107[DataContract] 137[DataContract]
TaskList\TaskListItem.cs (1)
12[DataContract]
TaskList\TaskListItemDescriptor.cs (1)
22[DataContract]
TaskList\TaskListOptions.cs (1)
10[DataContract]
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
18[DataContract]
Workspace\Host\PersistentStorage\ProjectKey.cs (1)
16[DataContract]
Workspace\Host\PersistentStorage\SolutionKey.cs (1)
16[DataContract]
Workspace\IWorkspaceConfigurationService.cs (1)
34[DataContract]
Workspace\Solution\AssetPath.cs (1)
15[DataContract]
Workspace\Solution\Checksum.cs (1)
21[DataContract, StructLayout(LayoutKind.Explicit, Size = HashSize)]
Workspace\Solution\DocumentId.cs (1)
17[DataContract]
Workspace\Solution\ProjectId.cs (1)
24[DataContract]
Workspace\Solution\SolutionId.cs (1)
19[DataContract]
Workspace\Solution\SourceGeneratedDocumentIdentity.cs (1)
18[DataContract]
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
27[DataContract]
Workspace\Solution\SourceGeneratorIdentity.cs (1)
23[DataContract]
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\DiagnosticLogItem.cs (1)
15[DataContract]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\DocumentFileInfo.cs (1)
13[DataContract]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\FileGlobs.cs (1)
10[DataContract]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\PackageReference.cs (1)
9[DataContract]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileInfo.cs (1)
16[DataContract]
src\Workspaces\Core\MSBuild.BuildHost\Rpc\Contracts\ProjectFileReference.cs (1)
14[DataContract]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
Rpc\Contracts\DiagnosticLogItem.cs (1)
15[DataContract]
Rpc\Contracts\DocumentFileInfo.cs (1)
13[DataContract]
Rpc\Contracts\FileGlobs.cs (1)
10[DataContract]
Rpc\Contracts\PackageReference.cs (1)
9[DataContract]
Rpc\Contracts\ProjectFileInfo.cs (1)
16[DataContract]
Rpc\Contracts\ProjectFileReference.cs (1)
14[DataContract]
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
125[DataContract]
ScenarioTests.Common.Tests (15)
ScenarioTestTypes.cs (15)
43[DataContract(Namespace = "http://app.my.com/MyFeedback")] 86[DataContract(Namespace = "http://app.my.com/MyFeedback")] 102[DataContract(Name = "ResultOf{0}", Namespace = "http://www.contoso.com/wcfnamespace")] 291[DataContract] 296[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 317[System.Runtime.Serialization.DataContract(Name = "FaultDetail", Namespace = "http://www.contoso.com/wcfnamespace")] 340[DataContract(Name = "FaultDetail2", Namespace = "http://www.contoso.com/wcfnamespace")] 358[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 590[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 653[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 1499[DataContract(Name = "KnownTypeA", Namespace = "http://www.contoso.com/wcfnamespace")] 1521[DataContract] 1530[DataContract] 1538[DataContract] 1547[DataContract(Name = "FaultDetailWithXmlSerializerFormatAttribute", Namespace = "http://www.contoso.com/wcfnamespace")]
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\CollectionDataContract.cs (1)
25[DataContract(Namespace = "http://schemas.microsoft.com/2003/10/Serialization/Arrays")]
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
12[DataContract(Name = "DateTimeOffset", Namespace = "http://schemas.datacontract.org/2004/07/System")]
System\Runtime\Serialization\MemoryStreamAdapter.cs (2)
9[DataContract(Name = nameof(MarshalByRefObject), Namespace = Globals.DataContractXsdBaseNamespace + "System")] 22[DataContract(Name = "MemoryStream", Namespace = Globals.DataContractXsdBaseNamespace + "System.IO")]
System.ServiceModel.Primitives.Tests (1)
TestTypes.4.4.0.cs (1)
139[DataContract]
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\CategoriesDocumentFormatter.cs (1)
9[DataContract]
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (1)
10[DataContract]
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
14[DataContract]
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
9[DataContract]
UnitTests.Common (7)
TestTypes.cs (7)
38[DataContract(Namespace = "http://app.my.com/MyFeedback")] 81[DataContract(Namespace = "http://app.my.com/MyFeedback")] 98[DataContract(Name = "ResultOf{0}", Namespace = "http://www.contoso.com/wcfnamespace")] 359[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 380[System.Runtime.Serialization.DataContract(Name = "FaultDetail", Namespace = "http://www.contoso.com/wcfnamespace")] 402[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")] 634[DataContract(Namespace = "http://www.contoso.com/wcfnamespace")]
21 references to DataContract
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
ModelBinding\DataMemberRequiredBindingMetadataProvider.cs (1)
43var isDataContract = containerType!.IsDefined(typeof(DataContractAttribute));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
250=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!);
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Serialization\MessagePackFormatters.cs (1)
23/// Roslyn internal types should always be annotated with <see cref="DataContractAttribute"/> and have the right constructor.
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
250=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!);
Workspace\Solution\ProjectId.cs (1)
18/// This supports the general message-pack <see cref="DataContractAttribute"/> of being serializable. However, in
netstandard (1)
netstandard.cs (1)
1749[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.DataContractAttribute))]
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\ClassDataContract.cs (1)
747bool hasDataContractAttribute = TryGetDCAttribute(type, out DataContractAttribute? dataContractAttribute);
System\Runtime\Serialization\DataContract.cs (4)
1243if (TryGetDCAttribute(type, out DataContractAttribute? dataContractAttribute)) 1260private static XmlQualifiedName GetDCTypeXmlName(Type type, DataContractAttribute dataContractAttribute) 1338internal static bool TryGetDCAttribute(Type type, [NotNullWhen(true)] out DataContractAttribute? dataContractAttribute) 1349dataContractAttribute = (DataContractAttribute)dataContractAttributes[0];
System\Runtime\Serialization\EnumDataContract.cs (1)
144if (TryGetDCAttribute(type, out DataContractAttribute? dataContractAttribute))
System\Runtime\Serialization\Globals.cs (1)
142s_typeOfDataContractAttribute ??= typeof(DataContractAttribute);
System.Runtime.Serialization (1)
System.Runtime.Serialization.cs (1)
6[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.DataContractAttribute))]
System.Runtime.Serialization.Primitives (2)
System\Runtime\Serialization\ISerializationSurrogateProvider.cs (2)
29/// it must be marked with the <see cref="DataContractAttribute"/> attribute or other mechanisms that the serializer recognizes.</returns> 38/// it must be marked with the <see cref="DataContractAttribute"/> attribute or other mechanisms that the serializer recognizes.</returns>
System.Runtime.Serialization.Schema (5)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
798CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(GetClrTypeFullName(typeof(DataContractAttribute))); 804AddImportStatement(typeof(DataContractAttribute).Namespace, contractCodeDomInfo.CodeNamespace); 1081CodeAttributeDeclaration dataContractAttribute = new CodeAttributeDeclaration(GetClrTypeFullName(typeof(DataContractAttribute))); 1085AddImportStatement(typeof(DataContractAttribute).Namespace, contractCodeDomInfo.CodeNamespace);
System\Runtime\Serialization\Schema\ImportOptions.cs (1)
48/// Gets or sets a value that specifies whether generated data contract classes will be marked with the <see cref="SerializableAttribute"/> attribute in addition to the <see cref="DataContractAttribute"/> attribute.