Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/src/ProtocolBuffers/GeneratedMessage.cs

    r3857 r4068  
    3434
    3535using System;
     36using System.Collections;
    3637using System.Collections.Generic;
    3738using Google.ProtocolBuffers.Collections;
    3839using Google.ProtocolBuffers.Descriptors;
    3940using Google.ProtocolBuffers.FieldAccess;
    40 using System.Collections;
    4141
    4242namespace Google.ProtocolBuffers {
    43  
     43
    4444  /// <summary>
    4545  /// All generated protocol message classes extend this class. It implements
     
    4848  /// </summary>
    4949  public abstract class GeneratedMessage<TMessage, TBuilder> : AbstractMessage<TMessage, TBuilder>
    50       where TMessage : GeneratedMessage<TMessage, TBuilder>
    51       where TBuilder : GeneratedBuilder<TMessage, TBuilder> {
     50    where TMessage : GeneratedMessage<TMessage, TBuilder>
     51    where TBuilder : GeneratedBuilder<TMessage, TBuilder> {
    5252
    5353    private UnknownFieldSet unknownFields = UnknownFieldSet.DefaultInstance;
     
    100100              // We know it's an IList<T>, but not the exact type - so
    101101              // IEnumerable is the best we can do. (C# generics aren't covariant yet.)
    102               foreach (IMessage element in (IEnumerable) this[field]) {
     102              foreach (IMessage element in (IEnumerable)this[field]) {
    103103                if (!element.IsInitialized) {
    104104                  return false;
     
    106106              }
    107107            } else {
    108               if (HasField(field) && !((IMessage) this[field]).IsInitialized) {
     108              if (HasField(field) && !((IMessage)this[field]).IsInitialized) {
    109109                return false;
    110110              }
     
    148148    internal void SetUnknownFields(UnknownFieldSet fieldSet) {
    149149      unknownFields = fieldSet;
    150     }   
     150    }
    151151  }
    152152}
Note: See TracChangeset for help on using the changeset viewer.