4 [AttributeUsage(
AttributeTargets.Assembly, AllowMultiple =
false, Inherited =
false)]
5 [__DynamicallyInvokable]
8 private string _frameworkName;
10 private string _frameworkDisplayName;
14 [__DynamicallyInvokable]
17 [__DynamicallyInvokable]
20 return _frameworkName;
26 [__DynamicallyInvokable]
29 [__DynamicallyInvokable]
32 return _frameworkDisplayName;
34 [__DynamicallyInvokable]
37 _frameworkDisplayName = value;
45 [__DynamicallyInvokable]
48 if (frameworkName ==
null)
52 _frameworkName = frameworkName;
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
string FrameworkDisplayName
Gets the display name of the .NET Framework version against which an assembly was built.
Represents the base class for custom attributes.
TargetFrameworkAttribute(string frameworkName)
Initializes an instance of the T:System.Runtime.Versioning.TargetFrameworkAttribute class by specifyi...
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Identifies the version of the .NET Framework that a particular assembly was compiled against.
Represents the name of a version of the .NET Framework.