Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeLinePragma.cs / 1 / CodeLinePragma.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
///
/// Represents line number information for an external file.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeLinePragma {
private string fileName;
private int lineNumber;
public CodeLinePragma() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeLinePragma(string fileName, int lineNumber) {
FileName = fileName;
LineNumber = lineNumber;
}
///
///
/// Gets or sets
/// the filename of
/// the associated file.
///
///
public string FileName {
get {
return (fileName == null) ? string.Empty : fileName;
}
set {
fileName = value;
}
}
///
///
/// Gets or sets the line number of the file for
/// the current pragma.
///
///
public int LineNumber {
get {
return lineNumber;
}
set {
lineNumber = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.CodeDom {
using System.Diagnostics;
using System;
using Microsoft.Win32;
using System.Collections;
using System.Runtime.InteropServices;
///
///
/// Represents line number information for an external file.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeLinePragma {
private string fileName;
private int lineNumber;
public CodeLinePragma() {
}
///
///
/// Initializes a new instance of .
///
///
public CodeLinePragma(string fileName, int lineNumber) {
FileName = fileName;
LineNumber = lineNumber;
}
///
///
/// Gets or sets
/// the filename of
/// the associated file.
///
///
public string FileName {
get {
return (fileName == null) ? string.Empty : fileName;
}
set {
fileName = value;
}
}
///
///
/// Gets or sets the line number of the file for
/// the current pragma.
///
///
public int LineNumber {
get {
return lineNumber;
}
set {
lineNumber = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathConvert.cs
- WebControl.cs
- QueryStringParameter.cs
- SignatureDescription.cs
- RenderingEventArgs.cs
- EdmFunction.cs
- DrawingAttributeSerializer.cs
- SeekStoryboard.cs
- BufferCache.cs
- TrackingLocationCollection.cs
- ControlPaint.cs
- EmptyCollection.cs
- BezierSegment.cs
- ObjectAnimationUsingKeyFrames.cs
- HatchBrush.cs
- PlaceHolder.cs
- CrossContextChannel.cs
- Transform.cs
- WorkflowRuntimeServiceElement.cs
- ChannelServices.cs
- ArraySegment.cs
- OutputCacheProfileCollection.cs
- PngBitmapDecoder.cs
- AccessDataSourceView.cs
- DocumentXmlWriter.cs
- SortedList.cs
- MetadataCache.cs
- RecipientInfo.cs
- BitmapEncoder.cs
- SmiEventSink_Default.cs
- DataRecordObjectView.cs
- AnimationTimeline.cs
- FixedTextSelectionProcessor.cs
- _ListenerAsyncResult.cs
- StreamUpgradeProvider.cs
- FixUp.cs
- ConfigurationConverterBase.cs
- WrappingXamlSchemaContext.cs
- OdbcConnectionOpen.cs
- NegotiationTokenProvider.cs
- FontUnitConverter.cs
- BamlLocalizableResourceKey.cs
- SpoolingTask.cs
- ExecutedRoutedEventArgs.cs
- TraceSource.cs
- TextClipboardData.cs
- GridViewCommandEventArgs.cs
- Decoder.cs
- CollectionType.cs
- TriggerBase.cs
- MsmqIntegrationProcessProtocolHandler.cs
- OrderPreservingMergeHelper.cs
- BrowserDefinition.cs
- SimpleApplicationHost.cs
- ConvertEvent.cs
- ObjectSet.cs
- DataControlLinkButton.cs
- _FtpDataStream.cs
- AnchorEditor.cs
- CalculatedColumn.cs
- DataComponentGenerator.cs
- MemoryMappedFileSecurity.cs
- UserUseLicenseDictionaryLoader.cs
- DbReferenceCollection.cs
- DataRelationCollection.cs
- ScriptReferenceEventArgs.cs
- ButtonBaseAdapter.cs
- SelectionManager.cs
- WebPartDescription.cs
- PageThemeCodeDomTreeGenerator.cs
- DetailsViewUpdatedEventArgs.cs
- SizeKeyFrameCollection.cs
- ConnectionManagementElementCollection.cs
- FaultException.cs
- PartialCachingAttribute.cs
- Screen.cs
- InheritanceService.cs
- AssemblyCollection.cs
- DesignTimeParseData.cs
- AsymmetricKeyExchangeFormatter.cs
- Message.cs
- SharingService.cs
- ActivationServices.cs
- Descriptor.cs
- Geometry.cs
- TransportBindingElement.cs
- HostingEnvironmentException.cs
- LineVisual.cs
- XmlTextAttribute.cs
- WindowPatternIdentifiers.cs
- SimplePropertyEntry.cs
- InplaceBitmapMetadataWriter.cs
- ArrangedElementCollection.cs
- WorkflowInlining.cs
- HttpCacheVary.cs
- SimpleWorkerRequest.cs
- LineVisual.cs
- PTUtility.cs
- CodeTypeDeclaration.cs
- EndOfStreamException.cs