c# Programming Glossary: obsolete
.NET HashTable Vs Dictionary - Can the Dictionary be as fast? http://stackoverflow.com/questions/1089132/net-hashtable-vs-dictionary-can-the-dictionary-be-as-fast
How do you check for permissions to write to a directory or file? http://stackoverflow.com/questions/130617/how-do-you-check-for-permissions-to-write-to-a-directory-or-file Modified the code based on this answer to get rid of obsolete methods. You can use the Security namespace to check this public..
Is there a way to indefinitely pause a thread? http://stackoverflow.com/questions/142826/is-there-a-way-to-indefinitely-pause-a-thread know there is a way to do this but it has been flagged as obsolete by the .NET framework. Is there any good general purpose way..
Hiding inherited members http://stackoverflow.com/questions/1528/hiding-inherited-members folks from using the overridden sp methods mark them as obsolete Obsolete These are not supported in this class. true public..
Custom Compiler Warnings http://stackoverflow.com/questions/154109/custom-compiler-warnings warnings telling you that the object method property is obsolete and somthing else should be used. I'm currently working on a..
C# - Set Custom Path to Referenced DLL's? http://stackoverflow.com/questions/1892492/c-sharp-set-custom-path-to-referenced-dlls Edit This article says AppendPrivatePath is considered obsolete but also gives a workaround. Edit 2 Looks like the easiest and..
“Treat all warnings as errors except…” in Visual Studio http://stackoverflow.com/questions/267168/treat-all-warnings-as-errors-except-in-visual-studio C# 3.5 warning numbers that remain as warnings 612 X is obsolete 1030 #warning This is a warning 1701 1702 Warnings that are.. a new method signature. But if an entire class is obsolete and you have usage of it scattered through hundreds of thousands..
Can Unity be made to not throw SynchronizationLockException all the time? http://stackoverflow.com/questions/2873767/can-unity-be-made-to-not-throw-synchronizationlockexception-all-the-time #pragma warning disable 612 618 Marked as obsolete but Unity still uses it internally. container.AddExtension new..
Error in WCF client consuming Axis 2 web service with WS-Security UsernameToken PasswordDigest authentication scheme http://stackoverflow.com/questions/3102693/error-in-wcf-client-consuming-axis-2-web-service-with-ws-security-usernametoken make it easier but I would prefer not to revert to an obsolete technology. Similar issues unsolved include this this and this..
How to apply an XSLT Stylesheet in C# http://stackoverflow.com/questions/34093/how-to-apply-an-xslt-stylesheet-in-c-sharp myWriter Edit But my trusty compiler says XslTransform is obsolete Use XslCompiledTransform instead XPathDocument myXPathDoc new..
Why isn't ArrayList marked [Obsolete]? http://stackoverflow.com/questions/5063156/why-isnt-arraylist-marked-obsolete of ArrayList personally I really want to say It's obsolete I have no reason to use this class after 2.0 . But since it's.. special of ArrayList . c# .net generics arraylist obsolete share improve this question I think it should be considered.. question I think it should be considered effectively obsolete for new code but there's no compelling reason to mark it obsolete..
How can I evaluate a C# expression dynamically? http://stackoverflow.com/questions/53844/how-can-i-evaluate-a-c-sharp-expression-dynamically Biri s link I got this snippet modified to remove obsolete method ICodeCompiler.CreateCompiler private object Eval string..
C# Scaling UserControl content to match users Dpi/Font Size http://stackoverflow.com/questions/572820/c-sharp-scaling-usercontrol-content-to-match-users-dpi-font-size the AutoScaleMode back to None. The AutoScale property is obsolete and is there only for backwards compatibility see the Important..
Is there a tool for finding unreferenced functions (dead, obsolete code) in a C# app? http://stackoverflow.com/questions/65585/is-there-a-tool-for-finding-unreferenced-functions-dead-obsolete-code-in-a-c there a tool for finding unreferenced functions dead obsolete code in a C# app I want to delete foo if foo isn't called from..
Problems with DeploymentItem attribute http://stackoverflow.com/questions/883270/problems-with-deploymentitem-attribute maintaining an old system written in C#.net removing some obsolete features and doing some refactoring. Thanks god the previous..
How to resolve a .lnk in c# http://stackoverflow.com/questions/139010/how-to-resolve-a-lnk-in-c-sharp duration in milliseconds. summary SLR_NO_UI 0x1 summary Obsolete and no longer used summary SLR_ANY_MATCH 0x2 summary If the..
Hiding inherited members http://stackoverflow.com/questions/1528/hiding-inherited-members from using the overridden sp methods mark them as obsolete Obsolete These are not supported in this class. true public override..
Custom Compiler Warnings http://stackoverflow.com/questions/154109/custom-compiler-warnings Compiler Warnings When using the ObsoleteAtribute in .Net it gives you compiler warnings telling you that.. improve this question I don't believe it's possible. ObsoleteAttribute is treated specially by the compiler and is defined.. and is defined in the C# standard. Why on earth is ObsoleteAttribute not acceptable It seems to me like this is precisely..
What tools and techniques do you use to find dead code in .NET? http://stackoverflow.com/questions/162641/what-tools-and-techniques-do-you-use-to-find-dead-code-in-net to C# yet. In the past I've decorated methods with the Obsolete attribute passing true so the compiler will issue an error as..
“Treat all warnings as errors except…” in Visual Studio http://stackoverflow.com/questions/267168/treat-all-warnings-as-errors-except-in-visual-studio to fix them and that keeps the code base cleaner. The Obsolete warning is very different from this. Sometimes fixing it means.. PropertyGroup Note 612 and 618 are both warnings about Obsolete don't know the difference but the project i'm working on is..
Why isn't ArrayList marked [Obsolete]? http://stackoverflow.com/questions/5063156/why-isnt-arraylist-marked-obsolete isn't ArrayList marked Obsolete After a deep thought and looking into the implementation of.. to use this class after 2.0 . But since it's not marked as Obsolete is there any usage that I didn't know better than using a generic..
Why isn't my public property serialized by the XmlSerializer? http://stackoverflow.com/questions/575432/why-isnt-my-public-property-serialized-by-the-xmlserializer that returned false it is marked XmlIgnore it is marked Obsolete Any of these will cause it not to serialize share improve this..
Directshow filter access threading http://stackoverflow.com/questions/6296642/directshow-filter-access-threading name method param param name args param returns returns Obsolete This method is not supported true public IAsyncResult BeginInvoke.. name method param param name args param returns returns Obsolete This method is not supported true public object EndInvoke IAsyncResult..
Attributes in C# http://stackoverflow.com/questions/726029/attributes-in-c-sharp if the C# compiler discovers an item attributed with the Obsolete attribute it will display a compiler warning in the Visual Studio.. is not used when communicating with COM based software. Obsolete Marks a deprecated type or member. If other programmers attempt..
C# - Selectively suppress custom Obsolete warnings http://stackoverflow.com/questions/968293/c-sharp-selectively-suppress-custom-obsolete-warnings Selectively suppress custom Obsolete warnings I'm using the Obsolete attribute as just suggested.. suppress custom Obsolete warnings I'm using the Obsolete attribute as just suggested by fellow programmers to show a.. where the use is justified Thank you EDIT This is for Obsolete Some message as I need to include some details about the warning...
|