void IDataContractGenerationExtension.GenerateContract(CodeCompileUnit compileUnit) { foreach (var typeDeclaration in compileUnit.Types()) { RemoveIExtensibleDataObjectImplementation(typeDeclaration); } }
private static void PascalCaseTypeMembers(CodeCompileUnit compileUnit) { foreach (var typeDeclaration in compileUnit.Types()) { if (typeDeclaration.IsEnum) { continue; } PascalCaseTypeMembers(typeDeclaration); } }